Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

BM Comment Highlight

The best comment highlighting plugin around

Upload and activate the plugin as normal.

To use you will need a smattering of html/ php knowledge and some kick ass css-fu. I did consider trying to automate the html side of things but decided that since people format comments differently it would be worth giving everyone the choice to work the way they want too.

Basically all you need to do is use the php command "bm_commentHighlight()" to get the class for the current comment (within the comment loop). You can then print/ echo these in any way you want.


<?php foreach ( $bm_comments as $comment ) { $commentClass = bm_commentHighlight(); ?> <li class="<?php echo $commentClass; ?>"> <?php comment_text(); ?> </li> <?php } ?>


When you call the function you will be returned a string containing a series of classes you can use to style your comments. The classes are as follows...

  • author - the commenter is the post author
  • reader - the commenter is simply a reader of the blog
  • user - the commenter is a registered user
  • userID_# - the # is the user id of the registered user that has comented
  • pingback - the comment is a pingback
  • trackback - the comment is a trackback

Requires: 2.0.2 or higher
Compatible up to: 2.5.1
Last Updated: 2008-5-22
Active Installs: 50+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.