How to publish Highlight comments of admin for Blogger blogs . This will you to highlight author comments . Author of a common type of blog comments are published. This hack is to use their blogs as a blogger. No other plug-ins may be required. Hack XML using a small sample, we can style the author comments. This is difficult to installed other hacks cracks.
Note: Make a backup of your template before applying this hack
Lets Work
- Log in to your blog
- Go to design > Edit Html [[For Older Interface blogger blogs]] Or Go to Templates >edit html
- [[ Upgraded Blogger blog]]
- Check Expand Widget Templates
- Search By typing CLRL+F ]]></b:skin> Tag in Your template
- Add the following code just before
.comment-body-author {
background: #CEF6E3;
border: 2px solid #FA5858;
padding: 5px;
}
background: #CEF6E3;
border: 2px solid #FA5858;
padding: 5px;
}
Background and Border Color: as you need you can change it
- Now Save
Add This code very Safely
- Figure out the section below of your own Template
<data:comment.body/>
- Tag and then select entire code like bellow
<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>
- After the success of finding the code below, then add the code before
Make Sure You copied all codes
<b:if cond='data:comment.author == data:post.author'>
<dd class='comment-body-author'>
<p><data:comment.body/></p>
</dd>
<b:else/>
}
and Add bellow code After it
</b:if>
The final change in the signal below
<b:if cond='data:comment.author == data:post.author'>
<dd class='comment-body-author'>
<p><data:comment.body/></p>
</dd>
<b:else/>
</b:if>
It is not difficult to install, with the exception of spam comments are always appreciated your comments will not hesitate to ask me to be.
0 comments:
Post a Comment