Hi
I would like to exclude Yoast breadcrumb on a page.
I tried to use this code which worked on a different hook (which is just an HTML code). But it must be a different one for this Yoast code because this returns an error.
The code I used:
<?php if ( ! is_page( array( '1268', '6' ) ) ) : ?>
<?php echo do_shortcode( '[<?php if ( function_exists('yoast_breadcrumb') )
{yoast_breadcrumb('<p id="breadcrumbs">','</p>');} ?>]' ); ?>
<?php endif; ?>