Created
January 6, 2013 08:24
-
-
Save tomharrigan/4466056 to your computer and use it in GitHub Desktop.
Fix PixelPress breadcrumb issue
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 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