RSS Subscription

Subscribe via RSS reader:
Subscribe via Email Address:
 
Showing posts with label Blogger Widgets. Show all posts
Showing posts with label Blogger Widgets. Show all posts

How To Show Only Post Titles in Label / Archive Pages in your Blog (Blogger)

Posted By laxmi On 5:41 AM 0 comments
To Show Titles of post in home pages,Archive pages, Lable pages etc. First you want to Clear that conditional Tags that can be used in blogger.They are easy to use.You can Display your post in any way by using These conditional tags.There are two Cases.

#Case 1


Login to Blogger>>>Go To LAYOUT>>>Then Click On Edit HTML>>>Check Mark Expand Widgets>>>Press Ctrl+F


And Search

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


To Show titles Only on label or archive page Replace with Below Codes :-

<b:if cond='data:blog.homepageUrl != data:blog.url'>  <b:if cond='data:blog.pageType != "item"'>  <h3 class='post-title'><a expr:href='data:post.url'><data:post.title/></a></h3>  <b:else/>  <b:include data='post' name='post'/>  </b:if>  <b:else/>  <b:include data='post' name='post'/>  </b:if>

After Saving you will see only post titles on clicking Lable Or Archive
#Case 2


Show titles on Lable Or Archive.

Login to Blogger>>>Go To LAYOUT>>>Then Click On Edit HTML>>>Check Mark Expand Widgets>>>Press Ctrl+F


And Search
<data:post.body/>

After finding Replace with:-

<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.

Replace Item With:-

index It will show post title only in archive pages

archive to NOT show in Archive Page