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:
Change as follows:
?> "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:
Post a Comment