How To Show Only The Title Of Posts For Searches, Archives And Labels

Posted by Lasantha Bandara File Under : change template, html, labels 6 Comments

If you use this hack, when users will click on Archives, search or labels, they will see only the titles of the post, this will decrease the loading time of your template.Follow below steps to do it.

1.Login to your blogger dashboard--> layout- -> Edit HTML

2.Click on "Expand Widget Templates"

3.Scroll down to where you see this:

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

4.Now Replace above line with below code.

<!--ARCHIVE-TITLES-STARTS--><b:if cond='data:blog.homepageUrl !=data:blog.url'><b:if cond='data:blog.pageType != "item"'><a expr:href='data:post.url'><li></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><!--ARCHIVE-TITLES-STOPS-->

5.Now save your template and you are done.

6 thoughts on “How To Show Only The Title Of Posts For Searches, Archives And Labels

  1. Hi Nice Hack.
    Thanks

    Please tell me how to this type of comment box in my blog.

    Waiting for your reply.

  2. Used this on my site and works awesome. Been looking for this functionality for months now; SO glad to have found it. THANK YOU!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.