Here is Another very Use full Blogger Hack. Also Know As Table of content means only show blog post title not any summary. This Hack makes our blog to load fast and display only blog post title when some one click on any of the label in our blog. This hack works on labels. So it is easy to install and very useful. Follow the below steps to install it on your own blog.
1. Login in to Blogger Dashboard
2. Go to Layout >> Edit HTML
3. Expand widget Template ( Please Don't Forget to Backup your template first )
3. Search below code
<b:include data='post' name='post'/>
4. Replace it with following one
<!-- Start Table Of Content For Labels -->
<b:if cond='data:blog.homepageUrl != data:blog.url'>
<b:if cond='data:blog.pageType != "item"'>
<a expr:href='data:post.url'>
<data:post.title/></a>
<b:else/>
<b:include data='post' name='post'/>
</b:if>
<b:else/>
<b:include data='post' name='post'/>
</b:if>
<!-- Ends Table Of Content For Labels -->
5. Preview and Save Your Template
After Saving Check out your blog. and you will see the difference of your blog posts in label search view
1. Login in to Blogger Dashboard
2. Go to Layout >> Edit HTML
3. Expand widget Template ( Please Don't Forget to Backup your template first )
3. Search below code
<b:include data='post' name='post'/>
4. Replace it with following one
<!-- Start Table Of Content For Labels -->
<b:if cond='data:blog.homepageUrl != data:blog.url'>
<b:if cond='data:blog.pageType != "item"'>
<a expr:href='data:post.url'>
<data:post.title/></a>
<b:else/>
<b:include data='post' name='post'/>
</b:if>
<b:else/>
<b:include data='post' name='post'/>
</b:if>
<!-- Ends Table Of Content For Labels -->
5. Preview and Save Your Template
After Saving Check out your blog. and you will see the difference of your blog posts in label search view
6 comments:
Thanks for the tip! I just incorporated this on my site, www.blogmule.com
I added < br/> (I had to add spaces in order to post the code) to the end of the first line of code. This makes all the post titles appear on different lines. If anyone has a different solution on how to do that, I'd be interested to know. The code looks like this now:
< b:if cond='data:blog.homepageUrl != data:blog.url'>< br/>
Note: if you're going to copy this code, remove the space between < b:if and < br/>.
Thanks again!
Hi!
Here’s a Romanian blogger who took some of your texts and included them on his blog without giving any credit at all…
http://perfu.lanebuni.eu
This is just an example:http://perfu.lanebuni.eu/2009/02/07/display-only-blog-post-title-when-labels-are-clicked.html
He did this from another blog too
@sandydeea Thanks for caring about me. I know that but he has given me full credit for other post. I really appreciate that you care about me.
Actualy i don't see any credit on that blog for any texts taken. That is the whole thing. And on another post he said he did the texts in english. But he ca'n write in romanian really ok and...uhh...he's a spammer too.
uhh...i saw one "via"(credit)..but there's more texts withowt credits
thank you for share,good post
Post a Comment