• Is there any simple way to add wordpress default comments system to category pages. I have a new price compare website that has custom categories and products urls. By default comments are enabled on single product url but I want to show the same comment section on the categories pages too. Have a look at this page:

    http://www.indiapricehub.com/apple/iphone-6s-price-in-india/

    This is a custom category url and I want to show the comment section at the end of the description.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m a little confused by your question…..the comment ‘system’ is a combination of the comment form (to add new comments) and displaying any that have already been left and approved.

    SO do you mean that you want to have a comments form (for leaving comments) with each product on your category page, OR that you want to display JUST the comments that have already been left for each product….?

    If it’s the first, then no there is not a simple way to add the comments form on a ‘category’ page. I could give you a long explanation of why, but the short answer is “no there is no simple way” – it would require quite a bit of custom coding.

    If you’re talking about leaving the form where it is (on individual product pages where people can leave comments) and just *displaying those comments* on the category page, then yes you can do that.

    You can learn how to add that here:
    https://codex.wordpress.org/Function_Reference/get_comments

    Thread Starter nakulper

    (@nakulper)

    Actually I want to add Comments Form on a Category page. But your other suggestion is also useful.

    Thanks for your time!

    hm this is a big issue for me too, not sure how well i will manage with this code but i guess it is worth a try.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding default comment system to category pages’ is closed to new replies.