Saturday, June 6, 2009

Hack To Improve Blogger Label and Archive Pages

How to display post titles only on Blogger archive page?
How to show blog posts titles on Blogspot archive page?
How to set Blogger to show only blog titles on archive page?
How to show titles only on archive pages of Blogger blog?

How to display post titles only on Blogger label page?
How to show blog posts titles on Blogspot label page?
How to set Blogger to show only blog titles on label page?
How to show titles only on label pages of Blogger blog?

This hack will enhance the label and archive pages on a Blogspot blog.

blogger archive title only

Showing only the titles and not the content.

Dashboard > Layout > Edit HTML > check Expand Widget Templates box

Then find this code line:

<b:include data='post' name='post'/>

Replace that line with this coding.

<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>

Save.

Now you have summarized label and archive pages.

Credit: Blogger Widgets

10 comments:

wayeyoung said...

good one. used it upon your recommendation lol.. isit? =.= forgot

Viya said...

How does this improve the ranking? Mind to be more precise? thanks!

Mat`amiT said...

ooo nice

Vinod said...

nice one !

study article said...

Excellent, worked on my page!

Luke Johnson said...

Wow, awesome, I definitely am going to try this one out!

Luke Johnson said...

I actually just had to remove this coding modification because there's one serious problem with it - it makes additional pages on your blog un-viewable. Apparently they are treated as archives and thus won't display in full, even after clicking on the title.

Otherwise, this mod is great! I really wish I could still use it, but my blog needs its pages... :(

Gourmet Dad said...

Same here about pages being unviewable after using your code. I really want to use it but I need my pages to work still.

Thanks!

Maximo Ginez III Blogpage said...

I have posted this Tip/Trick to my Blog at:
http://maxginez3.blogspot.com/2011/03/customized-blogger-labels-tips-tricks.html
Thanks
Max

The Malay Who Speaks said...

IT DOESN'T WORK

Related Posts Plugin for WordPress, Blogger...
Follow Me on Twitter