Monday, April 23, 2007

How To Display Labels Inward Your Posts Inward Blogger

How to Display Labels inwards Your Posts inwards Blogger How to Display Labels inwards Your Posts inwards Blogger
Displaying Labels likewise known equally categorizes inwards your posts is e'er considered equally an effective technique to furnish your audience amongst a chip to a greater extent than context close your content, at their start glance. Recently, ane of our users asked us that how to display labels inwards posts, inwards blogger? Considering the fact that, it gives your visitors a agency to read your onetime content, It may non last recommended to those who are running a corporate spider web log on blogger. However, it is essential for all niches based sites running on blogger. In this article, nosotros volition present you, how to display Labels inwards your posts inwards blogger.

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 + &quot;?&amp;max-results=10&quot;' rel='tag'><data:label.name/></a><b:if cond='data:label.isLast != &quot;true&quot;'>,</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