How To Distinguish A Visitor Comment And Comment The Blog Author

>> Saturday, August 15, 2009

The blog has many visitors, have a lot of the commentator. We sometimes difficult to distinguish where the visitor comments and comments which the author intended the blog to respond to the comments of others.

There are ways to make a comment with a different author comments, that is, give the author's comments highlight the article. Here's how.

1. Change us to add style "authcomment" in the css
Add the following class:
. authcomment (
background-color: # B3FFCC! important;
)
2. Edit comments.php file to add a little code.
Comments.php files usually have a content as following:

  • " id = "comment ...

    Change as follows:
  • echo $ oddcomment;
    ?> "Id =" comment ...

    That's it. Now we will have different colors to make a comment so that we can be with the comments from visitors, although may be using the same username.

  • 0 Comment:

    My Rank



    Update News

    Get the latest update of this site via email, Enter your email address:

    We Don't Use Your Email For Spam Activity.

    Link Banner

    Copy Code Below, Insert Into Your Technology Site And Bestechno Team Can Review Your Web

      © Blogger templates Palm by Ourblogtemplates.com 2008

    Back to TOP