To show only post titles in archive and homepage

Friday, January 01, 2010


To show specific number of posts in label pages is already posted. If your blog has much content and if not possible to manage, then here a hack. This helps to show only post titles in label, archive and homepage.

To get this hack just follow the instructions below :
  • Login to Blogger
  • Go to > Layout > Edit HTML and select 'Expand Widget Templates'
  • Now follow the below steps carefully.
To show post titles in homepage only
If you want to show post titles in homepage only the search for <b:include data='post' name='post'/> and replace it with this code :
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<h3><a expr:href='data:post.url'><data:post.title/></a></h3>
<b:else/>
<b:include data='post' name='post'/>
</b:if>
To show post titles in labels page only
If you want to show post titles in labels page only the search for <b:include data='post' name='post'/> and replace it with this code :
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<h3><a expr:href='data:post.url'><data:post.title/></a></h3>
<b:else/>
<b:include data='post' name='post'/>
</b:if>
To show post titles in archive page only
If you want to show post titles in archive only the search for <b:include data='post' name='post'/> and replace it with this code :
<b:if cond='data:blog.pageType == &quot;archive&quot;'>
<h3><a expr:href='data:post.url'><data:post.title/></a></h3>
<b:else/>
<b:include data='post' name='post'/>
</b:if>
If you face any problems or the hack does not work properly please do post comments.

Subscribe to our blog

Do you have any Suggestions, add your comment. Please don't Spam!
If you like this site >> Subscribe to our feed

2 comments:

Anonymous said...

http://dsromdownloads4free.blogspot.com/
http://fullversionpcgames4u.blogspot.com/
download this games

slysashe May 1, 2022 at 2:03 PM said...

replica bags in bangkok replica bags china replica bags joy

Post a Comment