Blogger Hacks

PayPal Donation Button Widget - Make Money-How to add Paypal Donation widget to Blogger?

Here is a great way for your readers to reward you for all the hard work and effort you've put into your blog. A PayPal Donation button wi...

26 May 2011 | 0 comments | Read more

Get 700+ Backlinks For Free / Free Backlinks Generator

Instructions1: Please Turn Off Your Popup Blocker2: Enter your website address in the box above with (No http:// or www. )3: A list of...

26 May 2011 | 0 comments | Read more

How To Add Author Bio Box to Your Blogger Below Every Blogger Post

1.Login to your blogger dashboard--> Desing- -> Edit HTML2.Scroll down to where you see ]]></b:skin> tag .3.Copy below code ...

26 May 2011 | 0 comments | Read more
Premium Blogger Templates

Orkut Blogger 3 column Template

Preview This Template | Download This TemplateOrkut Blogger Template is the well designed Orkut Template for Blogspot users . It is a three...

10 Jun 2011 | 0 comments| Read more

Free Simplex Enews (Renew Version) Blogger Template

 Free Simplex Enews (Renew Version) Blogger Template is a great and profesional design magazine style blogger template for news style...

09 Jun 2011 | 0 comments| Read more

Binder Blogger Template

Free Binder blogger template is a nice and clean magazine style blogger template adapted from CSS Template to Blogger Template. Features of...

09 Jun 2011 | 0 comments| Read more

Stylish Blogger Template

Free Stylish Blogger Template is a nice and clean blogger template adapted from WordPress Theme to Blogger Template for fashion new blog wi...

09 Jun 2011 | 0 comments| Read more

Photo Gallery Dark Blogger Template

Free Photo Gallery Dark Blogger Template is a another clone of Photo Gallery Woody blogger template with dark background. Features of this...

09 Jun 2011 | 0 comments| Read more

Premium Downloads

Free Premiuim Wordpress Themes

mtvXpress Wordpress Theme Download Converted for Blogger

MtvXpress Wordpress Theme Download Converted for BloggerDEMO - DOWNLOAD ...

30 Apr 2011 | 0 comments| Read more

MeTube Youtube Clone Wordpress theme Download.

DEMO - DOWNLOADMeTube Youtube Clone...

30 Apr 2011 | 0 comments| Read more

Yamidoo PRO Magazine-Paid Wordpress Theme

Yamidoo PRO Magazine-Paid Wordpress ThemeVisit Info Visit Demo ...

16 Apr 2011 | 0 comments| Read more

Maggo Magazine-Premium Wordpress theme converted for Blogger

Maggo Magazine-Premium Wordpress theme converted for BloggerDemo | Download...

16 Apr 2011 | 0 comments| Read more
Blogger Widget

Latest Most Important 5 Blogger Updates

I’m so exciting to write this post because we missed some important updates that blogger team made to blogger platform, and i can’t just ke...

18 Jun 2011 | 0 comments| Read more

Recent Posts Widget for Blogger

How to add the Recent Posts Widget for Blogger?1.Click on the Add to Blogger Button below2.Fill in the details. Provide your Blog url and t...

16 Apr 2011 | 0 comments| Read more

Top Commentators Widget for Blogger / Blogspot with Advanced Features

Blogger has always lacked a Top Commentators Widget which would encourage the readers to leave useful comments on your blog. This blogger ...

16 Apr 2011 | 0 comments| Read more

Blog Translation Widget for Blogger / Blogspot

You must have seen a lot of "Translate This Blog" Widgets on other wordpress and blogger blogs.So i thought of making a once click install...

16 Apr 2011 | 0 comments| Read more

Add Vertical CSS Menus in Blogger

After giving tutorial on "How to Add Menu Widget in Blogger - Horizontal Menus", today we will see how you can add Vertical CSS Menus in y...

16 Apr 2011 | 0 comments| Read more
WordPress Hacks

WordPress Plugin: Regenerate Thumbnails

Few days ago i talked about the WordPress Plugin called “Generate Post Thumbnails” which enables you to generate thumbnail for any post tak...

05 Feb 2011 | Read more
Blogger Tips

PayPal Donation Button Widget - Make Money-How to add Paypal Donation widget to Blogger?

Here is a great way for your readers to reward you for all the hard work and effort you've put into your blog. A PayPal Donation button wi...

26 May 2011 | Read more
AndroidOS

Most Expensive iPhone 4 with Diamond and Gold

Last year, we’ve posted the simple most expensive iPhone and this time, we’re revealing the world’s most expensive iPhone 4′s. Both these i...

31 Jul 2010 | Read more
Gabfire Themes

NewsPro MagazineNewPro Magazine is a multipurpose WordPress theme that suits for anyone running a news or magazine style website.The NewsP...

16 Apr 2011 | Read more
Internet Tips

Top 10 Online Survey Sites That Actually Pay

For some people “Online Survey” is a smart ways to make money online and for some it is a nightmare. Yes it can be a nightmare if you are...

26 May 2011 | Read more
Facebook Hacks

10 Useful Code Tricks for Business Facebook Fan pages

Facebook Pages are among the best ways to promote your product using the Social media. You can drive lots of visitors to y...

05 Feb 2011 | Read more
Tech Nwz

iGUGU InterneTV works as promised in its strange little niche (hands-on) By Ben Bowers

The first time we laid eyes on iGUGU's InterneTV marketing materials, we sensed something was strange in the neighborhood. After seein...

13 Jan 2011 | Read more
Apple Inc.

Possible iPod touch LCD and digitizer assembly compared to older gen, iPhone 4 (video)

Look who's back. The LCD plus digitizer combo that we first laid eyes on last month seems to have leaked out again, still claiming it'll be...

25 Aug 2010 | Read more

Saturday, February 5, 2011

How to Add Breadcrumb for Blogger Blog

So why not implement a breadcrumb for the blogger blogs.. For those who don’t know what a breadcrumb is,here is a little defenition from wikipedia.
Breadcrumbs or breadcrumb trail is a navigation aid used in user interfaces. It gives users a way to keep track of their location within programs or documents. The term comes from the trail of breadcrumbs left by Hansel and Gretel in the popular fairytale.
The trails like Home >> Label >> Post Name are the breadcrumbs.
So Now lets get Started :
  1. Login to your blogger dashboard
  2. Go to Layouts and then Edit HTML
  3. Then I would Sugguest you download the whole template first then Continue Editing.
  4. Then Tick the Expand widget Template.
  5. Now find for this Code :
    <b:include data='top' name='status-message'/>
  6. Now Replace it with the below code :
    <b:include data='top' name='status-message'/>
    <b:include data='posts' name='breadcrumb'/>
  7. Now Find :
    <b:includable id='main' var='top'>
  8. Now Replace the above code with below code :
    <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>
    <b:includable id='main' var='top'>
  9. Now Find ]]></b:skin> and replace it with the below code :
    .breadcrumbs {
    padding:5px 5px 5px 0px;
    margin: 0px 0px 15px 0px;
    font-size:95%;
    line-height: 1.4em;
    border-bottom:3px double #e6e4e3;
    }
    ]]></b:skin>
Now you should have a working breadcrumb navigation on your system.



No comments:

Post a Comment

Premium Templates

narrowsidebarads

Copyright © 2011. BLOGGING CASTLE- All Rights Reserved | Blog Posts by ANURAG | Edited by ASHISH. Powered by AndroidGyan.Com