-
https://wordpress.org/support/topic/geodirectories-breadcrumb-wrong-in-categories/#post-16334951
Hi, as mentioned in the forum:
Please see breadcrumbs on fe
https://stagenew.terratuscia.it/de/orte/kategorie/feature/
or
https://stagenew.terratuscia.it/de/veranstaltungen/kategorie/festivals/?etype=upcomingto login to the frontend (NO sensitive data but put in the corresponding textfield anyhow):
best
Holger
-
Hello,
Thank you for contacting us for help with setting up your breadcrumbs on a custom post type in Rank Math.
You would need to customize the code snippet below to adjust the Rank Math breadcrumbs to your desired output:
/** * 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);Hope that helps. Please let us know if you have questions.
Hi Nigel, thanks. Ok, what would my code be? Including wpml languages? Meaning how could i “tell” RM to use standard breadcumbs for pages from geodirectories plugin?
RM Breadcrumbs work nicely throughout the page but not in combination with “geodirectories” (whats this thread is about) and “perfect brands” from quadlayer.
thank you
H.Hello,
Before using the filter as our last resort, we would like to check the settings first to see why Rank Math isn’t picking the desired breadcrumbs items.
At the moment, the admin dashboard is not accessible. Can you please elevate the current user to “admin” level?
Looking forward to helping you with this one.
Hi Jeremy, sorry, i can´t grant admin login to the BackEnd. Too much sensitive data even on the staging site.
I can copy/paste settings or send screenshots if you like.best
H.Hello,
We apologize for the delay in response.
Can you please check if both Rank Math and GeoDirectory plugin is in the latest version? You may also enable a default theme (example: Twenty-Twenty One) and only enable Rank Math and GeoDirectory plugin on your staging website, to see if the issue persists. You may refer to this troubleshooting guide: https://rankmath.com/kb/check-plugin-conflicts/
Let us know how that goes. Looking forward to helping you.
Hi Jeremy, it´s a general problem when plugins use categories when using RM breadcrumbs. As it works fine with standard WP breadcrumbs with Astra Theme and all plugins activated, i would dare to say its a RM problem.
I tried shortly, following your suggestion, with twenty twenty three, but couldn´t see any breadcrumbs in GD Pages at all.
ps. FYI there is also a problem with wpml translating/copying the “primary category” from RM in products into secondary languages. Right now you have to edit every product in the dedicated language manualy. Thats quite time consuming.
Pps thats (showing the primary category in breadcrumbs) actually is why i use RM Breadcrumbs over WP/WOO breadcrumbs.
Hello,
If you want us to modify the filter shared by my colleague according to your site, we will need to take a closer at the settings and will need admin access. If you are not comfortable sharing the access, you can hire a developer and ask them to modify the filter for you.
And since the translations are handled by WPML, you should inform them about the issue with the translation of the primary term as they will be in a better position to help you with this.
Looking forward to helping you.
Hi Jaideep, wpml is informed about the copying problem of categories primary category selection. They working on it (they say).
In regards of RM is showing “wrong” categories and WP/WC is not in plugins which use categories in frontend (breadcrumbs) i will not pay a programmer to fix this. Either i will take the time or maybe RM is interested in fixing this.
The motivation to fix a general problem with very common other plugins should not depend on whether user is giving admin credentials or not. Thank you anyhow.
best
H.Hello,
Sorry for the unexpected delay and any inconvenience caused due to that.
I have checked on my end and it seems like a compatibility issue with GeoDirectory. I have forwarded this to the devs to check if this is something that can be fixed on our end or if GeoDirectory will have to make some changes on their end.
We will get back to you soon with an update.
Don’t hesitate to get in touch in case you need our assistance with anything else in the meantime.
Thanks.
Hello,
The developers checked and since the compatibility code is added by GeoDirectory, they will have to fix it on their end. Please get in touch with their support and inform them about the issue.
Let us know how that goes. Looking forward to your update.
Thanks.
You must be logged in to reply to this ticket.