Support » Plugin: SEOPress » hook for breadcrumbs

  • Resolved BackuPs

    (@backups)


    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)
  • You must be logged in to reply to this topic.