This WordPress plugin will easily allow you to uniquely style comments made by a post author. By default, author comments will be given a light yellow background, but this is entirely customizable at the plugin’s options page. Custom styling requires only a basic understanding of CSS.
If you are using a modern WordPress theme, this should work automatically after plugin installation. If it does not, you will need to follow these directions:
- Log in to your WordPress admin panel as an administrator.
- Go to
Appearance > Editor - Select the
Comments (comments.php)file —Popup Comments (comments-popup.php)if you use popup comments. - Locate the opening HTML tag that wraps individual comments. This will be inside of a PHP
foreachstatement. The opening tag should be an HTMLdivorlielement. - If this element already has a class name assigned, add the following code within the class name’s quote marks:
<?php if (method_exists($wpac, 'author_comment')) $wpac->author_comment();?> - If this element does not have any classes assigned, add the following code within the opening before the end of the opening tag:
class='<?php if (method_exists($wpac, 'author_comment')) $wpac->author_comment();?>' - Click the ‘Update File’ button.


adrian • 8:11 pm on Aug. 19, 2009
nice awesome plugin
tchris • 8:39 pm on Sep. 6, 2009
Cant get the TB to actually show up. please help. Im clueless
David • 6:22 am on Jan. 16, 2010
Does this plugin work on 2.9.1? I can’t find any foreach statement on comments.php.
Thank you.
bruno • 3:42 am on Feb. 8, 2010
Very nice and very useful plugin
logic design • 1:03 pm on Jun. 29, 2010
Great, great job, and useful too.
Paula Dalesio • 7:41 pm on Dec. 6, 2010
I trawled around for and eventually found the core functions that allow you to add specific capabilities to a role
Realodix • 10:50 pm on Dec. 25, 2010
Thx for the plugin.. Very nice
David • 6:05 pm on Nov. 19, 2011
Thanks guys, very useful and hard to find plugin, good job!