Skip to content

sky1tech/foundationpress-breadcrumbs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

foundationpress-breadcrumbs

FoundationPress Breadcrumbs

FoundationPress discontinued supporting breadcrumbs (Oct 2017).

Custom Post Types and Custom Taxonomies were not supported as described here: olefredrik/FoundationPress#1088

SKY1 updated to the following code as described on that page: https://www.thewebtaylor.com/articles/wordpress-creating-breadcrumbs-without-a-plugin

Then removed separator li to match Foundation example markup.

WORKS!

To use this code just add a require_once statement to breadcrumbs.php in your functions.php file and it should work.

So if you place the file in the /library directory your code/statement should look like this in your functions.php file:

require_once( 'library/breadcrumbs.php' );

Note: Update line 23 to reflect your custom taxonomy

And then add the usual to your theme files where you want the breadcrumbs to appear: foundationpress_breadcrumb();

About

FoundationPress Breadcrumbs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages