Hello @vincentkk,
Thank you for your feedback.
The breadcrumbs code or the shortcode is necessary to render the actual breadcrumbs element on the front page as well as the Schema. At the moment, our breadcrumbs schema will only show together with our breadcrumbs element, so if you wish to apply our breadcrumbs Schema, you may need to disable the old breadcrumbs from other themes or plugins.
If you really wish to keep the default breadcrumbs and use our breadcrumbs Schema, you may apply this filter code:
add_filter( 'rank_math/frontend/breadcrumb/html', function( $html, $crumbs, $class ) {
// theme_breadcrumb_function();
$html = null;
return $html;
}, 10, 3);
Here is how to add filters to your website:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Hope that helps.
Thread Starter
Vincent
(@vincentkk)
Hello @rankmathteam
Thank you for your feedback.
I will find another way to address it.
Regards.