Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

How to add total comments count of a particular post to home page?

4 Posts
2 Users
0 Reactions
4,245 Views
(@akshayjoshi222)
Member Customer
Joined: 10 years ago
Posts: 3
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
  [#424]

Hi, first of all thanks for the great comments plugin. Currently I am using both wpDiscz and myCred and I want to showcase the total number of comments of a particular post on my homepage. Please advise.

 

Also, can you make a widget which can add rating system with custom criteria to the wpDiscuz comment system. It would be a great plugin.



   
Quote
 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
 

Hi Akshay

This is something you can done using WordPress API. wpDiscuz doesn't have direct relation to functions and ways of showing comment counts per post. You can use WordPress template tag:

<?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>

More info in WordPress support forums:

https://wordpress.org/support/topic/how-to-add-number-of-comments-under-each-post

Also, can you make a widget which can add rating system with custom criteria to the wpDiscuz comment system. It would be a great plugin.

We need some of those to work around that. Currently we have wpDiscuz Widgets pro addon, it has four widgets. More info:

  • Most Voted/Liked Comments Widget
  • Most Active Comment Threads Widget
  • Most Commented Posts Widget
  • Most Active Comment Authors Widget


   
ReplyQuote
(@akshayjoshi222)
Member Customer
Joined: 10 years ago
Posts: 3
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
 

Thanks Tom. I have never tried the template tag but looking at the same, I think it will only work on post page. I need to show the particular post total comment on my home page.

I am already planning to go for wpDiscuz Widgets pro addon at later stage. Will eagerly wait for the custom rating system too. 🙂



   
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 think you should have some sidebar on home page. If so you can use Ultimate Posts Widget plugin, it allows to add a widget with posts and number of comments: https://wordpress.org/plugins/ultimate-posts-widget/



   
ReplyQuote
Share:
Scroll to top