Show Only Post Title In Blogger Label-Archive-Home Pages

How to Show Only Post Title In Blogger Label page,Archive Pages or even on home page 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.

Here is an hack how to show post title in any desired page of an blog.

Please Read this tutorial very carefully as it is very easy but i am telling you two ways of doing which have different results.You can use one way at time or both ways at time but results will be different.I will try to make it very simple for you with what would be the result to the blog with each step, so read carefully.

1.Login to Blogger
2.Go To LAYOUT
3.Then Click On Edit HTML
4.Check Mark Expand Widgets
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 check the category page of this Blog.

I hope you will be satisfied with it.This is one way.

Now there is another way of doing it but the results are different.

If you want to show only title of posts in your blog home page also,then only follow this way and implemet it.If you want only label page to show post title just get stoppd after reading first way only.

Now the second way to show only post title in blogger home page too.

1.Login to Blogger
2.Go To LAYOUT
3.Then Click On Edit HTML
4.Check Mark EXpand Widgets
5.Press Ctrl+F

Now search for this line in red :-

<p><data:post.body/></p>

After finding this line replace it with below codes :-

<b:if cond=’data:blog.pageType == “item”‘>
<p><data:post.body/></p>
</b:if>

This will show only post title on all pages of blogger including homepage label and archive pages.

One of my reader asked to show post title only in archive pages so i am placing code for him

Just use these codes to replace the above red line in place of above codes.

<b:if cond=’data:blog.pageType == “index”‘>
<p><data:post.body/></p>
</b:if>

And if you dont want to use post titles in archive pages use archive in place of index in above codes that’s the only word making basic difference between the codes.

*Note-If you are using read more hack in your blogger you will get above red line twice.So replace only the line that appears first in your blog html code and leave second one as it is.

And then preview your template,if its ok. Save It.

The result would be like this in your blog.

Now i will explain difference in both hacks,so dont get confused.

1)Using only 1st way show post title in only label pages and archive pages.
2)Using only second way will show post title in your blog home page and label pages too but the result in label pages is not so beautiful as it shows Post footer links too like it shows in home page.
3)Install both ways in your blog together if you want to show post title in all of your blog pages and give it beautiful look, like have done it in my Earn Money Blog.

I hope now it have been clear how to use both, if still confused just implement 1st way and if you want post title in home page also implement 2nd way also. Thats’ it.
If still any problem leave your comments.

Good Luck !!!!

94 Comments

  1. Satish kumar March 16, 2009
  2. Anshul March 16, 2009
  3. JK March 21, 2009
  4. yahtzee ~ March 24, 2009
  5. Anshul March 24, 2009
  6. Radith Prawira March 30, 2009
  7. Roselover April 7, 2009
  8. Rein Valdez April 16, 2009
  9. kenwooi.com April 26, 2009
  10. Daniel May 2, 2009
  11. Hamidur May 6, 2009
  12. Anshul May 6, 2009
  13. Sujith Bhakthan T R May 9, 2009
  14. Anshul May 9, 2009
  15. Max May 23, 2009
  16. baskar.bloger May 27, 2009
  17. Sandeep May 28, 2009
  18. Sandeep May 28, 2009
  19. Anshul May 28, 2009
  20. lode May 29, 2009
  21. Anshul May 29, 2009
  22. Sandeep May 30, 2009
  23. Anshul May 30, 2009
  24. lode May 31, 2009
  25. Anshul June 1, 2009
  26. lode June 2, 2009
  27. Naveed June 8, 2009
  28. Anshul June 8, 2009
  29. techpinas June 13, 2009
  30. Anshul June 14, 2009
  31. techpinas June 17, 2009
  32. Catherine July 3, 2009
  33. Anonymous July 7, 2009
  34. Mhz Jml August 8, 2009
  35. Cnetworld August 16, 2009
  36. Edgar August 23, 2009
  37. physicskerala August 31, 2009
  38. Anshul September 1, 2009
  39. Physics Kerala September 1, 2009
  40. Anshul September 1, 2009
  41. IF September 4, 2009
  42. Katy September 20, 2009
  43. Anshul September 21, 2009
  44. pasajerolatino October 1, 2009
  45. jjacob October 7, 2009
  46. Shabari Girish October 28, 2009
  47. Anshul October 28, 2009
  48. Andy Mahoney November 4, 2009
  49. Anshul November 8, 2009
  50. Lucky Flaush November 15, 2009
  51. IFFI November 19, 2009
  52. Anshul November 20, 2009
  53. ayman December 9, 2009
  54. Anshul December 9, 2009
  55. DJDB December 12, 2009
  56. Anshul December 13, 2009
  57. O'Seamus March 6, 2010
  58. Anshul March 6, 2010
  59. Benazio R.P March 16, 2010
  60. Ethiohooks March 18, 2010
  61. Anshul April 7, 2010
  62. Jose Valdivia April 24, 2010
  63. Scott-n-Rach June 1, 2010
  64. Bhargav Joshi June 12, 2010
  65. Bhargav Joshi June 12, 2010
  66. Anshul June 13, 2010
  67. Anshul June 14, 2010
  68. TBCD July 4, 2010
  69. Anshul July 4, 2010
  70. Priteh Taral July 19, 2010
  71. Anshul August 5, 2010
  72. Yo Movies August 5, 2010
  73. Sonu khrab August 23, 2010
  74. Anshul August 23, 2010
  75. Sonu khrab August 26, 2010
  76. Anshul August 26, 2010
  77. DWFFDB September 27, 2010
  78. DWFFDB September 27, 2010
  79. Anshul September 27, 2010
  80. Cartoonist October 18, 2010
  81. Lunatic Pandora October 27, 2010
  82. Anshul October 30, 2010
  83. Gourmet Dad May 28, 2011
  84. Gourmet Dad May 28, 2011
  85. Gourmet Dad June 2, 2011

Leave a Reply