How To : Show Only Titles In Archive Pages and Label Pages in Blogger
by Zaheer Khan..
This will help the visitor to have a glance of what different posts are there in that category . Lets see how to do that in step by step.
Step 1. Go to Templates -->Edit HTML
Step 2. Click on Proceed
Step 3. Then click on the Expand Widget Templates check box. Make sure its checked. Find the following code....
1
| < b:include data = 'post' name = 'post' /> |
Step 4. Replace the above code with the following....
< 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 > |
Done! Now click on any label and you'll be seeing only titles of your blogs.
No comments:
Post a Comment