In the past we’ve gone over some methods for setting up your theme to separate your author comments in WordPress. By default, most WordPress themes check the e-mail address to determine who the person is that is leaving the comment. By adjusting the code to check for the user id instead, you can set up your theme to recognize if you are the author of the post. This is also beneficial for blogs with multiple authors.

In addition to separating trackbacks from comments, this is another way you can easily help improve the readers experience when trying to follow a conversation in the comments. Most people use a different background, but some choose to instead display a logo. The important thing is that readers can recognize which comments are coming from the author of the post.

Today I noticed Matt Cutts has written his own tutorial explaining how to highlight author comments in WordPress. His post also includes the code needed for CSS styling. If you still haven’t gotten around to doing this on your theme yet, I recommend you check it out!

Kyle Eslick is WordPress enthusiast who took his passion for WordPress to the next level in 2007 by launching as a place to share hacks, tutorials, etc. Follow Kyle on Twitter @KyleEslick!

  1. K says:

    The theme I use doesn’t highlight author comments but it does provide coloring for alternate comments. Since I have MBL profile picture showing ShanKri-la’s logo anyways, I figure that’s a great visual cue already.

    Between, I am not sure if you saw the theme mods I have made yet. I would love to hear your feedback and thoughts. I admire the clean look you have in your themes and can absolutely use some suggestions to make mine better. Cheers and have a great weekend, Kyle!

  2. Jeffro2pt0 says:

    For themes that don’t support this type of functionality, you can use a plugin that was released a few months ago. A plugin that I think should be built into the core. At any rate its called Highlight Author Comments and I wrote about the plugin here

Trackbacks/Pingbacks »

  1. Styling And Highlighting WordPress Comments | Index Blog says:
  2. Wordpress Plugin Centre - Wordpress trick - Tips For Highlighting Author Comments in WordPress says: