Highlight Author Comments automatically displays comments made by a post's author in a distinctive style
Highlight Author Comments automatically displays comments made by a post’s author in a distinctive style with no need to edit your template files, etc. All you do is provide a snippet or two of CSS styling to be applied to author posts.
Highlight Author Comments is installed in 3 easy steps:
The plugin Options page just has couple of text boxes where you put the bits of CSS you want to apply to highlighted comments. Don’t include { or }: just the CSS. For example, by default the plugin applies the CSS padding: 1em
which ‘indents’ the comment a little all round. If you wanted to also make the text red, for example, you would use color: red; padding: 1em
.
You can style the body of the comment itself and/or the link to the comment author.
Cascading Style Sheets (CSS) is too complex a subject to go into here. A good resource is provided by the Web Design Group.
Here’s where some artistry would be a help! In lieu of skill here are some examples to play with:
The plugin simply compares the email of the post author with the email of the commentor. This works fine as long as a post author is logged in when commenting. It will fail if the author is not logged in and uses a different email.