I'm working with a client who wants visitors to be able to post comments on categories instead of on individual posts, but I am unsure on how to go about it. Is it possible to display the comment form in a category? Just pasting in <?php comments_template(); ?> didn't do it, unfortunately.
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
|||||||||
|
migrated from stackoverflow.com Jun 12 '12 at 13:35
|
For all I know, that's not possible, since comments depend on a Post ID to exist. You can, however, mimic that functionality by registering a post_type to be at the same time, attached to one specific category, and parent their comments. Then you can insert a secondary query on your |
|||
|
|
|
i have found this answer here tried it and it worked for a clean template i expriment on here is the code:
. p.s - i would read the original answer to learn more |
|||
|
|