This is another cool handy WordPress trick any one could use in hacking and setting cool lots of features in its blog, without a plugin.

I discovered that as an author you should stand different in front of the crowd and your writes ups and comments should be very different from others, reason be that  you comments  could be of benefits to the other readers since you are the writer.

I decided to share Easy Steps On How to Highlight Authors Comment in WordPress without a WordPress plugin.

Add the blow CSS to your site theme file.

.authcomment {
background-color: #B3FFCC !important;

Note Change #B3FFCC to any Color you desire

Locate and search for the following code in your theme comment.php file.

<li class=”<?php echo $oddcomment; ?>”

Locate and Replace with the blow code.

/* Only use the authcomment class from style.css if the user_id is 1 (admin) */
if (1 == $comment->user_id)
$oddcomment = “authcomment”;
echo $oddcomment;

Note: Please backup site database before you try.