In Blogger, How to Hide the Lables & Date Stamps under "Read More" ?. It should display only on expanded conditions !
Blogger Forums » Blogger Template Tweaks
How to Hide the Lables & Date Stamps
(3 posts)-
Posted 2 years ago #
-
You will have to wrap the code for that inside b:if conditions.
To wrap the Date header, find
<data:post.dateHeader/>
and change it to
<b:if cond='data:blog.pageType == "item"'>
<data:post.dateHeader/>
</b:if>To wrap the label links find
<b:if cond='data:post.labels'>
<data:postLabelsLabel/>
<b:loop values='data:post.labels' var='label'>
<data:label.name/><b:if cond='data:label.isLast != "true"'>,</b:if>
</b:loop>
</b:if>and wrap it as
<b:if cond='data:blog.pageType == "item"'>
<b:if cond='data:post.labels'>
<data:postLabelsLabel/>
<b:loop values='data:post.labels' var='label'>
<data:label.name/><b:if cond='data:label.isLast != "true"'>,</b:if>
</b:loop>
</b:if>
</b:if>
Refer :Blogger Conditional TagsPosted 2 years ago # -
Thanks a lot Aneesh.
I have been tried & It's working fine.Posted 2 years ago #
Reply
You must log in to post.

