I believe breadcrumb is a very important section of complicated structured website, the reason it stops visitors to get lost in between the complex hieratical linking and helps them to revisit the pages any time in between the surfing. Personally I also believe that somehow breadcrumb also helps in boosting the website SEO.

Though there are so many readymade plugins available to add Breadcrumb in wordpress websites, with multilingual support and one of them I suggest is Breadcrumb NavXT. But if your website do not have multilingual feature then I will not suggest using any third plugins and instead I asks to go for the short code snippets like bellow.

1. Locate functions.php in you current activated theme and paste the below code in it.

function MyBreadcrumb() {
    if (!is_home()) {
        echo '<a href="';
        echo get_option('home');
        echo '">';
        echo 'Home';;
        echo "</a> » ";
        if (is_category() || is_single()) {
            the_category('title_li=');
            if (is_single()) {
                echo " » ";
                the_title();
            }
        } elseif (is_page()) {
            echo the_title();
        }
    }
}

2. Locate single.php and page.php under your current activated theme folder and past the bellow code where you want to display the breadcrumb at.

<?php MyBreadcrumb(); ?>

Author:

is co-founder and author of tips4developer. By profession he is a WordPress and Joomla developer.

10 Responses so far.

  1. I am often to blogging and i actually appreciate your content. The article has really peaks my interest. I am going to bookmark your website and hold checking for brand new information.

  2. Thanks for your point of view.

  3. We are a group of volunteers and starting a new scheme in our community. Your web site provided us with valuable info to work on. You’ve done an impressive job and our entire community will be grateful to you.

  4. Hello there, You’ve done a fantastic job. I will definitely digg it and personally suggest to my friends. I am confident they will be benefited from this site.

  5. Great blog here! Also your site loads up very fast! What web host are you using? Can I get your affiliate link to your host? I wish my web site loaded up as quickly as yours lol

  6. Hello, i think that i saw you visited my site so i came to “return the favor”.I am attempting to find things to improve my site!I suppose its ok to use a few of your ideas!Simply wish to say your article is as amazing. The clearness in your post is just great and i can assume you are an expert on this subject. Fine with your permission allow me to grab your feed to keep up to date with forthcoming post. Thanks a million and please continue the enjoyable work.

    • Amit says:

      Heartily thanks for you comments, to subscribe my blog feeds you simply need to enter your email ID displaying on the right side, and don’t forget to click on the feeds approval link that you will get after feed registration

  7. Wartrol Scam says:

    I’m really enjoying the theme/design of your web site. Do you ever run into any web browser compatibility issues? A small number of my blog readers have complained about my blog not working correctly in Explorer but looks great in Chrome. Do you have any solutions to help fix this issue?


Subscribe to email feed

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin

Joomla – Allowing

Recently I got an requirement to add multiple email ID’s ...

WordPress - Controll

Page Lists Plus is one of the most use full ...

IE compatible mode

I noticed most of the web developers and designers hate ...

Adding PayPal Donate

Adding PayPal Donate Button in WordPress Post and Page are ...

Multi Browsers CSS H

Here I am sharing few of the very useful multi ...

Joomla – Allowing

Recently I got an requirement to add multiple email ID’s ...

Virtuemart – Setti

In my last project I got a requirement from my ...

3 Best Security Ext

Joomla is one of the fastest growing and best CMS ...

Joomla Conditional S

With the help of Joomla conditional statements you will able ...

Virtuemart - Special

Here I am sharing the virtuemart code snippet to display ...