How to Hide Author Name in Blogger Post



How to Hide Author Name in Blogger Post
Easy steps to remove the Author Name in blogger post
  • Again Go To Blogger >> Your Blog >> Template >> Edit HTML 
  • BackUp Your Template
  • Press Ctrl+F And Search For below Code


<span class='post-author vcard'>


  • Below the above code you'll see the code similar to the below one

<span class='post-author vcard'>
                <b:if cond='data:top.showAuthor'>
                  <b:if cond='data:post.authorProfileUrl'>
                    <span class='fn'>
                      <a expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
                        <data:post.author/>
                      </a>
                    </span>
                  <b:else/>
                    <span class='fn'><data:post.author/></span>
                  </b:if>
                </b:if>
             
 </span>


  • You have to add the below codes before and after the red text tags.


<b:if cond='data:blog.url != "URL Of Particular Post 1"'>
<span class='post-author vcard'>
                <b:if cond='data:top.showAuthor'>
                  <b:if cond='data:post.authorProfileUrl'>
                    <span class='fn'>
                      <a expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
                        <data:post.author/>
                      </a>
                    </span>
                  <b:else/>
                    <span class='fn'><data:post.author/></span>
                  </b:if>
                </b:if>
             
 </span>
</b:if> 


  • Replace the yellow highlighted text with the link of that posts, whose date, author name and time, you want to hide.
  • If you want to hide author name, date and time on more than one page then simply add do this in below way.


<b:if cond='data:blog.url != "URL Of Particular Post 1"'>
<b:if cond='data:blog.url != "URL Of Particular Post 2"'>
<b:if cond='data:blog.url != "URL Of Particular Post 3"'>
<b:if cond='data:blog.url != "URL Of Particular Post 4"'> 
<span class='post-author vcard'>
                <b:if cond='data:top.showAuthor'>
                  <b:if cond='data:post.authorProfileUrl'>
                    <span class='fn'>
                      <a expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
                        <data:post.author/>
                      </a>
                    </span>
                  <b:else/>
                    <span class='fn'><data:post.author/></span>
                  </b:if>
                </b:if>
             
 </span>
</b:if> 
</b:if>
</b:if>
</b:if> 

Now Save Your Template And You are Done

2 comments: