WordPress, Tagging, and the Post Plugins WordPress Post Plugins Now Widgets

WordPress Plugin: Highlight Author Comments

Print Version October 20th, 2007

Just posted a rather simple plugin to highlight the comments made by the author of a post among all the other comments.

I’ve seen lots of ways of doing the job but they all seem to involve hacking the code of your template or of WordPress files. The new plugin does the job automatically — all you have to do is provide a snippet of CSS to apply to the special comments.

Entry Filed under: WP Plugins

4 Comments

  • 1. Nico  |  November 25th, 2007 at 5:18 am

    Great PlugIn, Im using it now on my site, congratulations!

  • 2. Erwan  |  December 13th, 2007 at 12:47 pm

    Hi,
    This plugin doesn’t seem to work on my blog. I tried many CSS but no difference. Actuel CSS being noted:
    background: #DFFFFF; url(images/commenta.gif) no-repeat top;

    Example of page with comments:
    http://www.iconique.net/lart-dinsulter-le-client-avec-sa-propre-image

  • 3. Rob  |  December 13th, 2007 at 2:15 pm

    Erwan: That’s bad news! I notice your site uses some javascript to toggle the comments’ visibility. Is that done by a plugin? Or your template? I wonder if there is a conflict of some sort.

    One way to check would be to look inside

    
    function hac_highlight_comment($content){
    

    and change

    
    	return $content;
    

    to

    
    	return $content . 'testing';
    

    That would show us if the plugin is working but not recognizing your comments as coming from the post author. If that turns out to be true we can investigate further.

  • 4. Erwan  |  December 13th, 2007 at 2:15 pm

    sorry I deleted the plugin. But it seems I have a trouble with a tag.


Calendar

October 2007
M T W T F S S
« Sep   Nov »
1234567
891011121314
15161718192021
22232425262728
293031  

Related Reading