• Resolved thriveconsulting

    (@thriveconsulting)


    I’m new to wordpress and as I explained in another question I asked, I’m sooo not a techie so I hope there’s an easy fix for this! I’ve opted NOT to allow comments on my blogs… and therefore the comment “count” indicator that follows each one of my blog titles…the “zero” (0)…is not only irrelevant but it looks goofy like a typo. Is there an easy way to have these not appear? I’m using this as a website for my business and it looks unprofessional like an error so I’m a bit bothered by it. Can anyone give me a wordpress for dummies answer so I can fix it? thanks a million!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You will need to remove the comments code following the post titles from your theme template files like index.php and single.php. Make sure that you make a backup copy of these files first just in case something goes wrong.

    Thread Starter thriveconsulting

    (@thriveconsulting)

    Thanks so much! I’ll try that!

    Themes that I have seen work like this… The category list is produced by a call to wp_list_categories() in one of the theme .php files. The default is to NOT show the count. So yours apparently does not use the default args to wp_list_categories(). Locate the .php file in your theme/YOURTHEMENAME/ directory that calls wp_list_categories. Remove all reference to the parameter ‘show_count’ or use ‘show_count=0’. Here’s the page in the developer’s doc that lists everything you can do with a category list https://codex.www.ads-software.com/Template_Tags/wp_list_categories

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to make comment count (0) disappear from blog titles’ is closed to new replies.