How To Show Only Post Titles In Blog Archives : Blogger Hack

You can see that when you click on Labels on right hand side or select archives in this template, only post titles are shown but not the whole post. This reduces the page loading time of my template. Here is a quick tutorial on how to show only post titles :

Step1) First open Blogger and click on Layout and then Edit HTML.

Step2) Now put a tick on Expand Widget Templates.

Step3) Now search for the following code :

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

Step4) Now replace the above code with the following 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–>

From now when users will click on Archives, they will see only the titles of the post, this will increase the loading time of your tepmlate.

Via : BloggerStop

4 Comments

  1. alok says:

    Yes this is very useful tip

  2. Sumit says:

    It should be decrease the loading time of template :)

  3. anshul says:

    hello gagan,
    i ws looking for solution of a problem when i came across your site. Must say its very useful for newbies like me. Keep up the good work.

    i have a similar functionality in my blog to show only titles in labels and archives. The problem is that the main page shows title text but when i click on 2nd page (through page navigation menu) then only post titles are shown there instead of title text. i want titles text in all pages and titles only on “labels” and “archive” pages. can you help me fix this problem ? i have a very little idea of html.

  4. Temeka says:

    Hello there! Do you know if they make any plugins to safeguard against hackers?

    I’m kinda paranoid about losing everything I’ve
    worked hard on. Any suggestions?

Leave a Reply