post titles

List Only Post Titles On Blogger Labels Pages

In this post i will show you a really Great trick that helps make your Blog much easier to Navigate for your visitors. This tip will help keep visitors to your blog On your Blog. I actually found it hard to give this post a title that would explain what this tip does and how it works, i will give you some examples below to explain. However hard it may be to explain its very easy to add to your Blog.

blog tools


show only post title

Why change?

You may have 50 or more posts with the same label.If i did not make the change when someone clicks that label they would go to a page showing 50 Full Posts Your guess is as good as mine as to how long that page would take to load but you can be sure the visitor wont be waiting around to see.Its also better for the visitor to see the the results in a menu format as they will see a menu of what you have and that will bring them back.

How its done.

1.Click ‘Layout’->’Edit html’ for your blog.
(Tick ‘Expand Widget Templates’ box)

2.Find the following piece of code in your blogs template :
(Click’CTRL & F’ For a search bar to find the code)

<b:include data='post' name='post'/>

3.Now Replace the code you found above with the code below :

<!--Labels in menu><b:if cond='data:blog.homepageUrl !=data:blog.url'><b:if cond='data:blog.pageType != &quot;item&quot;'><a expr:href='data:post.url'><li/><data:post.title/></a><br/><br/><b:else/><b:include data='post' name='post'/></b:if><b:else/><b:include data='post' name='post'/></b:if><!--Labels in menu end-->

You have now changed how your label results are listed but also how your archive is listed and if you have a search bar on your blog results will be listed like this also.

Once you have changed the code click save and your done go test it out.

Drop Your Comments And Questions Below.

Like This, You Will Love :

List Only Post Titles On Blogger Labels Pages
Easy To Read
Reader Rating0 Votes