Hide Author Name And Label From Blogger Posts





In your blog you can add same posts like contact us , about us pages . or in this page you don't want label or author name like see in screen shot . then today i am tell you how to hide author name and label from your selected blogger posts . i thik its change your special post look

But one more option you can use for hide author name and label it is - You can make page in blogger so it was not show your name or label .

but if you can post your about me Etc in post then follow this steps for hide author name and label .

How To Hide Author Name And Label From Blogger Posts ?

1. Go to blogger > Template .
2. Backup your Template .
3. Go to Edit HTML . and click on 'Expand Widget Templates' Box .
4. Find (CTRL+F) this :
<span class='post-labels'>


5. Now add this code above it :
<b:if cond='data:blog.url != "URL OF Post"'> 

 URL OF Post replace this with your selected post link .

6. After this see after 6-7 line this code was show :
</span>

7.  Paster this code after it :
</b:if>

 8. Now Find this code :
<span class='post-author vcard'>

9. You find like this large code :

<span class='post-author vcard'>
                <b:if cond='data:top.showAuthor'>
                  <b:if cond='data:post.authorProfileUrl'>
                    <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
                      <meta expr:content='data:post.authorProfileUrl' itemprop='url'/>
                      <a expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
                        <span itemprop='name'><data:post.author/></span>
                      </a>
                    </span>
                  <b:else/>
                    <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
                      <span itemprop='name'><data:post.author/></span>
                    </span>
                  </b:if>
                </b:if>
              </span>

              <span class='post-timestamp'>
                <b:if cond='data:top.showTimestamp'>
                  <data:top.timestampLabel/>
                  <b:if cond='data:post.url'>
                    <meta expr:content='data:post.canonicalUrl' itemprop='url'/>
                    <a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601' itemprop='datePublished'><data:post.timestamp/></abbr></a>
                  </b:if>
                </b:if>
              </span>

10.  Now paste this code before this bold code and at the end of code :
<b:if cond='data:blog.url != "URL OF Post"'>
<span class='post-author vcard'>
                <b:if cond='data:top.showAuthor'>
                  <b:if cond='data:post.authorProfileUrl'>
                    <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
                      <meta expr:content='data:post.authorProfileUrl' itemprop='url'/>
                      <a expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
                        <span itemprop='name'><data:post.author/></span>
                      </a>
                    </span>
                  <b:else/>
                    <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
                      <span itemprop='name'><data:post.author/></span>
                    </span>
                  </b:if>
                </b:if>
              </span>

              <span class='post-timestamp'>
                <b:if cond='data:top.showTimestamp'>
                  <data:top.timestampLabel/>
                  <b:if cond='data:post.url'>
                    <meta expr:content='data:post.canonicalUrl' itemprop='url'/>
                    <a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601' itemprop='datePublished'><data:post.timestamp/></abbr></a>
                  </b:if>
                </b:if>
              </span>
</b:if>

Again change URL OF Post to your selected page URL .

Note - IF you hide only label then follow this steps only from step 1 to step 7 .

If You hide more then one page then add more code like dis
<b:if cond='data:blog.url != "URL OF Post 1"'>
<b:if cond='data:blog.url != "URL OF Post 2"'>
<b:if cond='data:blog.url != "URL OF Post 3"'> 

and at the end of the code don't forget to paste this :

</b:if>
</b:if>
</b:if>

Do that also with label ( step 1 to step 7

Enjoy Blogging !!

If You Have Any Dought Feel Free And Post Your Questions In Comment Box 

0 comments:

Post a Comment

Share
 
Copyright © . TheFreeTrick - Info: Company Info | Contact Us | Privacy policy
Thetricksfree : Site map | DMCA | Powered by Blogger