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

Download The Best Templates Ever!

Every body knows that template is an essential part of one's site/blog.Evey wants a nice and attractive template for his site or blog.But some need templates of their own choice.Today I'm giving the link to those sites which  provide free templates especially for blogger.These are the best templates.I have chosen them  for you. So here's the links and sites names.You can download them.                                                                                                                                              Download  Best Templates For Blogger Here is one of the coolest template: ...

Hide Post Date,Time And Author

There many reasons for hiding post date,time and author like a blogger wants to see his blog clean and clear so he hide them.I am going to show you that how to hide post date,time and author name.So don’t waste your time on thinking and just follow the simple steps given:

Submit Blogger Sitemap To Bing And Yahoo

  Every one believes that Google is the #1 site overall the world and most of the people like to search on Google  .But many other like Bing and Yahoo and like to search on them So one must submit his site to Google as well  as to Yahoo and Bing. After submitting your site to Yahoo And Bing you will see a huge Traffic rate increased in your blog/site.Yahoo merged site explorer into Bing Webmaster Tools with a partnership contract.From then onwards webmasters were requested to submit there sitemaps to Bing in order to except  traffic from Yahoo and Bing both.So don’t waste your time and Just follow the steps below: