Create Breadcrumb Navigation To Blogger

By zaTechno | Sunday, October 14, 2012


To make you blogger sites are easy for user to know where they are, you need navigation information that called Breadcrumbs. How to put breadcrumbs in you blogger site, follow these steps:

1. Sign in to your blogger sites
2. Go to "Template" > "Edit Html"
3. Find below code [CTRL+F]

<b:include data='top' name='status-message'/>

4. Paste below code above the code in step 3

<b:include data='posts' name='breadcrumb'/>

5. Find below code [CTRL+F]

<b:includable id='main' var='top'>

6. Paste below code above the code in step 5

<b:includable id='breadcrumb' var='posts'>
<b:if cond='data:blog.homepageUrl == data:blog.url'>
<!-- No breadcrumb on home page -->
<b:else/>
<b:if cond='data:blog.pageType == "item"'>
<!-- breadcrumb for the post page -->
<p class='breadcrumbs'>
<span class='post-labels'>
<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>
<b:else/>
»Unlabelled
</b:if>
» <span><data:post.title/></span>
</b:loop>
</span>
</p>
<b:else/>
<b:if cond='data:blog.pageType == "archive"'>
<!-- breadcrumb for the label archive page and search pages.. -->
<p class='breadcrumbs'>
<span class='post-labels'>
<a expr:href='data:blog.homepageUrl'>Home</a> » Archives for <data:blog.pageName/>
</span>
</p>
<b:else/>
<b:if cond='data:blog.pageType == "index"'>
<p class='breadcrumbs'>
<span class='post-labels'>
<b:if cond='data:blog.pageName == ""'>
<a expr:href='data:blog.homepageUrl'>Home</a> » All posts
<b:else/>
<a expr:href='data:blog.homepageUrl'>Home</a> » Posts filed under <data:blog.pageName/>
</b:if>
</span>
</p>
</b:if>
</b:if>
</b:if>
</b:if>
</b:includable>

7. Find below code [CTRL+F]

]]></b:skin>

8. Paste below code above the code in step 7



.breadcrumbs {
padding:5px 5px 5px 0px;
margin: 0px 0px 15px 0px;
font-size:95%;
line-height: 1.4em;
border-bottom:3px double #e6e4e3;
}

9. Save the template

Reference:
http://www.spiceupyourblog.com/2011/07/add-breadcrumb-navigation-blogger-blogs.html



0 comments :

Post a Comment