Custom Breadcrumbs

I don’t remember where I got this code (it’s not mine) but after I tweaked it a bit I found it works probably better than a lot of plugins out there so it’s the method I prefer to use on most of the themes I build.

Step 1: Grab the contents of this file: and put them in your theme’s functions.php file

Step 2: Customize lines 46-50 to suit your theme’s markup

Step 3: open up your theme’s header.php file and put this code where you want your breadcrumbs to appear: <?php basic_breadcrumb(); ?>

That’s all… Working breadcrumbs. Enjoy! :slight_smile:

  • aecnu
    • WP Unicorn

    Greetings aristath,

    It is my neighbor to the South burning the midnight oil again!

    I have not seen you since I got back from vacation on the Black Sea.

    It is nice to know you are still burning up the keyboards too typing away :slight_smile:

    Thank you for another fine contribution and piece of work, it is greatly appreciated as always and for taking the time to post it.

    Have a GREAT weekend!

    Cheers, Joe

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.