Hi Shane,
Thanks for getting in touch with us.
You can change your breadcrumb settings at WordPress Dashboard > Rank Math > General Settings > Breadcrumbs.
Make sure to enable categories on that page.
Also, make sure Category is selected as the primary taxonomy at WordPress Dashboard > Rank Math > Titles & Meta > Posts/Pages
You can use any other plugin for breadcrumbs too, just make sure to disable Rank Math breadcrumbs.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Great thanks heaps, with a bit of CSS I was able to style it. Is there a way to enable the complete trail of menu items as I’m only getting back to home even when on a sub-menu page?
Cheers again
Hi Shane,
Is the sub menu page a child page? I need an example to help you better.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
I am afraid that it is not currently possible to add these kind of page items on the breadcrumb trail from the UI.
To be able to add all the links, you will need to create some custom code using the following filter:
/**
* 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 ) {
return $crumbs;
}, 10, 2);
Looking forward to helping you. Thank you.
​​​​​​​
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.