Skip to main content

Hide Label Tags And Author Name In Blogger Posts

There are some pages like your contact page, about us page, table of contents page where you don't want label tags or "Posted by Author at ABC time"  text to appear.  You can view any of my page in the navigation menu  and you will observe that you see no tags or author names below post titles.

How To Hide Label Tags On Selected Pages Of Blogger?

  1. Go To Blogger > Design > Edit HTML
  2. Backup your template
  3. Check the "Expand Widget Templates" box
  4. Search For,
<span class='post-labels'>


    5.  Now add the following code just above it,
<b:if cond='data:blog.url != "URL OF Selected Post"'>


Replace URL OF Selected Post with the Link of the page where you want to hide label tags.
    6.  Just 6-7 lines below the code you search for in step#4, you will find this,
</span>


    7. Just after it paste the code below,
</b:if>


    8. Save your template and visit that selected page and you will see that the labels are gone
.
Hiding Author Name and Date Time On Selected Pages
Inside your template search for this,


<span class='post-author vcard'>




And just below it you will find a  code slightly similar to the one shown below,

<span class='post-author vcard'> 
        <b:if cond='data:top.showAuthor'> 
          <data:top.authorLabel/> 
          <span class='fn'><data:post.author/></span> 
        </b:if> 
      </span>
     <span class='post-timestamp'> 
        <b:if cond='data:top.showTimestamp'> 
          <data:top.timestampLabel/> 
        <b:if cond='data:post.url'> 
          <a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601'><data:post.timestamp/></abbr></a> 
</b:if> 
        </b:if> 
      </span>




You just need to add the following codes before and after the bolded Red lines as shown below
<b:if cond='data:blog.url != "URL OF Selected Post"'>
<span class='post-author vcard'> 
        <b:if cond='data:top.showAuthor'> 
          <data:top.authorLabel/> 
          <span class='fn'><data:post.author/></span> 
        </b:if> 
      </span>
  <span class='post-timestamp'> 
        <b:if cond='data:top.showTimestamp'> 
          <data:top.timestampLabel/> 
        <b:if cond='data:post.url'> 
          <a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601'><data:post.timestamp/></abbr></a> 
   </b:if> 
        </b:if> 
      </span>
</b:if>


Now again you will have to replace URL OF Selected Post with your selected page link.
Save your template! Done!


That's All!

Comments

Popular posts from this blog

Get a Best Free Web Hosting from ByteHost.Com

A website is necessary for every business or a job now a days. And to make a website, a web hosting is needed. Many people who can't afford paid web hosting search for a good free web hosting site to make their websites. These are free but they have also some disadvantages such as they are not reliable and your data can be removed any time. Or many of these hosting site are very slow and they give small bandwidth. And some site insert their own advertisements in your site. Among the free hosting websites, there are many site which are better than others with fast speed, large bandwidth and more storage space. I suggest you to use Byethost.Com .

How to Block / Unblock a Website in Your Windows Computer?

Sometimes people want to block any website in their computer. For example if you are a father / mother and want to keep your child away from facebook or any other social networking website etc. so you want to block these site but don't know how to do it. You can block that specific website in your computer by a simple method and then unblock it with the same method. There is no use of any external software. This tutorial is for those people who want to block any website or websites in their PC.

5 things you should know about the qualities of a good blogger

There's thousands of bloggers beginners who want to succeed with blogging, but many do not know how. I'm not sure they will all become successful bloggers, only people who will be on the right track. So you might ask me  "How do I choose the right path?"  The answer lies in your brain.Yes, the forms are correct in your brain.  You have full control to choose what you do. So your brain is the master of choosing the right ways. In other words, you should have thought before you can correctly choose the right one. So if you want to become a successful blogger, the first things you must determine is what is a successful blogger? Or exactly what are the qualities you need to become a successful blogger?  Here are the answers:   1.  Hard work.  I read many blogs of successful bloggers and I note that they never teach or advise how to get rich quickly. They say they do not like someone's getting rich overnight. And the...