AI Assistant
Notifications
Clear all

Custom Category Template -> Add Comments

3 Posts
2 Users
0 Reactions
2,768 Views
(@pugshot)
New Member
Joined: 9 years ago
Posts: 2
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
  [#1566]

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: 9 years ago
Posts: 2
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

And I'm using the X theme.



   
ReplyQuote
 Tom
(@tomson)
Famed Member Admin
Joined: 11 years ago
Posts: 4245
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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