Breadcrumbs is a navigation element used in user interfaces, in this case is for website. It helps users to know their current location in a website. Breadcrumbs for website often appears below title bars or menu navigations bars with links back to each category the current post is in.
Breadcrumbs for Blogger with vBB style |
Pros:
- Support Google Rich Snippet (you can test at Webmaster Rich Snippet Tool)
- Support multi label breadcrumb
- Breadcrumbs for label page
- Style and compatible (even support IE)
- Highly optimized and customize.
Breadcrumbs for Blogger is supported and display in Google SERP |
Cons:
- Pretty hard to edit
- Only one style, I will add more style in near future.
How to add Breadcrumbs Navigation for Blogger?
Read the tutorial below.
STEP 1:
Remember back up your template first, then go to Template > Edit HTML > tick Expand widget Templates.STEP 2:
Search for this code if you wanna show breadcrumbs outside post content section, below menu navigation. Add Step 3 code right after that.
<b:includable id='post' var='post'>
And search this code if you wanna show breadcrumbs right upper post title. If you find more than one instances of code, then locate the first one and add Step 3 code above that.
<b:if cond='data:post.title'>
STEP 3:
Paste this section of code.
<!--Start Breadcrumbs code, get at http://htmlmaker.blogspot.com-->
<b:if cond='data:blog.pageType == "item"'>
<div class='breadcrumb' xmlns:v='http://rdf.data-vocabulary.org/#'>
<span class='crumbs'>
<span class='crust' typeof='v:Breadcrumb'>
<a class='crumb' expr:href='data:blog.homepageUrl' property='v:title' rel='v:url'><span itemprop='title'>Home</span></a>
<span class='arrow'><span>></span></span>
</span>
<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"'>
<span class='crust' typeof='v:Breadcrumb'>
<a class='crumb' expr:href='data:label.url' property='v:title' rel='v:url'><span itemprop='title'><data:label.name/></span></a>
<span class='arrow'><span>></span></span>
</span>
</b:if>
</b:loop>
<b:else/>
Untagged
</b:if>
</b:loop>
<span class='crust'>
<a class='crumb' expr:href='data:post.url'><span><data:post.title/></span></a>
<span class='arrow'><span/></span>
</span>
</span>
</div>
<b:else/>
<b:if cond='data:blog.pageType == "archive"'>
<div class='breadcrumb' xmlns:v='http://rdf.data-vocabulary.org/#'>
<span class='crumbs'>
<span class='crust' typeof='v:Breadcrumb'>
<a class='crumb' expr:href='data:blog.homepageUrl' property='v:title' rel='v:url'><span itemprop='title'>Home</span></a>
<span class='arrow'><span>></span></span></span> <span class='crust' typeof='v:Breadcrumb'>
<a class='crumb' expr:href='data:blog.url' property='v:title' rel='v:url'><span itemprop='title'>Archives for <data:blog.pageName/></span></a>
<span class='arrow'><span/></span></span>
</span></div>
<b:else/>
<b:if cond='data:blog.pageType == "index"'>
<b:if cond='data:blog.pageName == ""'>
<b:else/>
<div class='breadcrumb' xmlns:v='http://rdf.data-vocabulary.org/#'>
<span class='crumbs'>
<span class='crust' typeof='v:Breadcrumb'>
<a class='crumb' expr:href='data:blog.homepageUrl' property='v:title' rel='v:url'><span itemprop='title'>Home</span></a>
<span class='arrow'><span>></span></span></span> <span class='crust' typeof='v:Breadcrumb'>
<a class='crumb' expr:href='data:blog.url' property='v:title' rel='v:url'><span itemprop='title'>Posts tagged <data:blog.pageName/></span></a><span class='arrow'><span/></span></span>
</span>
</div>
</b:if>
</b:if>
</b:if>
</b:if>
<!--End Breadcrumbs code, get at http://htmlmaker.blogspot.com-->
- Delete blue line of code to display breadcrumbs with all label, if not, the breadcrumb will only show the last label.<b:if cond='data:blog.pageType == "item"'>
<div class='breadcrumb' xmlns:v='http://rdf.data-vocabulary.org/#'>
<span class='crumbs'>
<span class='crust' typeof='v:Breadcrumb'>
<a class='crumb' expr:href='data:blog.homepageUrl' property='v:title' rel='v:url'><span itemprop='title'>Home</span></a>
<span class='arrow'><span>></span></span>
</span>
<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"'>
<span class='crust' typeof='v:Breadcrumb'>
<a class='crumb' expr:href='data:label.url' property='v:title' rel='v:url'><span itemprop='title'><data:label.name/></span></a>
<span class='arrow'><span>></span></span>
</span>
</b:if>
</b:loop>
<b:else/>
Untagged
</b:if>
</b:loop>
<span class='crust'>
<a class='crumb' expr:href='data:post.url'><span><data:post.title/></span></a>
<span class='arrow'><span/></span>
</span>
</span>
</div>
<b:else/>
<b:if cond='data:blog.pageType == "archive"'>
<div class='breadcrumb' xmlns:v='http://rdf.data-vocabulary.org/#'>
<span class='crumbs'>
<span class='crust' typeof='v:Breadcrumb'>
<a class='crumb' expr:href='data:blog.homepageUrl' property='v:title' rel='v:url'><span itemprop='title'>Home</span></a>
<span class='arrow'><span>></span></span></span> <span class='crust' typeof='v:Breadcrumb'>
<a class='crumb' expr:href='data:blog.url' property='v:title' rel='v:url'><span itemprop='title'>Archives for <data:blog.pageName/></span></a>
<span class='arrow'><span/></span></span>
</span></div>
<b:else/>
<b:if cond='data:blog.pageType == "index"'>
<b:if cond='data:blog.pageName == ""'>
<b:else/>
<div class='breadcrumb' xmlns:v='http://rdf.data-vocabulary.org/#'>
<span class='crumbs'>
<span class='crust' typeof='v:Breadcrumb'>
<a class='crumb' expr:href='data:blog.homepageUrl' property='v:title' rel='v:url'><span itemprop='title'>Home</span></a>
<span class='arrow'><span>></span></span></span> <span class='crust' typeof='v:Breadcrumb'>
<a class='crumb' expr:href='data:blog.url' property='v:title' rel='v:url'><span itemprop='title'>Posts tagged <data:blog.pageName/></span></a><span class='arrow'><span/></span></span>
</span>
</div>
</b:if>
</b:if>
</b:if>
</b:if>
<!--End Breadcrumbs code, get at http://htmlmaker.blogspot.com-->
- Delete green code to remove archive breadcrumb.
- Delete red code to remove label breadcrumb.
- Delete orange code to remove post title in the breadcrumb.
After this step, you can save template, refresh your blog and see result.
STEP 4:
Add style to breadcrumb by search for ]]></b:skin> and add css code just before it:
/* Start CSS breadcrumb by Howeblog - http://htmlmaker.blogspot.com*/
.breadcrumb {
background: #F7F7F7;
border: 1px solid #E6E6E6;
box-shadow: 0 2px 3px #B5B5B5;
border-bottom:none;
width: 585px;
margin: 5px;
font-size: 11px;
text-transform:uppercase;
overflow: hidden;
}
.breadcrumb a, .breadcrumb a:visited {
color: #848484;
font-family: Arial,sans-serif;
}
.breadcrumb .boardTitle {
display: none;
}
.breadcrumb .crust {
display: block;
float: left;
position: relative;
}
.breadcrumb .crust a.crumb {
background-color: #EDEDED;
display: block;
height: 24px;
line-height: 24px;
margin-bottom: -1px;
outline: 0 none;
padding: 0 10px 0 18px;
text-decoration: none;
}
.breadcrumb .crust:first-child a.crumb {
padding-left: 10px;
}
.breadcrumb .crust:last-child a.crumb {
background-color: #D9D7D7;
font-weight: bold;
}
.breadcrumb .crust:last-child .arrow span {
border-left-color: #D9D7D7 !important;
}
.breadcrumb .crust .arrow {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
border-color: transparent black transparent #BBBBBB;
border-image: none;
border-style: solid none solid solid;
border-width: 12px 1px 12px 12px;
display: block;
height: 0;
position: absolute;
right: -12px;
top: 0;
width: 0;
z-index: 5;
}
.breadcrumb .crust .arrow span {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
border-color: transparent black transparent #EDEDED;
border-image: none;
border-style: solid none solid solid;
border-width: 12px 1px 12px 12px;
display: block;
height: 0;
left: -13px;
overflow: hidden;
position: absolute;
text-indent: 9999px;
top: -12px;
white-space: nowrap;
width: 0;
z-index: 6;
}
.breadcrumb .crust:hover a.crumb {
background-color: #D9D7D7;
color: #3C3C3C;
}
.breadcrumb .crust:hover .arrow span {
border-left-color: #D9D7D7;
} /* End CSS breadcrumb by Howeblog - http://htmlmaker.blogspot.com*/
.breadcrumb {
background: #F7F7F7;
border: 1px solid #E6E6E6;
box-shadow: 0 2px 3px #B5B5B5;
border-bottom:none;
width: 585px;
margin: 5px;
font-size: 11px;
text-transform:uppercase;
overflow: hidden;
}
.breadcrumb a, .breadcrumb a:visited {
color: #848484;
font-family: Arial,sans-serif;
}
.breadcrumb .boardTitle {
display: none;
}
.breadcrumb .crust {
display: block;
float: left;
position: relative;
}
.breadcrumb .crust a.crumb {
background-color: #EDEDED;
display: block;
height: 24px;
line-height: 24px;
margin-bottom: -1px;
outline: 0 none;
padding: 0 10px 0 18px;
text-decoration: none;
}
.breadcrumb .crust:first-child a.crumb {
padding-left: 10px;
}
.breadcrumb .crust:last-child a.crumb {
background-color: #D9D7D7;
font-weight: bold;
}
.breadcrumb .crust:last-child .arrow span {
border-left-color: #D9D7D7 !important;
}
.breadcrumb .crust .arrow {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
border-color: transparent black transparent #BBBBBB;
border-image: none;
border-style: solid none solid solid;
border-width: 12px 1px 12px 12px;
display: block;
height: 0;
position: absolute;
right: -12px;
top: 0;
width: 0;
z-index: 5;
}
.breadcrumb .crust .arrow span {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
border-color: transparent black transparent #EDEDED;
border-image: none;
border-style: solid none solid solid;
border-width: 12px 1px 12px 12px;
display: block;
height: 0;
left: -13px;
overflow: hidden;
position: absolute;
text-indent: 9999px;
top: -12px;
white-space: nowrap;
width: 0;
z-index: 6;
}
.breadcrumb .crust:hover a.crumb {
background-color: #D9D7D7;
color: #3C3C3C;
}
.breadcrumb .crust:hover .arrow span {
border-left-color: #D9D7D7;
} /* End CSS breadcrumb by Howeblog - http://htmlmaker.blogspot.com*/
Adjust red line code with your page's width for better display.
Save template and now breadcrumb is available in every posts, label and archive pages.
More Breadcrumb Information:
Breadcrumbs design
The design is based on VBB forum breadcrumb design, customize for Blogger by Howeblog. Please don't remove the credit line, thank you.I'm working on another design, based on Google Help breadcrumb with elegant hover effect, I will publish it later.
Working properly buddy, Thanks for this share
ReplyDeleteA fascinаtіng ԁіsсuѕsiοn iѕ woгth соmment.
ReplyDeleteThere's no doubt that that you need to write more on this topic, it may not be a taboo subject but typically folks don't talκ about ѕuch subϳects.
To the next! All thе bеѕt!!
My web blog - Hemorrhoids Relief
I am really loving thе theme/deѕіgn of your wеb
ReplyDeletesite. Do you evег run into any inteгnet
brοwѕer comρаtіbility prοblems?
A small number of my blοg readers have сomplained abоut mу blog not woгking cοrгectlу in Explorer but loоkѕ grеat in Sаfaгі.
Do you haѵe any аdνiсe tο helр fiх this isѕue?
my ωеblog - simply click the following web site
huh, very log code but powerfull. thanks bro.
ReplyDeleteNeat blog! Is your theme сustom made or ԁid уou
ReplyDeletedοwnload it frоm somеwhere? A deѕіgn like yours with a feω simple adjustеments woulԁ really
make my blоg shine. Please let me know where you got your theme.
Kudos
my web blog; Webcamchat
Attгactivе paгt of content.
ReplyDeleteI simрly ѕtumbled upοn уour
weblοg and in accеsѕion capital to asseгt
thаt I get in fact loved account yоur wеblog ρosts.
Any way I wіll be subscribing in youг аugment and even I fulfillment
you get admissіon to conѕtantly fast.
Take a look at my blog poѕt; Personal Site
I'd like to find out more? I'd сare to fіnd out more details.
ReplyDeleteHave a lοok at my page - bauchmuskelübungеn
(mazungo.com)
hey! its not working on my blog i think...
ReplyDeletei read every instruction carefully
plzz tell me by looking this blog is it working or not on pankajk15214@gmail.com
my blog rudition-accrual-class-12.tk
Thanks Buddy,,,
ReplyDeletewow nice
ReplyDeleteit's work for me :)
thank you very much :)