Monday, June 27, 2011

Highlight Author Comment

"Highlight Author Comment" is so different from the blog owner's comments with the comments of others. Examples can be seen on this blog. To comment the blog owner will be no efek.berikut I will give way to create a "Highlight Author Comment".



1. Login to blogger, Dashboard -> Layout -> Edit HTML
2. Check the box "Expand Widget Templates"
3. Copy this script before code " ]]></ b: skin>"

.comment-body-author {
background: #E6E6E6;
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;
}


4. looking for code like the following code. Perhaps the code in your template will be different, but although different try same with code following:

<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>

5. Red code is the code that you have to add in your HTML. His position must be correct.
6.save

1 comment:

  1. hey bang ane bukannya sok pintar tapi jangan taruh adsense abang di bawah judul entry karena algoritma Google benci hal tersebut dan Emang di dalam TOSnya gak boleh.....!!

    ReplyDelete

1000 BACK LINK Free Automatic Backlink Best Backlinks
daily Bookmarks Free 1000 Backlinks Auto Dofollow Backlinks Backlinks Builder Dofollow Backlinks Free Hundred Backlinks WORD LINK 99 Text Backlink Exchanges LINKS FOR YOU FreeBackLinksForYou BackLinksPost Text Back Links Exchange Web Link Exchange Text Backlink Exchanges Cárdenas.net Text Back Links Exchanges Kostenlose Backlink Austausch Florists Links Free Auto Backlinks Free Auto Backlinks Free BackLinks Backlink Lists|Free Backlinks Free Backlink from tunden.com Cárdenas.net Free Automatic Link echange de liens Free Automatic Link kostenlose backlinks Free Automatic Link Free Automatic Link Cárdenas.net Free Backlink: Philippine Link DAHOAM Free Backlinks Text Backlink Exchanges backlink free backlink for blog and website Text Backlink Exchangestop backlinks referers free Free Smart Automatic Backlink AutoBacklinkGratis Free WebLink Promotion MAJLIS LINK: Do Follow Backlink Link Portal Teks TV Free Automatic Link Unlimited Backlink Exchange Free Automatic Backlink Exchange