Notifications
Clear all

Custom Category Template -> Add Comments

3 Posts
2 Users
0 Reactions
2,182 Views
(@pugshot)
New Member
Joined: 7 years ago
Posts: 2
Topic starter  

Hey,

I have a custom template for a category. It pulls all posts from it, but I'd also need to pull all comments and the comment form from the posts, too. I've yet to succeed. Either it pulls nothing, or it pulls the old comment system. The comments show up good in individual posts, but not in my custom template. How would I call wpDiscuz in it?


   
Quote
(@pugshot)
New Member
Joined: 7 years ago
Posts: 2
Topic starter  

And I'm using the X theme.


   
ReplyQuote
 Tom
(@tomson)
Famed Member Admin
Joined: 10 years ago
Posts: 4217
 

I'm sorry but wpDiscuz can not be used on non-single template files (category, tag, author, etc..) it's only designed for single pages (single.php, page.php, custom-post-type.php). Please don't try to include wpDiscuz in category page, it has no chance to work. The comment box duplication will always generate JS errors.


   
ReplyQuote
Share:
Scroll to top