When your blog content grows, your index (Label Archive) pages become bigger. This translates to longer loading time, and long loading time is of course no good for your blog because your visitors moves off. One way to remedy this is by showing only post titles on these pages. This will help speed up the loading time. It also make it easier for your visitors to browse your contents.You have seen many blogs using this trick to show only there post title in any page.Wordpress users easily do this by using various plugins. Now you can make it work in your blog by using this hack There are 2 ways to change it so read the full article
LIVE DEMO
<b:if cond='data:blog.homepageUrl !=data:blog.url'>
<b:if cond='data:blog.pageType != "item"'><a expr:href='data:post.url'><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>
LIVE DEMO
<b:if cond='data:blog.pageType == "item"'>
<p><data:post.body/></p>
</b:if>
Show Only Post Title In Blogger Label Archive Page Demo
How to Show Only Post Title In Blogger Label Archive Page in Blogger
- Go to Blogger Dashboard
- Click on DropDown Menu and select Template
- Backup your Template before making any changes to your blog
- Now Click on Edit HTML --> Proceed --> Expand Widget Templates
- Press Ctrl + F and search the code shown below
<b:include data='post' name='post'/>
- Now replace the above code with the code shown below
<b:if cond='data:blog.homepageUrl !=data:blog.url'>
<b:if cond='data:blog.pageType != "item"'><a expr:href='data:post.url'><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>
- Now save your template
Show Only Post Title In Home Label Archive Page Demo
How to Show Only Post Title In Blogger Home Label Archive Page in Blogger
- Go to Blogger Dashboard
- Click on DropDown Menu and select Template
- Backup your Template before making any changes to your blog
- Now Click on Edit HTML --> Proceed --> Expand Widget Templates
- Press Ctrl + F and search the code shown below
<p><data:post.body/></p>
- Now replace the above code with the code shown below
<b:if cond='data:blog.pageType == "item"'>
<p><data:post.body/></p>
</b:if>
- This will show only post title on all pages of blogger including homepage label and archive pages
- If you want to show only in archive pages then replace the above code <p><data:post.body/></p> with the code shown below
<b:if cond='data:blog.pageType == "index"'>
<p><data:post.body/></p>
</b:if>
<p><data:post.body/></p>
</b:if>
- Now save your template
6 comments
Dear Sonu I am Not Able to do this Because in my HTML I am not able to find on my blog http://governmentandpvtnaukri.blogspot.in/ in m blog J Query Lable also not working please help me out
@Nitin DwivediSearch this code <data:post.body/> . You will find this code 2 times. Replace only first code
its not look good in my blog please help me so that in my blog only title will show withe different tag on my home page
@Nitin DwivediI can't understand what you are saying...
Actually This Gadget Not look good in my blog ....its not showing title In Proper way
The new Blogger interface supports the "Read More..." feature natively in the post editor. Take a look at the following article for more information:
Show Only Post Title and Short Text in Blogger
Click to Add a New Comment