How to create separate comment section for all the virtual pages?
Is this even possible? Do I have to create separate table to store the comments and do all the work myself or is there any alternative for that?
If I have to create separate table, is there a way to use default wordpress functions in any way?
I haven't probably grasped the concept of custom post type yet or don't understand their power properly. Let me give you an example.
Say I have 2 database table.
wp_product. Each product will have a product_category. There are few products_category and thousands of products.
It's not possible to create all the pages manually. So, I have rewritten the URL and all the request is handled by a single page
product. When someone goes to
product/product-category/product-name, the page is created comparing the values of
query_var and making the content and title from the plugin.
I don't understand how custom post type can be used in this case. Any direction would be great help.