Skip to content

Instantly share code, notes, and snippets.

@tomharrigan
Created January 6, 2013 08:24
Show Gist options
  • Save tomharrigan/4466056 to your computer and use it in GitHub Desktop.
Save tomharrigan/4466056 to your computer and use it in GitHub Desktop.
Fix PixelPress breadcrumb issue
function woo_display_breadcrumbs() {
global $woo_options;
if ( !is_home() && !is_front_page() && !is_singular( 'post' ) && !is_post_type_archive( 'post' ) && !is_page_template('template-blog.php') && !is_singular( 'portfolio' ) & !is_post_type_archive( 'portfolio' ) & !is_page_template('template-portfolio.php') ) {
if ( isset( $woo_options['woo_breadcrumbs_show'] ) && $woo_options['woo_breadcrumbs_show'] == 'true' ) {
echo '<section id="breadcrumbs">';
woo_breadcrumbs();
echo '</section><!--/#breadcrumbs -->';
}
}
} // End woo_display_breadcrumbs()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment