Posted on 12 February, 2009 By 71 Comments

How to Remove “Says” From WordPress 2.7 Threaded Comments


The Farmer Says (by bcostin)

Well, you can’t see it on this site because I spent a good chunk of my weekend trying to figure out how to get rid of it, but I’ve come up with three ways to get rid of the word “Says” after the commenters name in WordPress 2.7 threaded comments.

The three methods are:

  • – Setting the display to none in the CSS class
  • – Making the color of says the same as the background color in the CSS
  • – Using the callback function to output the html so you can edit it

On wait – you’re in luck – I do have a screenshot from the WordPress default theme in my testing site.


The html output from wp_list_comments creates the Says with the following code:


So, that’s cool – a class named says exists.

The first method is a way to tell the code to not show the class via CSS. You can add the following to your stylesheet.

.says {display:none;}

I did not use this method because it caused alignment of other parts of the comments to be all out of wack. I spent way too much time trying to figure this out and could not track down the problem. Interestingly enough, I have not had the same issues when I’ve set these up for other people so it is possible it will only work properly for me when I’m getting paid to do it. Actually, it’s more likely that I have a css conflict because I mess with it so often.

The second method uses the same class and also gets added to your stylesheet file. This makes the word says the same color as your background so it is basically invisible, although it does still exist. You will use the following:

.says {color:#fff;}

That will make the word Says white, which is my background color. You can set it to whatever color you like. This solution did not work for me either. Most of my comments are in white but my replies as the site author are in green. If you visited my site on Monday you might have noticed the word Says in tiny little white letters on my replies. This solution will work great if all the comments are the same color. I almost removed the green, even though I’ve frown attached to it, until I tried solution #3.

The method that I used was the callback function, which is mentioned in the codex without much explanation and also detailed at ScriptyGoddess.

In comments.php you change


This will call a function from your functions.php file that allows you to control the html output from wp_list_comments. So, add the following to your functions.php file.

  • ' ); ?> %s says:'), get_comment_author_link()) ?>
    comment_approved == '0') : ?>
    $depth, 'max_depth' => $args['max_depth']))) ?>
  • The part of this code that I am interested in for the purpose of this article is


    By removing that line from the callback function, says will no longer be part of the comment output. You don’t have to remove it. You can change says to another word or phrase.

    This code was contained within the comments.php file in versions prior to 2.7 and it was simply a matter of deleting it from the file.

    photo credit: bcostin

    Keep Reading:
    Posted In : Blogging Comments | WordPress Tips

    Did you enjoy this article? I can assist you with your WordPress or Facebook project. Contact me and I will provide you with an estimate. You can also connect with me on Facebook or follow me on Twitter. If you are looking for Hosting, WordPress Theme, Newsletter or other recommendations, please view my detailed list.

    71 Responses to “How to Remove “Says” From WordPress 2.7 Threaded Comments”

    1. Comment Idea: Greet First Time Commentators without a Plugin | Million Clues!
    Leave a Comment
    You may use: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> .


    Kim Woodbridge is an accomplished Information and Technical Consultant specializing in the entire implementation of a WordPress based website including installation, theme design, upgrades, unique customizations and ongoing site maintenance.

    Recent Comments

      • Property Marbella: Hi Kim, Declaring is not fun, I do a draft and my accountant will take care of the rest, the only thing I hope for is t...
      • Tanya: How could that video not put a smile on your face. Thanks!...
      • Dada Mirada: I also user Worpress , i have a using wordpress a over two years, but my site often maintenance...
      • silicon28: I just read this post (some years after the initial comments) and could not agree more! I also try to help folks on the...
      • Dada Mirada: Beautiful Art a your sharing...

    Wordpress Services

    • Installation, upgrades and maintenance
    • Conversion of existing html and css templates
    • Theme and plugin recommendations
    • CSS customizations
    • Troubleshooting and tweaks for unique situations
    • Customization for individual blogging goals and needs
    • Training and advice