Hello @mufidamar,
Thank you for contacting Rank Math support.
Disabling the breadcrumbs title in the General settings will remove all breadcrumbs titles including the pages so this will require you to use our filter code.
Please refer to this filter code to remove the title only for single posts:
add_filter( 'rank_math/frontend/breadcrumb/items', function( $crumbs, $class ) {
if(is_single()){
array_pop($crumbs);
}
return $crumbs;
}, 10, 2);
Here is an article on how to add a filter to your site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Hope this helps.
That’s worked, but I found another problem, the last item (category) from breadcrumbs is not linkable?
Hello @mufidamar
Please follow up with the topic you created with our support forums:
https://support.rankmath.com/ticket/hide-title-from-breadcrumbs-for-post-type-only/
Looking forward to helping you. Thank you.