This tutorial teach you how to make post titles non clickable inside the posts. If you use adsense below post title, it'll be huge boost for adsense.
01. Go to Layout -> Edit HTML and click on Expand Widget Templates
02. Now look for something similar to this code in your template:
<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>
And Replace It with:
<b:if cond='data:blog.pageType != "item"'>
<h3 class='post-title entry-title'>
<a expr:href='data:post.url'><data:post.title/></a>
</h3>
<b:else/>
<h3 class='post-title entry-title'>
<data:post.title/>
</h3>
</b:if>
Done. Now in item page post title non clickable.
Note: The Headings tags <h2> and <h3> depend on your template. Default blogger post title use h3 tags. Keep it mind when you do it.
2 comments:
not working..
Nope, it's working properly just tested again.
Post a Comment