Adding a list of related posts, links to recent articles and easily accessible categories are among the most effective techniques. Another method which I have noticed in many popular blogs is the "breadcrumb trail": a message above posts which explains how the page being read fits into the heirachy of the blog, with liks to the containing categories.
Hoctro wrote a very useful tutorial which explains how to add a "breadcrumb trail" on item pages in Blogger. However, I preffered to use a method which would display a message on all pages of the blog, including Archives and Search/Label pages. So in this tutorial, I'll explain how to add a status message for each page of your blog, with links to the containing pages for easy reference and increased page views.
How the status messages will appear in your blog
Here are some screenshots of how this customization would appear in your blog design:On the home page:
On item pages:
On archive pages:
On search/label pages:
As you may notice, the default "status message"which appears on your search/label pages is replaced by this new breadcrumb trail, ensuring that this area blends completely with your blog design.
I have tried to ensure the code used in this tutorial will allow the "breadcrumb trail" to blend with other elements of your template, though you can also customize the code and styling to control the design even more.
How to add the "breadcrumb trail" to your Blogger template
This is a surprisingly easy customization to add to your Blogger template, and can be achieved in only three steps:Step 1
Go to Layout>Edit HTML in your Blogger dashboard and ensure you have checked the "expand widget templates" box.Step 2
Using your browser search function, locate this exact phrase in your Blogger template code:<b:include data='top' name='status-message'/>Replace this entire line with the following block of code:<div id='places'>
<b:if cond='data:blog.homepageUrl == data:blog.url'>
<div class='breadcrumbs'>
Welcome to <data:blog.title/>
</div>
<b:else/>
<b:if cond='data:blog.pageType == "item"'>
<div class='breadcrumbs'>
<a expr:href='data:blog.homepageUrl' rel='tag'>Home</a>
<b:loop values='data:posts' var='post'>
<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast == "true"'> »
<a expr:href='data:label.url' rel='tag'><data:label.name/></a>
</b:if>
» <span class='post-title entry-title'><data:post.title/></span>
</b:loop>
</b:if>
</b:loop>
</div>
</b:if>
<b:else/>
<b:if cond='data:blog.pageType == "archive"'>
<div class='breadcrumbs'>
<a expr:href='data:blog.homepageUrl'>Home</a> » Archives for <data:blog.pageName/>
</div>
</b:if>
<b:else/>
<b:if cond='data:navMessage'>
<div class='breadcrumbs'>
<data:navMessage/>
</div>
</b:if>
</b:if>
</div><!-- end places -->Step 3
Find the closing </b:skin> tag in your template (again using your browser search function if it is helpful).Just before this tag, add the following lines of code:
#places {
border: 1px solid $bordercolor;
padding: 5px 15px;
margin: 10px 0;
line-height: 1.4em;
}If your template does not include the variable $bordercolor, replace this phrase with the hex value of a chosen color instead (eg: #000000 for black).
Now preview your template. In the preview, you should see the "Welcome to [your blog name]" message which tells you this customization has worked. If nescessary, you may want to add more margins/padding/a background color to the style statements for #places.
Once you have finished, you are ready to save your template. You can then take a look at various pages in your blog to see how this breadcrumb trail operates.








58 Comments:
Hey Amanda...I'm not using the Blogger Label function...I'm using Technorati Tags instead. Anyway to customize this feature for use with technorati tags?
thanks!
Hi, Amanda, I always read your posts with great interest. I tried to implement your "breadcrumb trail" but I got as a trail something unexpected:
Home » Blogging - tips and tricks » Blogging - tips and tricks » Blogging - tips and tricks » Blogging - tips and tricks » Blogging - tips and tricks » Answers » Blogging - tips and tricks
As you can see my post is "Blogging - tips and tricks" but it is shown so many times and there's "Answers" label too as a link though I have other labels associated with this post as well.
Great job,amanda!
Same thing described by kyko happened at my blog when I tried this. For now I've gone back to the previous lay-out, but would like to implement this feature...
Thanks Amanda.
The same thing that happened to KYKO happens to me! any way to make it look better? or is this the way it should look?
Oops! A lil BIG typo in the previous comment :D
Guys, look for this code:
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast == "true"'> »
<a expr:href='data:label.url' rel='tag'><data:label.name/></a>
</b:if>
» <span class='post-title entry-title'><data:post.title/></span>
</b:loop>
And erase the highlighted lines :D. I'm pretty sure that the problem is because of the b:loop tag.
Still, if it doesn't work this way, we can give it a second shot!
Let me try and report to you later if anything happens, thanks
This is soo coooooooool. Thanx Amanda.
Thanx Fernandooo1. Your tip solved the problem. If anybody is facing the same problem then just follow what Fernandooo1 mentioned. Thanx again.
very interesting post
Don't think anything happened.. but im a bit ignorant .. I see it says the "welcome" message.. but no breadcrumb trail or anything of the sort.. unless I dont know what I am looking for. any suggestions?
never mind.. maybe i needed to cycle the page.. i see it now. thanks Amanda.. and all that considered replying:)
thanks heaps, amanda.
your tips works for me.
i don't have any problem.
btw, in the post where i use more than two labels, only one label appears.
is it supposed to be like that?
can u post a good post summary method for blogspot
none of the method given in u r blog worked in my blog http://24dls.blogspot.com/
jquery method worked but it had many bugs
it displaced all by post formatting if i add a picture in side of my post.
please help me out
thanks in advance..
you can contact me @ voldemort159[at]gmail[dot]com
I did what Fernandooo1 said, but now when I click on a blog post it simply lists "Home>(blog post title)" It doesn't list the labels any more? Any suggestions?
thestillers.blogspot.com
Works great! Thank you!
Yep, Fernandooo1. Better, but now I get the same as Laura. No labels anymore.
I'm also having the same problem.
using original code,
home > post title > label > post title
Farnandooo1's code,
home > post title
Hi guys again! XD
I actually hadn't tried it out, but I solved it now.
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast == "true"'> »
<a expr:href='data:label.url' rel='tag'><data:label.name/></a>
</b:if>
» <span class='post-title entry-title'><data:post.title/></span>
</b:loop>
The line highlighted should actually after the last </b:if>
This means that in the end, the code should look like this:
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast == "true"'> »
<a expr:href='data:label.url' rel='tag'><data:label.name/></a>
</b:if>
</b:loop>
» <span class='post-title entry-title'><data:post.title/></span>
:D Good luck!
Thanks Armanda for your dedications. I applied "breadcrumb" trail successfully in one of my blogger blog successfully without a hitch. However in my 2nd blog I am not able to locate
the Step 2 phrase in my Blogger template code.
Both are of different templates installed.
Any tips??
Regards,
Shrek from MyBlogLog
@fernando:
thanks, it works nicely!
!Fernandooo1!
Thanks, working now
Works great! Thanks so much for the tips
Thanks for the good post.
thanks Fernando!
por cierto solo puedo ver un solo tag, es normal esto? o puedo cambiar el codigo para que muestre mas tags despues de Home???
I can only see one tag, is that normal? i would like to see the rest of them or at least 3, can i change the code to do this? please let me know how!
Thanks a lot!
Thanks a lot Amanda.
love this tips. Since the time I was looking how to do that :)
Does somebody know how to make this hack works in the "header-wrapper" section ?
longue vie à Blogger Buster :)
The Best Blog !!!
And now when I attempt to revert back to the original code, my labels at the end of each post don't display! Tips on the code to get them back would also be great. Thanks!
Right, finally got the breadcrumb trail to work (thanks to Amanda and Fernandooo1!), but somewhere along the lines of trying to rearrange the code to get it to work, I've accidentally removed the code that puts the labels at the end of the post. All I see is Labels: ,
How can I bring them back?! Cheers!
仓库货架|中量A型货架 仓储货架|中量B型货架 库房货架|横梁式货架 塑料托盘|栈板 钢托盘|钢制托盘 折叠式仓储笼|仓库笼 仓储笼|仓库笼|折叠式仓储笼 托盘|钢托盘 托盘|塑料托盘 周转箱|塑料周转箱 托盘|纸托盘 料箱|钢制料箱 工具柜|工具车|抽屉柜 工作台|工作桌 刀具柜|刀具车|刀具架 手动液压托盘搬运车|电动托盘搬运车 手动液压堆高车|手动叉车 仓储笼 仓库笼 南京仓储笼 常州仓储笼 无锡仓储笼 苏州仓储笼 徐州仓储笼 南通仓储笼 镇江仓储笼 连云港仓储笼 泰州仓储笼 扬州仓储笼 盐城仓储笼 淮安仓储笼 宿迁仓储笼 轻量型货架|角钢货架 中量A型货架 中量B型货架 货位式货架 横梁式货架 阁楼式货架|钢平台 悬臂式货架 贯通式货架|通廊式货架|驶入式货架 辊轮式货架|流利条货架 压入式货架 移动式货架|密集架 模具货架 抽屉式货架 汽车4S店货架 汽配库货架 自动化立体仓库货架 托盘|钢托盘|钢制托盘 托盘|塑料托盘 托盘|塑料托盘 托盘|塑料托盘 仓储笼|仓库笼|折叠式仓储笼 手推车|铁板手推车 手推车|静音手推车 置物架|工业置物架|家用置物架 堆垛架|巧固架 挂板架|物料整理架 登高车 物流台车|载物台车 料箱|钢制料箱 搬运车|手动液压托盘搬运车|电动托盘搬运车 堆高机|堆垛机|手动堆高机|电动堆高机 叉车|电动叉车|内燃叉车|叉车厂 货架 货架 仓储货架 仓储货架 仓库货架 仓库货架 货架厂 货架厂 货架公司 货架公司 托盘 钢托盘 铁托盘 钢制托盘 塑料托盘 仓储笼 仓库笼 折叠式仓储笼 折叠仓储笼 仓储货架|仓库货架|库房货架 南京货架|横梁式货架|中型货架 钢托盘|塑料托盘|纸托盘 仓储笼|仓库笼|折叠式仓储笼 钢制料箱|工具柜|工作台 手动液压托盘搬运车|手动液压堆高车 仓库货架|中量A型货架> 仓储货架|横梁式货架|货位式货架 托盘|塑料托盘|钢制托盘|纸托盘 仓储笼|仓库笼|折叠式仓储笼|蝴蝶笼|储物笼 手动液压托盘搬运车|手动液压堆高车 仓库货架|中量A型货架 仓储货架|横梁式货架|货位式货架 托盘|塑料托盘|钢制托盘|纸托盘 仓储笼|折叠式仓储笼|仓库笼|蝴蝶笼|储物笼 手动液压托盘搬运车|手动液压堆高车 仓储货架|仓库货架|库房货架 南京货架|中型货架|横梁式货架 钢托盘|钢制托盘|塑料托盘|纸托盘 仓储笼|仓库笼|折叠式仓储笼 钢制料箱|工具柜|工作台 手动液压托盘搬运车|手动液压堆高车 仓库货架|中量A型货架 仓储货架|中量B型货架 库房货架|横梁式货架|货位式货架 钢托盘|钢制托盘|铁托盘|栈板 托盘|塑料托盘|栈板 纸托盘|栈板 仓储笼|仓库笼|折叠式仓储笼|蝴蝶笼|储物笼 钢制料箱|钢制周转箱|网格式料箱 搬运车|手动液压托盘搬运车|电动托盘搬运车 仓库货架|中量A型货架 仓储货架|中量B型货架 库房货架|横梁式货架|货位式货架 钢托盘|钢制托盘|铁托盘|栈板 塑料托盘|塑料栈板 纸托盘|栈板 仓储笼|仓库笼|折叠式仓储笼|蝴蝶笼|储物笼 钢制料箱|钢质周转箱|网格式料箱 手动液压托盘搬运车|液压搬运车 仓储货架|>仓库货架|库房货架 南京货架|中型货架|横梁式货架 钢托盘|钢制托盘|塑料托盘|纸托盘 仓储笼|仓库笼|折叠式仓储笼 钢制料箱|工具柜|工作台 手动液压托盘搬运车|手动液压堆高车 仓库货架|中量A型货架 仓储货架|中量B型货架 库房货架|横梁式货架|货位式货架 钢托盘|钢制托盘|铁托盘|栈板 塑料托盘|塑料栈板 纸托盘|栈板 仓储笼|仓库笼|折叠式仓储笼|蝴蝶笼|储物笼 钢制料箱|钢质周转箱|网格式料箱 手动液压托盘搬运车|托盘搬运车 货架|仓储货架|仓库货架|库房货架 南京货架|上海货架|北京货架 轻型货架|中型货架|搁板式货架 重型货架|横梁式货架|托盘式货架 托盘|木托盘|纸托盘|木塑托盘 托盘|钢托盘|塑料托盘|钢制托盘 仓储笼|仓库笼|折叠式仓储笼 手推车|静音手推车|铁板手推车 物料架|整理架|挂板架 料箱|钢制料箱|钢制周转箱|网格式料箱 手动液压托盘搬运车|电动托盘搬运车 手动液压堆高车|半电动堆高车|手动叉车 塑料周转箱|物流箱|塑料化工桶|塑料卡板箱 工具柜|上海工具柜|南京工具柜|抽屉柜 工作台|工作桌|南京工作台|上海工作台 刀具车|刀具柜|刀具架|刀具座 货架 货架厂 货架公司 仓储货架 仓库货架 库房货架 南京货架 上海货架 托盘 钢托盘 钢制托盘 货架|轻量型货架|角钢货架 货架|中量型货架|次重型货架 货位式货架|横梁式货架|重量型货架 仓储货架|阁楼式货架|钢平台 仓储货架|悬臂式货架 仓储货架|贯通式货架|通廊式货架|驶入式货架 仓库货架|库房货架|抽屉式货架|模具货架 仓库货架|库房货架|汽车4S店货架|汽配库货架 货架厂|货架公司|南京货架|上海货架|无锡货架|苏州货架 货架厂|货架公司|北京货架|天津货架|沈阳货架|大连货架 货架厂|货架公司|广州货架|深圳货架|杭州货架 托盘|钢托盘|钢制托盘 托盘|塑料托盘 仓储笼|仓库笼|折叠式仓储笼 置物架|多功能置物架|卫浴置物架 料箱|钢制料箱|钢制周转箱 手动液压托盘搬运车|不锈钢托盘搬运车|电动托盘搬运车 手动液压堆高车|半电动堆高车|电动堆高车|堆垛车 货架 仓储货架 仓库货架 货架厂 货架公司 托盘 钢托盘 铁托盘 钢制托盘 塑料托盘 仓储笼 仓库笼 折叠式仓储笼 折叠仓储笼 货架 货架 货架 仓储货架 仓储货架 仓储货架 仓库货架 仓库货架 货架厂 货架厂 货架公司 货架公司 托盘 钢托盘 铁托盘 钢制托盘 塑料托盘 仓储笼 仓库笼 折叠式仓储笼 货架 货架 货架 仓储货架 仓储货架 仓储货架 仓库货架 仓库货架 仓库货架 货架厂 货架厂 货架厂 货架公司 货架公司 货架公司 托盘 钢托盘 铁托盘 钢制托盘 塑料托盘 仓储笼 仓库笼 折叠式仓储笼 折叠仓储笼 托盘 塑料托盘 钢托盘 钢制托盘 铁托盘 货架厂 仓储笼 仓库笼 折叠式仓储笼 折叠仓储笼 南京货架 货架公司 货架厂 仓库货架 仓储货架 货架 货架
Hi, thanks for the nice words you left in my post comment.. I impressed you bro...
Great Tut, There are so many great ways to spice up blogger here.
thanks amanda that great,it work .nice tps :D
I manage to but it in my blog, great tips. Thanks a lot.
Dear Visitors,
Now we have seen that Nifty has already cracked down alot due to recession fear. Reality sector was the worst affected in this fall. Stocks like WWIL, Unitech etc has fallen quite drastically. Investors are loosing confidence in the market. Maximum stocks are trading atleast 30% down from there 52 week high in Indian stock market .
Now one can think of buying stocks for Long term.
Few best stocks to be picked are:-
1. Reliance
2. Suzlon
3. Sesagoa
4. LT
Just grab these stocks at every dip and stay invested for atleast 3 months and see the appreciation yourself.
For any doubt please feel free to ask us.
Thanks
Regards
www.ShareTipsInfo.com Team
Call at:-
+91-9891655316
+91-9899056796
+91-9891890425
On Yahoo Messenger: ShareTipsInfo@yahoo.com or ShareTipsInfo_1@yahoo.com
On Google Talk: ShareTipsInfo1
Mail at:-
contact@sharetipsinfo.com
sharetipsinfo@yahoo.com
sharetipsinfo_1@yahoo.com
sharetipsinfo@gmail.com
No luck. I am using your Super Custom Template with some modifications. No luck with step 2.
This may have been convered, but is there a simple way to add a Continue Reading Link like you have on BB. It would be great if it carried over to the messages send by Feedburner. They would have to click to get the entire post as opposed to reading the entire post in email and not visiting the site
good one Amanda
Hi all,
I hope someone can help. I have the code in, but had the same problems with the title repeating, and only one label shows up. I tried to do what Fernando1 said- copied the code and pasted- but this didn't work. I hope someone can help. If not I might take a look at the original hack.
The 2 issues: repeat title
only one label shows
Thanks,
Tessa
Well, after playing around with Fernando1's fix- I finally got it working without the title repeating! I tried to put the code in here, but it wouldn't take it (don't know how to do this in a comment)
It worked beautifully! If anyone wants it, let me know.
Now the second issue- why does it show only one label? Can we change the number of labels? I noticed this with Hoctro's way of doing it, as well. I'm gonna play with it and see if I can come up with something.
Tessa
One more note about something I've noticed. If you don't add a label to a post, the only thing that will show up in the breadcrumb area is the word 'home'. The post title won't even show, until you add a label.
Tessa
thx for ur tutorial . it works well .
Excellent add-on! I'm new to Blogger and was hoping maybe you could point me in the right direction. Is there a way to make a 2 column layout a 3-column layout? Any feedback would be greatly appreciated.
Hi I tried to follow all the info above.
I keep getting this error."
Please correct the error below, and submit your template again.
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The element type "div" must be terminated by the matching end-tag "
I cannot find any missing tag
Thanks
Maggie
Yeah worked me tooo
Thanks for posting.
Infomist Services
Hi, I can't get this to work on my blog. I'm using this template
http://www.jackbook.com/blogger-templates-gallery/rainbow-garden-blogger-template
my blog is:
http://theidleduck.blogspot.com
I don't have the code mentioned in step 2. If anyone can have a look and tell me how to do it I'd be very grateful. Thanks.
Okay I got this to work just fine but why does it just say Welcome to Dishpan Dribble, my blog name? Am I suppose to add a label in there? If so how?
There are ed hardy shirts
,pretty ed hardy shirt for men, ed hardy womens in the ed hardy online store designed by ed hardy ,many cheap ed hardy shirt ,glasses,caps,trouers ed hardy shirts on sale ,
You can go to edhardyshirts.com to have a look ,you may find one of ed hardy clothing fit for you
http://straighthairgirl.blog126.fc2.com
http://www.seriousblogging.com/crazygirlsshirts
http://www.free-blog-site.com/iammyself
http://d.hatena.ne.jp/hotfishing
chaussure pumachaussure sport chaussure nike
check my cool sites:
http://lovepox.blogspot.com/
I like this site very much... plz provides us some simple template.with rightside sidebar a box. and below 2 more sidebar.
I have found a way to show multiple labels assigned to one posts. In addition to Fernando's correction to fixed the looping titles, remove the bolded lines as noted below:
<b:if cond='data:label.isLast == "true"'> »
<a expr:href='data:label.url' rel='tag'><data:label.name/></a>
</b:if>I did this and VIOLA multiple labels appeared in the breadcrumb trail. I also rearranged the breadcrumbs so that it looks like:
HOME » post title » multiple-labels
This hierarchy seemed more logical, to me anyway, for multiple labels.
My blog where I used this technique (in addition to a Hoctro script.)
The complete edited code:
<!-- breadcrumb bloggerbuster -->
<div id='places'>
<b:if cond='data:blog.homepageUrl == data:blog.url'>
<div class='breadcrumbs'>
Welcome to <data:blog.title/>
</div>
<b:else/>
<b:if cond='data:blog.pageType == "item"'>
<div class='breadcrumbs'>
<a expr:href='data:blog.homepageUrl' rel='tag'>HOME</a>
<b:loop values='data:posts' var='post'>
» <strong><data:post.title/></strong>
<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
» <a expr:href='data:label.url' rel='tag'><data:label.name/></a>
</b:loop>
</b:if>
</b:loop>
</div>
</b:if>
<b:else/>
<b:if cond='data:blog.pageType == "archive"'>
<div class='breadcrumbs'>
<a expr:href='data:blog.homepageUrl'>HOME</a> » Archives for <data:blog.pageName/>
</div>
</b:if>
<b:else/>
<b:if cond='data:navMessage'>
<div class='breadcrumbs'>
<data:navMessage/>
</div>
</b:if>
</b:if>
</div><!-- end places -->
<!-- breadcrumb bloggerbuster -->
How do you know the total number of search results in a blogger search
We all get bombarded every day with mails, morning briefs as to which stock we should pick and how will be the market trend today. Every time the brokerage houses will send the stock market tips as if we all are playing a gamble and need the tricks as to how we can win it. And anticipating as to how to do stop loss and at least will make smaller profits. What most of the investor do is they consider short term trading as the long term investment and believe as to how it can be doubled in a day. Buying a stock just because the price is low and some stock market tip you received that this will boom in the market today. What most of us do is that we all trade with money which we can’t afford to lose but the market always says that invest only that money which is in excess to you. All of these are the big mistakes which we commit every day in spite of being reminded every time that we should complete our home work for the next day.
www.sharetipsexpert.com
one day i went shopping outside,and in an ed hardy store,I found some kinds of ed hardy i love most they are Your website is really good Thank you for the information Abercrombie Hats Abercrombie Hats Abercrombie and Fitch Scarves Abercrombie and Fitch Scarves Abercrombie Fitch Scarves Abercrombie Fitch Scarves Abercrombie Scarves Abercrombie Scarves Abercrombie Fitch slippers Abercrombie Fitch slippers Abercrombie Fitch ruehl-no-925 Abercrombie Fitch ruehl-no-925 discount Abercrombie Fitch discount Abercrombie Fitch Abercrombie and Fitch clothing sale Abercrombie and Fitch clothing sale Cheap Abercrombie clothing Cheap Abercrombie clothing Abercrombie Fitch Hats Abercrombie Fitch Hats Ed Hardy Ed Hardy Thank you for the information
@Bruce Hembd
Thank you! I can't find the Fernandooo1 comment, but yours work fine :)
Post a Comment