Skip to content
Tech > Tutos > Web site

Yoast SEO breadcrumbs without post title on your wp theme

Spread our posts

Tip to hide the post title in the Yoast SEO breadcrumbs.

Yoast SEO breadcrumbs without post title

Hack in your wp functions.php

Add the following function in the functions.php file of your child theme:

/* wpseo_breadcrumb_links format / Remove post title */
add_filter('wpseo_breadcrumb_single_link', 'remove_breadcrumb_title' );
function remove_breadcrumb_title( $link_output) {
if(strpos( $link_output, 'breadcrumb_last' ) !== false ) {
$link_output = '';
return $link_output;

Additional css to customize your breadcrumbs

/* Breadcrumb */
.nv--yoast-breadcrumb a {

Spread our posts

Leave a Reply

Your email address will not be published. Required fields are marked *