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

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.

0 comments:

Post a Comment

 

Support By Blogger