--> Hide Label Tags and Author Name In Blogger Posts | Experience Lab - Online business creation and development guide for bloggers and startups

Hide Label Tags and Author Name In Blogger Posts

There are some pages like your contact page, about page, table of contents page where you don't want label tags or " Posted by Auth...

HIDE-LABELS-AND-AUTHORThere are some pages like your contact page, about page, table of contents page where you don't want label tags or "Posted by Author at xyz time"  text to appear.  You can view any of my page in the navigation menu above 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 large 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 blue 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 and say bingo!

How to hide them on more than one page?

If you want to hide the labels and date and time on another page also then just repeat the same process. For example if you want to hide them on three selected pages then do this for date and time,

<b:if cond='data:blog.url != "URL OF Selected Post -1"'>

<b:if cond='data:blog.url != "URL OF Selected Post -2"'>

<b:if cond='data:blog.url != "URL OF Selected Post -3"'>

<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>

</b:if>

</b:if>

Do the same for hiding label tags as mentioned in step#4

Need help?

If you faced any problem just let me know. It would be a pleasure to help you. You will also enjoying read how to show and hide widgets in Blogger

That's All!

COMMENTS

Name

Affiliate Marketing,12,Announcement,34,Bing,9,Bitcoin,38,blog,7,Blogger Resources,42,Blogger Templates,4,blogger tricks,156,Blogging ethics,70,Blogging tips,198,Bugs and Errors,34,Business,9,Copyright Violation,9,CSS and HTMLTricks,95,Designs,8,drop down menu,7,eBook,12,Email Marketing,7,Events,30,Facebook,30,Facebook tricks,49,Google,157,Google AdSense,42,Google Analytics,7,Google Plus,51,Google Plus Tricks,38,Guest Posts,112,home,2,How To,77,Internet,1,JSON Feeds,25,Kitchen Recipes,2,Label Based Sitemap Themes,1,Make Money Online,108,Marketing,16,MBT Blogger Templates,7,Menus,1,News,146,Pages,1,Posts,10,presentations,15,Responsive,10,Reviews,7,SEO,307,Settings,6,Shortcode,15,Sitemap Themes,1,Social Media,155,Technology,7,Templates,1,Tips,2,Tools,1,Traffic Tips,80,Video,19,Web Designing,62,web hosting,18,Webmaster Tools,97,Widgets,199,wordpress,26,
ltr
item
Experience Lab - Online business creation and development guide for bloggers and startups: Hide Label Tags and Author Name In Blogger Posts
Hide Label Tags and Author Name In Blogger Posts
http://lh6.ggpht.com/-pLhAASoWFB0/TfPw7HCSC0I/AAAAAAAADxU/aEcEE77dLko/HIDE-LABELS-AND-AUTHOR%25255B13%25255D.png?imgmax=800
http://lh6.ggpht.com/-pLhAASoWFB0/TfPw7HCSC0I/AAAAAAAADxU/aEcEE77dLko/s72-c/HIDE-LABELS-AND-AUTHOR%25255B13%25255D.png?imgmax=800
Experience Lab - Online business creation and development guide for bloggers and startups
https://www.experiencelab.info/2011/06/hide-label-tags-and-author-name-in.html
https://www.experiencelab.info/
https://www.experiencelab.info/
https://www.experiencelab.info/2011/06/hide-label-tags-and-author-name-in.html
true
2959477579779989044
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy