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 developer in Boston, MA with a strong portfolio of work, and over 13 years of experience as a programming consultant and digital strategy provider. Interested in working together? Hire me for your next project.