To highlight comments posted by the author in WordPress, add the following code to the comments.php file in your WordPress template:

user_id) { ?>
  • For reference, the full comment structure I am using for is:

      user_id) { ?>
    1. / /

    Now simply style #commentlist li.authcomment and your done.

    About the Author

    Kevin Leary is a freelance web developer in Boston, MA specializing in enterprise WordPress development, conversion optimization and JavaScript development.