July 5, 2009

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

Easily this hack makes you blog load faster + you need not to see all the posts (that might not interest you) + decrease in bounce rate + reader might not have to scroll pages if posts are lengthy.

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

Step 2) Now put a tick on Expand Widget Templates.

Step 3) Now search for the following code using CTRL+F:


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


Step4) 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, search or labels, they will see only the titles of the post, this will decrease the loading time of your template.
Bookmark this post:
Hotklix Hotklix StumpleUpon DiggIt! Del.icio.us BlinklistGoogle Yahoo Furl Technorati Simpy Spurl Reddit I'm reading: Show Only The Title Of Posts For Searches, Archives And Labels ~ Twitter FaceBook

Related Posts :



0 comments:

Post a Comment