1 How Can You Add A Breadcrumb Navigation to Blogger/Blogspot
Saturday, February 12, 2011
Labels:
Blog Tips
Share
With a “breadcrumb-navigation”, readers of your blog can easily know the position of an article that’s being read and also can search the articles in the same category.
If you have been reading www.thebloggingface.blogspot.com lately, you might have seen a simple row of navigation above the title of an article that you’re reading, like the screenshot below: The navigation like above is known better by the name of “breadcrumb-navigation”. With a few modifications to your blogger template code, you can add the “breadcrumb-navigation” to your blogger blog. Just follow the steps below:
1. Please log in to blogger with your ID
2. Click Design
3. Click Edit HTML tab
4. Click Download Full Template and please back up your template first
5. Please check the small box beside Expand Widget Template
expand
6. Find the code ]]></b:skin>
7. Copy and paste the code below exactly above the code ]]></b:skin>
/* Breadcrumb from www.thebloggingface.blogspot.com
----------------------------------------------- */
.breadcrumbs {
padding:5px 5px 5px 0px;
margin: 0px 0px 15px 0px;
font-size:100%;
line-height: 1.4em;
border-bottom:3px double #e6e4e3;
}
8. Find the following code in your template :
<div class='post hentry uncustomized-post-template'> or <div class='post hentry'>
9. Copy and paste the code below exactly below the code <div class='post hentry uncustomized-post-template'> or <div class='post hentry'>
<b:if cond='data:blog.homepageUrl == data:blog.url'>
<b:else/>
<b:if cond='data:blog.pageType == "item"'>
<div class='breadcrumbs'>
Browse » <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>
</b:loop>
» <span><data:post.title/></span>
</b:if>
</b:loop>
</div>
</b:if>
<b:else/>
<b:if cond='data:blog.pageType == "archive"'>
<div class='breadcrumbs'>
Browse » <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>
10. Click Save Template button
11. Wait for a while until your template saved
12. Open your blog, click the title of an article, see the result
13. Finished.
If your steps are correct, view one of your blog posts, the “breadcrumb-navigation” will be like this:
If you have been reading www.thebloggingface.blogspot.com lately, you might have seen a simple row of navigation above the title of an article that you’re reading, like the screenshot below: The navigation like above is known better by the name of “breadcrumb-navigation”. With a few modifications to your blogger template code, you can add the “breadcrumb-navigation” to your blogger blog. Just follow the steps below:
1. Please log in to blogger with your ID
2. Click Design
3. Click Edit HTML tab
4. Click Download Full Template and please back up your template first
5. Please check the small box beside Expand Widget Template
expand
6. Find the code ]]></b:skin>
7. Copy and paste the code below exactly above the code ]]></b:skin>
/* Breadcrumb from www.thebloggingface.blogspot.com
----------------------------------------------- */
.breadcrumbs {
padding:5px 5px 5px 0px;
margin: 0px 0px 15px 0px;
font-size:100%;
line-height: 1.4em;
border-bottom:3px double #e6e4e3;
}
8. Find the following code in your template :
<div class='post hentry uncustomized-post-template'> or <div class='post hentry'>
9. Copy and paste the code below exactly below the code <div class='post hentry uncustomized-post-template'> or <div class='post hentry'>
<b:if cond='data:blog.homepageUrl == data:blog.url'>
<b:else/>
<b:if cond='data:blog.pageType == "item"'>
<div class='breadcrumbs'>
Browse » <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>
</b:loop>
» <span><data:post.title/></span>
</b:if>
</b:loop>
</div>
</b:if>
<b:else/>
<b:if cond='data:blog.pageType == "archive"'>
<div class='breadcrumbs'>
Browse » <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>
10. Click Save Template button
11. Wait for a while until your template saved
12. Open your blog, click the title of an article, see the result
13. Finished.
If your steps are correct, view one of your blog posts, the “breadcrumb-navigation” will be like this:
1 comments:
i like this article and i heard it necessary to have a breadcrumb on your blog if you want google to approve you blog for adsense. www.moniways.com
Post a Comment