Как убрать название статьи из Хлебных крошек в Yoast SEO?
Установите и активируйте плагин ProFunctions отсюда https://support.wpshop.ru/docs/general/profunctions/ и в файл profunctions.php добавьте код
add_filter(
'wpseo_breadcrumb_single_link'
,
'remove_wpseo_breadcrumb_last'
);
function
remove_wpseo_breadcrumb_last(
$link_output
) {
if
( FALSE !==
strpos
(
$link_output
,
'breadcrumb_last'
) ) {
$link_output
=
''
;
}
return
$link_output
;
}
Вам помог ответ?