hook for breadcrumbs
-
Hi
Does the plugin have a hook or function and setting like yoast does to supply f.e. a $args for the breadcrumbs wrapper and items on calling the breadcrumbs function?
like this
$output = ''; $yoast_enabled = false; if ( function_exists('yoast_breadcrumb') ) { $yoast_options = get_option( 'wpseo_internallinks' ); if(isset($yoast_options['breadcrumbs-enable'])){ $yoast_enabled = $yoast_options['breadcrumbs-enable']; } } if ( function_exists('yoast_breadcrumb') && $yoast_enabled) { $output = yoast_breadcrumb('<section id="breadcrumbs">','</section>',false); } return $output;
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘hook for breadcrumbs’ is closed to new replies.