Laman

Thursday, 17 July 2014

SET TAG H1

Search engines will index blogs ranging from tagH1 to H onwards, a good arrangement H tags will increase the page rank.
Structuring a good H tags as follows:
H1
• Heading (Title Blog)
• Post Title or article on positioning Single Post

H2
• Sub Heading or Blog Description (If it contains keywords)
• Sub Sub Heading or Title Posts

H3
• In the Article Title Posts
• Heading the position Single Post (swapped positions with the title of the post into the H1 tag)
H4
• In the sidebar menu like Categoy, Blogroll, Recent Post, Related Post, Label, etc. Following list

 H5
• Name commenter is a link (in the comments field)

 H6
• In Footer like'' Powered by: Science And Education''



How to change the title tag on the homepage blog into h1 and h3 in the posting.
Search code:

<div class = 'titlewrapper'
etc. ..
etc. ..
etc. ..
</ div>

Replace all of the code above with this code:

<div class='titlewrapper' style='background: transparent'>
<b:if cond='data:blog.pageType != "item"'>
<h1 class = 'title' style = 'background: transparent; border-width: 0px ">
<b:include name='title'/> </ h1>
<b:else/>
<h3 class = 'title' style = 'background: transparent; border-width: 0px ">
<b:include name='title'/> </ h3>
</ b: if>
</ div>

If at some there are more than 1 code <div class = 'titlewrapper', replace all the code above!

How to change the description tag becomes h2 Blog:
Search code:


<div class='descriptionwrapper'>
and so on ...
etc. ..
and so on ...
</ div>
Change into:

<div class='descriptionwrapper'>
<h2 class='description'> <span> <data:description/> </ span> </ h2>
</ div>
If there are more than 1 <div class='descriptionwrapper'> replace everything with the code above?
How to change the h3 tag into the post on the homepage, and became h1 position on the single post page

a. Changing into a h3 heading tags posted on the homepage:
Search code:
<div class = 'post-hentry uncustomized post-templates', at 4 or 5 lines of code at the bottom of this you will find a code like this:


<h? class = "post-title entry-title 'itemprop =' name '>
etc ... etc ... etc ...
etc ... etc ...
and so on ...
</ h?>
Change headnya become h3 tags, H3 when it does not need changing.

b. Changing the head post becomes h1 tag on post page (single post)
Find code that thick red lines on it there are some green code as shown below:

<b:includable id='post' var='post'>
code blah ... blah ... blah ...
code blah ... blah ... blah ...
<a expr:name='data:post.id'/>
<b:if cond='data:post.title'>
<h3 class='post-title entry-title'>
code blah ... blah ... blah ...
code blah ... blah ... blah ...
</ h3>
</ b: if>
<div class='post-header'>

Then replace all the red code with the code below:

<a expr:name='data:post.id'/>
<b:if cond='data:blog.pageType != "item"'>
<b:if cond='data:post.title'>
<h3 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>
</ h3>
</ b: if>
<b:else/>
<h1 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>
</ h1>
</ b: if>

 dont forget to save

No comments:

Post a Comment