Skip to content

Categories:

Removing “comments off” from Wordpress category list

This article is another tip on cleaning up those annoying references to comments, this time in the category list, when you have turned comments off in your Wordpress site (using global settings).

If you want to remove the words “Comments Off” from the bottom of articles listed in the Category List you will need to find which file is calling that function from the comments pop up.

For example, in some themes it will be in the archives.php file in others it will be in the main index template.

You are looking for this line:

commentspopup

Once you have found it delete the line being careful not to remove anything else around it.

One way to find the line is to check all the files using your Wordpress Dashboard (go to Themes/Editor) and you’ll see a list of the files in your themes package. If you see archives.php start with that one. Click on it to open it and then search for the above line. If  it’s not there try the main index file and so on.

*Search tip*

Hit control “F” on your keyboard and a little search bar will open at the bottom of your browser. Type in “comments_popup” and hit the next button while browsing each file. Sooner or later it should show up!

*** Please note: this will also remove any reference to comments in the Category Lists for articles that DO have comments enabled. So if you have 6 articles and 1 of them has comments enabled people won’t be able to see if there are comments or not until they open the article. However, for most sites who have turned off the global comments function this won’t matter.

Posted in Wordpress tips. Tagged with .

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.