Breadcrumb code snippet not working with 17.8
-
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?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Breadcrumb code snippet not working with 17.8’ is closed to new replies.