Wordpress plugin tips: Official Comments

You have probably seen it on several sites where the blog owner’s comments looks different from the other commenter’s. It’s pretty good cause then you will see that the blog owner actually takes part in the discussion. It’s pretty time consuming to look though the comments trying to find if the owner answered a question or something like it.

I decided to try it myself so the first thing I did was to search on Google. I found several ways to accomplish this thing; like Scriptygoddess “Comment highlighting” and Deconcept’s “Wordpress author comment highlighting”. But they seemed a little too complicated, they were rather a “edit the code yourself”-kind of thing. I love plugins so I want a god damn plugin!

Then I ran across inner.geek’s Official Comments plugin that turned out to be the easiest way of those I tried. All that’s needed is a few lines of PHP and then a few lines of CSS to make it pretty. You can even have different styles to different commentors/authors if you want.

One thing that I missed while reading how to get it to work was that it only works with comments made AFTER the installation. I fist thought I made something wrong, but I should just learn to read more carefully! :P

Do you use this function on your blog? Do you use a plugin for it? If so, which one?

Edit - March 19, 2007: A plugin that’s even easier than inner.geek’s Official Comments is the Author Highlight plugin!

Filed under: Geek, Resources, , ,

13 Responses

  1. Hannah Says:

    Thanks for this! I’ve been wondering for a while now how to do that but I wasn’t sure where to look or what exactly I was even looking for. I’ll try it out. :)

    Posted on November 12th, 2006 at 1:21 pm

  2. Malin Says:

    I’m happy that I could help someone! :D
    It’s pretty nifty, now I don’t have to spend time trying to find MY OWN comments on the site :P

    Posted on November 12th, 2006 at 1:45 pm

  3. Corinne Says:

    I’m incompetent. I couldn’t do it lol.

    Posted on November 12th, 2006 at 5:10 pm

  4. Lily Says:

    lol it’s alright

    Posted on November 12th, 2006 at 5:29 pm

  5. Malin Says:

    [quote comment="190"]I’m incompetent. I couldn’t do it lol.[/quote]
    I can help if you want :)

    Posted on November 12th, 2006 at 5:46 pm

  6. Amanda Says:

    What I’ve seen some people do, is go into WP admin, and then edit the comment, adding their comments to it in a div class…so it would be like “blah blah blah <div class=”reply”>BLOGGERS RESPONSE</div>”.

    Then they would CSS the div class to make it a different colour from the the comments. I thought that was pretty groovy…but it’s a lot of work, considering you have to go into admin to fix it up.

    Posted on November 12th, 2006 at 8:01 pm

  7. Nan Says:

    I use something called Author Highlight. I think it’s more of a hack than a plugin though.

    Posted on November 13th, 2006 at 8:21 am

  8. Shari Says:

    I’m using a hack for mine. It’s relatively easy to do - easier than trying to install a plugin, actually. :D

    Posted on November 13th, 2006 at 1:58 pm

  9. Kat Says:

    I’m using Author Highlight too, it works with all of your previous comments :)

    Posted on November 14th, 2006 at 8:18 am

  10. Amelie Says:

    Bit late, but thought I’d share how I did my author-highlighted comments… I’m not using a plugin at all, all I do is that I added some code to the comments.php file that looks a bit like this:

    if ($comment_author == “Amelie” && $comment_author_url == “http://not-noticeably.net/” && $comment_author_email == “myaddress@blah.com”) { $class = ” class=\”officialcomment\”"; }
    else { $class = “”; }

    Then when the comment list starts, I have this:

    >
    //rest of comment code

    (Obviously there are no spaces between

    Posted on November 16th, 2006 at 1:53 pm

  11. Amelie Says:

    Hmmm, I guess it got stripped out. Well, I meant that I have this code when the list starts:

    &lt;li&lt;?php echo $class; &gt;&gt;

    Posted on November 16th, 2006 at 1:55 pm

  12. Amelie Says:

    …hmph. Those are meant to be >s and their respective pairing, which always seems to get stripped out :P (shift + comma, basically!).

    Sorry for spamming your comments, Malin!

    Posted on November 16th, 2006 at 1:56 pm

  13. Fotis Says:

    interesting

    Posted on September 20th, 2007 at 7:38 pm

Leave a Reply





(required)

Please respect the comment policy.