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-->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.
<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-->
Via : BloggerStop
2 comments:
Yes this is very useful tip
It should be decrease the loading time of template :)
Post a Comment
Comments posted on 84Productions are Moderated. Please do not use any abusive language.
Do not spam in comment box.
Thanks
Gagan