Created
September 12, 2014 05:39
-
-
Save scottnix/4ffda6c4eb11be1b6a7d to your computer and use it in GitHub Desktop.
Thematic Theme WordPress SEO Breadcrumbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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. :)