How to Add Breadcrumbs to the Pagelines Theme

please share:

A loaf of bread.When I recently started working on the relaunch of Wpscoop I chose Pagelines as the WordPress theme for the new blog. Since I also had installed the WordPress SEO plugin by Yoast, which I deem to be one of the most important plugins for a new weblog by the way, I was eager to integrate its breadcrumbs feature into Pagelines as just one more small step to SEO-optimize WPscoop. Breadcrumbs are small links that are usually placed above the post title in the format “Home > Category > Current Post” and they are good for two things: To help the user navigate your site and to improve SEO by allowing search engines to understand your site structure better.

The WordPress SEO plugin includes a feature to output said braidcrumbs, however it is necessary to add code to your theme to display them on your site. A quick research showed that the Pagelines theme has no integrated functionality to output the breadcrumbs and the solution available requires that you install an additional plugin (Breadcrumb NavXT) as well as an addon to Pagelines (which requires a paid Pagelines Plus account).

Since that was too much for such a small task for my taste I quickly wrote the necessary code, which amounted to only 7 lines in total, myself and decided to release it here in case it proves useful for others. Because it is a small plugin updates to Pagelines will not remove the code or cause problems. To add breadcrumbs to the Pagelines theme now follow the instructions below.

Add Breadcrumbs to the Pagelines Theme in 2 Simple Steps

  1. If you haven’t already install WordPress SEO by Yoast. Then go to the “Internal Links” page in your admin area and check “Enable Breadcrumbs” there. You will also want to enter a Separator and a Taxonomy to show in the breadcrumbs, most likely your categories for posts.
  2. Download my tiny Pagelines Breadcrumbs plugin (1kb) and install it on your weblog. The plugin will add the breadcrumbs to all single posts and pages – you can see an example of it in action above the title of this post. Please note that while I designed it for Pagelines it should actually work with all other themes as well.

That’s all there is to it. If you have any problems or questions leave a comment and I will answer.

Photo Copyright 123RF Stock Photos

About Thomas Höfter

I am a WordPress plugin developer from Germany. Some might know me from my WP Robot plugin or one of my free plugins but most don't know me at all. To change that you can write me a message or find me on Google+.

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *