Blogger Forums » Blogger Template Tweaks

How to Hide the Lables & Date Stamps

(3 posts)
  1. YemVee

    new member
    Joined: Mar '10
    Posts: 4

    In Blogger, How to Hide the Lables & Date Stamps under "Read More" ?. It should display only on expanded conditions !

    Posted 2 years ago #
  2. aneesh

    site admin
    Joined: Jul '09
    Posts: 244

    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 Tags

    Posted 2 years ago #
  3. YemVee

    new member
    Joined: Mar '10
    Posts: 4

    Thanks a lot Aneesh.
    I have been tried & It's working fine.

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.