Replies: 0
The following code snippet which prevents post titles from appearing in the breadcrumb output has stopped working in Yoast 17.8:
add_filter('wpseo_breadcrumb_single_link', __NAMESPACE__ . '\remove_last_breadcrumb' );
function remove_last_breadcrumb( $link_output ) {
if ( strpos( $link_output, 'breadcrumb_last' ) !== false ) {
$link_output = '';
}
return $link_output;
}
I don’t see anything in the change logs related to breadcrumbs. Can you please provide some insight?