Breaking News

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.
 


Screenshot




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 From:www.spiceupyourblog.com--><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.


 


If you face any problem in this post please let me know your problem. To inform your problem you can leave a comment below. And if you like my post please click the Facebook like button or spread this post by clicking the Twitter, Facebook etc. icons below. Because, it will be a great support for me.

No comments