Archive for November, 2009

Highlight Multiple Author Comments on Wordpress Blog Tutorial in Short

Thursday, November 12th, 2009

Highlight Multiple Author Comments on Wordpress Blog

1.
Download this plugin:

http://wordpress.org/extend/plugins/comment-highlighter/

or

http://code.google.com/p/comment-highlighter/downloads/list

Unzip and copy to plugin sub-folder in your wordpress folder
or directly install if your admin panel allows it to install.

2.
Login to admin of your wordpress
paste this url:
www.YourBlogDomain.com/wp-admin/options-general.php?page=comment-highlighter/comment_highlighter.php
- check email check box
- enter email of the author you want to add
- in the class text box write
commentsclass
- check the global check box
- Click the green button, “Add this comment highlight”

3.

a. Add following after first line of comments.php:

<!– following is for comment highlight plugin –>
<?php if(function_exists(‘CommentHighlight’)) CommentHighlight(‘link’); ?>
<!– above line is for comment highlight plugin –>

b. Edit comment.php (C:\xampp\htdocs\wp-content\themes\theme_name\comments.php)
Search following lines:
<ol>
<?php foreach ($comments as $comment) : ?>

c. And replace first <li…> tag with:
<li id=”comment-<?php comment_ID() ?>”

4. at the end of style.css (C:\xampp\htdocs\wp-content\theme_name\themesw\style.css)
add following lines (class):
.commentsclass {
background-color: red !important;
}

5.
For FAQ:

http://code.google.com/p/comment-highlighter/wiki/Installation

OR

http://code.google.com/p/comment-highlighter/wiki/FAQ

http://code.google.com/p/comment-highlighter/

Post to Twitter Tweet This Post

  • Share/Bookmark