Archived topic
RankMath Breadcrumb issue
3 replies · Started by Ryan on September 9, 2021
I followed the Yoast guide for the Hook and I can't get the breadcrumbs to appear. I don't get why there isn't just a simple toggle in Theme Options to just enable breadcrumbs. Or author boxes for that matter. Instead I'm wrangling around with Elements and scripts.
This is for beachrangers.com.
RankMAth tells me:
<?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?> OR [rank_math_breadcrumb]
is what's needed. I've tried both:
Hi Ryan,
Here's an tutorial video on how to add breadcrumbs.
https://www.youtube.com/watch?v=GkJq5fMwDxs&ab_channel=GeneratePress
It's very easy to follow especially you've already have the shortcode: [rank_math_breadcrumb]
Let me know if you need further assistance :)
OK- I can get it to appear before main content, but when I do before entry title, it doesn't appear.
Video demo:
https://share.getcloudapp.com/yAuy9bWx
example post, where it's currently at before main content:
Hi Ryan,
I see you have a Block Element - Page Hero active.
That block has a "Hide title" toggle. If you have it toggled on, generate_before_entry_title hook is disabled along with it.
Can you provide an image indicating where exactly do you want the breadcrumb to appear? So we can look for an alternative hook you can use. Let us know. :D