Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
The link you shared is not using Rank Math’s breadcrumbs.
Please replace the below code with your theme’s breadcrumb code.
if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs();
Looking forward to helping you. Thank you.
βββββββ
hello, thank you so much for your reply.
I am trying to add the code, but my theme doesn’t seem to have a breadcrumbs file.
I am using foodie pro by genesis.
How can I do this?
best,
Hello,
The breadcrumbs currently on your site are genesis breadcrumbs. You need to get in touch with your theme provider to help you find where to disable this. You should then add rank math breadcrumb code to your post and pages template files.
Looking forward to helping you. Thank you.
ββββββ
Hello,
many thanks for your kind and quick reply. I reached out to genesis and they literally say
“We only recommend and support Yoast, not Rankmath.
Please reach out to Rankmath directly for support with their plugin.”
Very annoying from them.
How can we fix this? I am trying to add the code, but my theme doesnβt seem to have a breadcrumbs file.
With best regards,
Hello,
Can you please us with access to your website or share the theme files with us so we can check which code needs to be replaced?
Hello,
yes sure.
I can send you the theme via zip?
Or how can I give you access?
Many thanks
Hello,
To share files, you can upload them online (dropbox or drive or something similar) and share the link to the files in the sensitive section.
To share access, please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
thank you so much.
I just sent you the theme file via sensitive data.
Can you please let me know what I can do that the Breadcrumbs get overwritten with the info I enter into Rankmath?
Thanks a lot
Hello,
You only shared the child theme files which can’t function without the parent theme files. Please share the Parent theme so we can investigate this further.
Looking forward to helping you. Thank you.
ββββββ
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
many thanks for your kind reply.
I added the link to the parent theme.
please let me know.
best,
Hello,
Iβm sorry for the delay and for any inconvenience this issue may have caused you.
Upon checking the files, it seems to be private and needs an access request (parent theme files). Please update the link so we can check all the resources.
Looking forward to helping you. Thank you.
Hello,
I just updated the permissions.
Thank you
Hello,
Sorry for the delay.
Genesis does not work like a usual WP theme so everything is not straight-forward.
1. Please open the functions.php file of your child theme and put this code at the very end:
function rm_breadcrumbs( $content ) {
if ( function_exists('rank_math_the_breadcrumbs') && is_singular() ) rank_math_the_breadcrumbs();
return $content;
}
add_filter( 'the_content', 'rm_breadcrumbs' );
2. Then, disable the Genesis Breadcrumbs from Genesis > Theme Settings > Breadcrumbs.
Uncheck all options:
Then, it will work fine and the Rank Math breadcrumbs will appear between the post title and the post content.
We have tested it with your Foodie Pro theme and it is working fine.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
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.