How To Make Different Comment Style For Blog Author

This trick is used to make different comment box for author. Then, what is the function? Just for style? Not only that, this trick can prevent comments with the same name, so the others know that we are the owner of the blog. Immediately, i will give you the steps.

1. Log in to your blogger account
2. Go to Design>>>Edit HTML, don't forget to backup your template first!
3. Check the Expand Widget Templates box.
4. Copy the code below, and paste above ]]></b:skin>
.comment-body-author {
background: #E6E6E6; /* Background color*/
color: #000; /* Text color*/
border-top: 1px dotted #223344;border-bottom: 1px dotted #223344;border-left: 1px dotted #223344;border-right: 1px dotted #223344;
margin:0;
padding:0 0 0 20px; /* Posotion*/
}
*Change the blue text with your color choice
5. Then, find this code:
<dl id='comments-block'>
<b:loop values='data:post.comments' var='comment'>
<dt class='comment-author' expr:id='"comment-" + data:comment.id'>
<a expr:name='"comment-" + data:comment.id'/>
<b:if cond='data:comment.authorUrl'>
<a expr:href='data:comment.authorUrl' rel='nofollow'><data:comment.author/></a>
<b:else/>
<data:comment.author/>
</b:if>
said...
</dt>


<dd class='comment-body'>
<b:if cond='data:comment.isDeleted'>
<span class='deleted-comment'><data:comment.body/></span>
<b:else/>
<p><data:comment.body/></p>
</b:if>
</dd>

<dd class='comment-footer'>
<span class='comment-timestamp'>
<a expr:href='"#comment-" + data:comment.id' title='comment permalink'>
<data:comment.timestamp/>
</a>
<b:include data='comment' name='commentDeleteIcon'/>
</span>
</dd>
</b:loop>
</dl>
6. After that, copy the code below

<b:if cond='data:comment.author == data:post.author'>
<dd class='comment-body-author'>
<p><data:comment.body/></p>
</dd>
<b:else/>

7. And paste under

dl id='comments-block'>
<b:loop values='data:post.comments' var='comment'>
<dt class='comment-author' expr:id='"comment-" + data:comment.id'>
<a expr:name='"comment-" + data:comment.id'/>
<b:if cond='data:comment.authorUrl'>
<a expr:href='data:comment.authorUrl' rel='nofollow'><data:comment.author/></a>
<b:else/>
<data:comment.author/>
</b:if>
said...
</dt>

8. Then copy this code

</b:if>

9. And paste under 

<dd class='comment-body'>
<b:if cond='data:comment.isDeleted'>
<span class='deleted-comment'><data:comment.body/></span>
<b:else/>
<p><data:comment.body/></p>
</b:if>
</dd>

So, the result will be like this
<dl id='comments-block'>
<b:loop values='data:post.comments' var='comment'>
<dt class='comment-author' expr:id='"comment-" + data:comment.id'>
<a expr:name='"comment-" + data:comment.id'/>
<b:if cond='data:comment.authorUrl'>
<a expr:href='data:comment.authorUrl' rel='nofollow'><data:comment.author/></a>
<b:else/>
<data:comment.author/>
</b:if>
said...
</dt>

<b:if cond='data:comment.author == data:post.author'>
<dd class='comment-body-author'>
<p><data:comment.body/></p>
</dd>
<b:else/> 

<dd class='comment-body'>
<b:if cond='data:comment.isDeleted'>
<span class='deleted-comment'><data:comment.body/></span>
<b:else/>
<p><data:comment.body/></p>
</b:if>
</dd>

</b:if>

<dd class='comment-footer'>
<span class='comment-timestamp'>
<a expr:href='"#comment-" + data:comment.id' title='comment permalink'>
<data:comment.timestamp/>
</a>
<b:include data='comment' name='commentDeleteIcon'/>
</span>
</dd>
</b:loop>
</dl>

10. If you are done, save now

15 comments:

ffff

Reply
23/5/13

Windy, blowing away the heart of solitude,Nobis jacket blowing dripping infatuation faded, joy, sadness,
will be the last, Nobis canada a lone effort to dull wrote poetry.
The remaining slight heart pain, Nobis sale Red dream, edge to edge to edge of silence, you have your green,
I have my skies, Mo forget themselves singing became lonely red, exhausted strength,
Nobis jacket hand grip or not live wind, had opened her hand, put your volley.
Remember when you went to the beach with my hair, gave me a rose flower,
the wind will Nobis canada shake, broken hearts as the petals scattered in the wind, bitter filled the air, naked pain catch.
World darkness, the eyes have no focus,Nobis sale all the colors all became black and white movie. Wind swaying the night, the rain washed the lonely.
Where Lebron 14 Shoes always felt some little Duijin Er, but unable to speak, and suddenly he found his own hands seemed changed.
Lebron 13 Elite rubbed his eyes to look at their own hands, how so full uniform, and then look at his arm, bent up, up biceps actually emerge out of 6 people senseless.
This is how children? Biceps? This Lebron 12 Elite has been in his body disappeared many years? You should have at least ten years.
He subconsciously touched his belly, flat and flexible, massive muscle faint and now,Lebron 13 shoes and for many years satiated fat on live plus mahjong formed even disappeared without a trace.
Lebron 14 Shoes taken aback and lay out what the situation, do not out of a car accident in the hospital, let his body body also had such a big change?
He sat up call is heard, 6 people looked around, now Lebron 12 Elite is not accustomed to wearing shirts Pleasant poetry, but a somewhat shabby old round neck T-shirt, which is how the matter?

Reply
7/12/15

Post a Comment

:) :( :)) :D =))
Loading Comment Form