
Show Only Post Title In Blogger Label
How to Show Only Post Title In Blogger Label page or Archive Pages of your blog.You sure would have seen many blogs using this trick to show only there post title in any page they want.Wordpress blogs easily do this using various plugins available but we bloggers also now can make it work in our blogs as its very simple tutorial to implement.
This is the hack i explain you step by step.
1.Login to Blogger
2.Go To LAYOUT
3.Then Click On Edit HTML
4.Check Mark Expand Widgets
5.Please Save you previous template, strongly recommend
5.Press Ctrl+F
Now search For below code line in red :-
<b:include data='post' name='post'/>
And Replace it with Below Codes:-
Now Preview Your template. If it accepts Your Html.Then Save It.
Now open your blog and click on the label or archive page of your blog it will show only post title . For demo you can check on this blog or simply click here.
This is the hack i explain you step by step.
1.Login to Blogger
2.Go To LAYOUT
3.Then Click On Edit HTML
4.Check Mark Expand Widgets
5.Please Save you previous template, strongly recommend
5.Press Ctrl+F
Now search For below code line in red :-
<b:include data='post' name='post'/>
And Replace it with Below Codes:-
<b:if cond='data:blog.homepageUrl
!= data:blog.url'>
<b:if cond='data:blog.pageType != "item"'>
<h3 class='post-title'><a expr:href='data:post.url'><data:post.title/></a></h3>
<b:else/>
<b:include data='post' name='post'/>
</b:if>
<b:else/>
<b:include data='post' name='post'/>
</b:if>
Now Preview Your template. If it accepts Your Html.Then Save It.
Now open your blog and click on the label or archive page of your blog it will show only post title . For demo you can check on this blog or simply click here.
0 comments:
Post a Comment