Sunday, August 25, 2013

Dynamic Heading Turn Blogger Header into Post Title

Dynamic Heading Turn Blogger Header into Post Title
You may change the blogger header into post title so that the title appear prominently using h1 tag in search engine. Hence, increasing the SEO. The blog title appears prominently with h1 only in the Homepage. And the title shown in h2 in the homepage. In short: here's how to create dynamic heading.

Here's how to do the trick:

1. Login to blogger.com
2. Template -> Edit HTML
3. Find this code:
<b:include name='title'/>
4. Delete and change into the following code:
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<b:include name='title'/>
<b:else/>
<data:blog.pageName/>
</b:if>

5. Save Template. Done.

Or, you may show blog title after Post Title. Copy the following code instead of code no. 4

<b:if cond='data:blog.pageType != &quot;item&quot;'>
<b:include name='title'/> | You blog title or keyword
<b:else/>
<data:blog.pageName/>
</b:if>

Save template. Done.