A couple readers have commented on how they like the navigation menu that you’ll find at the top of each page on this blog and wanted to know how to do this on their WordPress blogs.

I really love the improved navigation it gives readers, and doing something like this on a WordPress blog is actually really easy, thanks to the incredible community WordPress has. All you need is the Breadcrumb Navigation XT WordPress plugin and some simple code to place where you want the navigation to display.

Once you’ve got your plugin uploaded and activated (activate the Core version), you can place the following code where you want the navigation to display:

<div class="breadcrumb"> <?php if (class_exists('bcn_breadcrumb')) { // New breadcrumb object $mybreadcrumb = new bcn_breadcrumb; // Assemble the breadcrumb $mybreadcrumb->assemble(); // Display the breadcrumb $mybreadcrumb->display(); } ?> </div>

You can style it to look how you want using .breadcrumb on your stylesheet.

Enjoy!

Want automatic updates? Subscribe to our RSS feed or
Get Email Updates sent directly to your inbox!
Tweet This | Digg This | Stumble it | Add to Del.icio.us | | Print This

Kyle Eslick

Kyle Eslick is the founder and primary author of WordPress Hacks. You can learn more about him at KyleEslick.com or you can follow his personal tweets here.

Be The First to Comment! »

Trackbacks/Pingbacks »

Leave a Reply