Set H1 only full post and H2 homepage Blogger

Many want to use the H1 tag for their post titles, only by setting H1 in the post title on the homepage will appear more H1 (this can be a disadvantage on the side seo).

Today, however, I was able to configure only H1 and H2 in the text of the article when we are on the homepage.
You can check the tag itself on this site! 

Configure only H1 and H2 full article on the homepage:

  • Accere to Blogger
  • Type
  • Edit HTML
  • Ctrl + F and find the sequent string <div class='wrapfullpost'>
  • You should now have something like this:
<b:if cond='data:post.title'>
<br/>
<h2 class='post-title entry-title'>
<b:if cond='data:post.link'>
<a expr:href='data:post.link'>
<data:post.title/>
</ A>
<b:else/>
<b:if cond='data:post.url'>
<a expr:href='data:post.url'>
<data:post.title/>
</ A>
<b:else/>
<data:post.title/>
</ B: if>
</ B: if>
</ H2>
</ B: if>


  • Replace with:


<b:if cond='data:blog.pageType != "item"'> 
<b:if cond='data:blog.pageType != "static_page"'> 
<b:if cond='data:post.title'> 
<h2 class='post-title entry-title'> 
<b:if cond='data:post.link'> 
<a expr:href='data:post.link' expr:title='data:post.title'> <data:post.title/> </ a> 
<b:else/> 
<b:if cond='data:post.url'> 
<a expr:href='data:post.url' expr:title='data:post.title'> <data:post.title/> </ a> 
<b:else/> 
<data:post.title/> 
</ B: if> 
</ B: if> 
</ H2> 
</ B: if> 
<b:else/> 
<h2 class='post-title entry-title'> 
<b:if cond='data:post.link'> 
<a expr:href='data:post.link' expr:title='data:post.title'> <data:post.title/> </ a> 
<b:else/> 
<data:post.title/> 
</ B: if> 
</ H2> 
</ B: if> 
<b:else/> 
<h1 class='post-title entry-title'> 
<b:if cond='data:post.link'> 
<a expr:href='data:post.link' expr:title='data:post.title'> <data:post.title/> </ a> 
<b:else/> 
<data:post.title/> 
</ B: if> 
</ H1> 
</ B: if> 

You should now have the title is not clickable in H1 when you open a full article and if you go into one category or the tag on the homepage should be in H2.
SHARE

About Unknown

    Blogger Comment
    Facebook Comment

4 comments:

  1. not working www.mytech786.blogspot.in

    ReplyDelete
  2. This is a wonderful business and delivered. They presented some wikipedia links professional services for my firm, and I was pleased with how well they carried out the bright white hat SEO strategies. A founder is a stand-up person who stands to power his phrase.

    ReplyDelete