Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Rank Math doesn’t offer that option by default but you can achieve it using custom code and Rank Math filters. I have created the code for you (you just need to check it and customize it), to use it just add it at the end of the functions.php file in your active theme:
/**
* Allow changing or removing the Breadcrumb items
*
* @param array $crumbs The crumbs array.
* @param Breadcrumbs $this Current breadcrumb object.
*/
add_filter( 'rank_math/frontend/breadcrumb/items', function( $crumbs, $class ) {
if(is_singular('post')||is_category()){
array_splice( $crumbs, 1, 0, array(array(
"Blog",
"https://yourwebsite.com/blog/",
"hide_in_schema" => false
)) );
}
return $crumbs;
}, 10, 2);
Looking forward to helping you. Thank you.
That worked like a charm. Thank you so much for that!
Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.