Comment Highlighter
Information
Comment Highlighter is a Wordpress plugin which can be used to add different style classes to comments. There are already plugins/hacks/alterations that adds a style to all comments written by the blog owner, adds a different style to every other comment, etc. This plugin takes it a bit further. Depending on which rules you set up, then Comment Highlighter can add style to comments based on the email of the author (of the comment), the name or the URL. These styles can furhter more be locked to a specific post ID.
Some samples of what I use this plugin for:
Add a special CSS style to all comments written by myself
Add a special CSS style to all comments written by my co-author (read: my wife
)
Add a special CSS style to all comments by a specific person on a specific post
Add a special CSS style to all pingbacks
There might be other Wordpress plugins that does the same as this one, but I wasn't able to find any. At least not a single plugin that did everything.
Google Code
This whole project has been moved to Google Code at http://comment-highlighter.googlecode.com.
Comments closed
I have decided to close comments for this plugin and kindly ask you to either ask your question at the FAQ or add a bug report here.













57 Responses to “Comment Highlighter”
Pages: « 1 2 [3] Show All
11. September 2007 09:59:24
Hi~ I used the Comment Highlighter plugin, but I found it doesn't work in my wordpress, I could not find the reason why Comment Highlighter plugin can't work,so I leave the message ,I hope you can help me for solve the problem.
Is the 'link' the same like class style? For example:
">Comment
=
Comment
Is it like this??
I'm so sorry because my English so poor, I am waitting for your reply, and thank you so much for you and your great wordpress plugin-Comment Highlighter.
11. September 2007 10:21:09
The 'link' is only used to add an admin link on a each comment.
What you need to use is the second code example from this page: http://code.google.com/p/comment-highlighter/wiki/Installation
So calling the plugin just returns a name of a class, which you have defined through the plugin interface. You still need to add that style into your style sheet as well.
If that didn't help you or if I have misunderstood you, then feel free to write again.
11. September 2007 10:30:32
Thank you for your reply~
Now I have solved the problem, and thank you so much~
20. September 2007 08:44:50
[...] выделять другим цветом комментарии автора блога. Comment Highlighter – плагин, позволяющий выделять комментарии по [...]
21. September 2007 04:51:11
[...] Comment Highlighter [...]
26. September 2007 15:39:08
[...] Comment Highlighter – Styles comments based on the author’s name, email, or URL. [...]
28. September 2007 11:33:31
[...] Comment Highlighter – Styles comments based on the author’s name, email, or URL. [...]
1. October 2007 23:23:31
i cant seem to get this plugin to work, and i cant tell if im editing my comments.php incorrectly, or something in my css is wrong.
is this how it should be added into comments.php?
" id="comment-">
date_format() . '.y' ) ?> /
comment_approved == '0') : ?>
Your comment is awaiting moderation.
2. October 2007 20:57:04
@brooke: It's a bit hard to read (and write) code on this blog, but the code you write doesn't look correct.
The only thing the plugin will return is a class name (which you have to style in your style sheet). This means that you would want the function call as a value to the class attribute.
You can see an example on the Google Code comment-highlighter installation page (second code snippet).
4. October 2007 05:55:08
[...] Numbered Comments 为留言添加序列号. AuthorHighlight – 高亮Blog作者的留言. Comment Highlighter – 根据作者的名称、Email或URL来定义留言样式。 wp-chunk – [...]
5. October 2007 00:20:12
I have two comment files in my theme for some reason?
In my comments.php, I've added the two lines of code as follows:
">»
" id="comment-">
and in my popup-comments.php file, I've added them too…
&
" id="comment-">
Yet the plugin does not appear to be working? I set it to highlight whenever I post a comment (I assume I only need to enter my name as a field and it should work?)
5. October 2007 11:26:12
Hi Ellie
As promised in an email to you, then I have made a few walkthroughs on how to set up comment highlights. You can find them on the Google Code Comment Highlighter example page.
Feel free to add a comment if it doesn't make any sense… or if you would like an example of something else.
3. November 2007 05:34:12
[...] Comment Highlighter – 基于blog作者的名字,email或url,自定义评论的样式。 [...]
4. November 2007 20:28:19
[...] выделять другим цветом комментарии автора блога. Comment Highlighter – плагин, позволяющий выделять комментарии по [...]
4. November 2007 20:35:29
[...] выделять другим цветом комментарии автора блога. Comment Highlighter – плагин, позволяющий выделять комментарии по [...]
9. November 2007 13:48:07
[...] Comment Highlighter – 根据作者姓名、email、网址等定义评论显示风格。 [...]
10. November 2007 00:13:30
I have decided to close comments for this plugin and kindly ask you to either ask your question at the FAQ or add a bug report here.
Pages: « 1 2 [3] Show All