Know How To Show Post Titles Only In Blogger Label. If your thinking of making a list of category, here are some simple instructions on how to tweak codes in blogger. Labels are what they call the category in blogger, tagging every article with a label is how you categorize it. But the problem with blogger is that when you click on a category/label it shows all titles with the description. Imagine if you have hundreds of article in one category then the outcome would be irritating. So what do you wanna do now is to remove those descriptions after every title. So here's how, follow these steps below.
Go and login to your blogger account.
Navigate to Dashboard*
Then Click Design*
Go to Edit HTML*
Go to Edit HTML*
Check the Expand Widget Templates*
Now search for the code below;
- <b:include data='post' name='post'/>
Then REPLACE it with this code below;
<b:if cond='data:blog.homepageUrl
!= data:blog.url'>
<b:if cond='data:blog.pageType != "item"'>
<b:include data='post' name='post'/>
</b:if>
<b:else/>
<b:include data='post' name='post'/>
</b:if>
!= 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>
Preview your template before saving it to make sure the code is correct.
Hope this helps!
Visit Little Tips for more tips online.
1 comment:
thanks, it works fine,.. !!!
Post a Comment