Skip to content

Instantly share code, notes, and snippets.

@scottnix
Created September 12, 2014 05:39
Show Gist options
  • Save scottnix/4ffda6c4eb11be1b6a7d to your computer and use it in GitHub Desktop.
Save scottnix/4ffda6c4eb11be1b6a7d to your computer and use it in GitHub Desktop.
Thematic Theme WordPress SEO Breadcrumbs
function childtheme_yoast_seo_breadcrumbs() {
if ( is_page() && function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb('<p id="breadcrumbs">','</p>');
}
}
add_action('thematic_abovecontainer', 'childtheme_yoast_seo_breadcrumbs');
@scottnix
Copy link
Author

Setup to add breadcrumbs right below the container, shows only on pages. Just serves as an example of breadcrumbs with Thematic, hopefully most people are using the awesome WordPress SEO plugin anyway. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment