The start affair you lot demand to create is to login into your Blogger account. After logging inwards pick out your spider web log inwards which you lot would similar to display labels inwards posts. Now become to Template ›› Edit HTML ›› as well as search for the <data:post.body/> Tag as well as simply to a higher house it glue the next XML coding. (Remember: You mightiness run across multiple tags, as well as thence last certain you lot are pasting the code at the correct tag, it exclusively depends on the template you lot are using).
<span class='post-label'> inwards <b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<a expr:href='data:label.url + "?&max-results=10"' rel='tag'><data:label.name/></a><b:if cond='data:label.isLast != "true"'>,</b:if>
</b:loop>
</b:if> </span>
You tin customize it amongst a chip of stylesheet, Here is a uncomplicated CSS that plant pretty well. However, you lot tin customize it according to your needs. There is non much to change, except the hyperlink as well as hover color. You should add together the next code correct to a higher house the ]]></b:skin> tag.
.post-label {
float:left;
font-size:14px;
color:#555
}
.post-label a {
color:#111
text-decoration:none;
}
.post-label a {
text-decoration:undeline;
}
Congratulations: Once everything is done salvage your template yesteryear pressing “Save Template” button. Congratulations, you lot convey successfully added labels inwards your posts.
Note: While writing posts brand certain you lot convey assigned a label, otherwise you lot volition non run across whatsoever label when you lot issue the post. For to a greater extent than details, run across the next screenshot:
We promise this tutorial may convey helped you lot inwards learning how to add together labels inwards your posts, inwards blogger. Does anybody is using the same exercise to display labels inwards posts, nosotros are using the same method at MyBloggerLab. Do allow us know what are your thoughts close it, allow us convey a meaningful conversation ahead.
No comments:
Post a Comment