Support » Plugin: Yoast SEO » [Plugin: WordPress SEO by Yoast] Twitter Bootstrap Breadcrumbs

  • I have a theme using twitter bootstrap, and I setup yoast to match the styling with this snippet of code:

    <!-- Enable Yoast Breadcrumbs (boostrap) -->
    <?php if ( function_exists('yoast_breadcrumb') ) {
    	$breadcrumbs = yoast_breadcrumb( '<ul class="breadcrumb"><li>', '</li></ul>', false );
    	echo str_replace( '|', ' <span class="divider">/</span></li><li>', $breadcrumbs );
    } ?>

    The default Divider in Bootstrap is the following:
    <span class="divider">/</span>

    But this needs to get set within the wordpress admin panel. I was wondering if I could automatically set this via functions.php?

  • The topic ‘[Plugin: WordPress SEO by Yoast] Twitter Bootstrap Breadcrumbs’ is closed to new replies.