Image Image Image Image Image Image Image

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

Sunday, July 05, 2009 Things 222
Post views: counter

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.

You may even like these posts



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