Hello,
Thank you for contacting Rank Math and bringing your concern to our attention.
You can use the if(is_singular('post')
line to target all your posts only.
It should be something like this:
add_filter( 'rank_math/frontend/breadcrumb/settings', function( $settings ) {
if(is_singular('post')){
$settings = array(
'home' => true,
'separator' => '/',
'remove_title' => true,
'hide_tax_name' => '',
'show_ancestors' => '',
);}
return $settings;
});
Please try this filter and let us know if it works on your site.
Looking forward to helping you.
Thank you.
Hi Reinelle
works like a charm
Thanks for the quick response and fort the support
Regards
Hi Reinelle
what about if i like to apply the same filter to Woocommerce single product?
Best and thanks in advance for the response
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.