Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP 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,
I tried to edit the posts you shared but they kept loading blank pages.
I then tried installing a healthcheck plugin to check if it’s a conflict but it doesn’t seem to install. Checking the browser console, it is jquery errors, check the screencast I have attached in the sensitive section.
Please follow the health check guide https://rankmath.com/kb/check-plugin-conflicts/ to determine the cause of this issue so we can assist further.
Looking forward to helping you.
Okay thank you. This is a new issue. My developer updated a few things yesterday and he is taking a look now to see what the issue is
Okay. IT’s all fixed now. You should be able to work on it. He thinks it was a cloudflare issue but has rolled back the changes so you can work onthis and he’ll find the issue for that and fix it next week. Thank you
Hello,
Can you please check now?
Please note that when assigning categories, you should only be checking the furthest child category as it is already understood by WordPress that the child category is part of the parent category.
For example, you should only be checking the box for Idaho
in the first post and New Orleans
in the second one. It is not necessary to check any parent category.
With that said, I am not sure why the sidebar is broken on the second post, it was like that when I checked and you can restore to the previous version to confirm.
You need to remove the breadcrumbs from beneath the post content as it is only required once.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Okay thank you, I’ll have my designer look at what has gone wrong with the sidebar on that post.
The two posts I showed you now have the correct breadcrumbs, but if I pull some old posts that I have not manually selected the primary term it doesn’t show it correctly.
E.g.
https://www.ytravelblog.com/new-orleans-mardi-gras-with-kids/
https://www.ytravelblog.com/ross-sea-antarctica-expeditition/
I know how to manually update them but as mentioned with over 1500 posts, this is not possible.
The plugin can’t recognize the primary term from the strucutre and automatically do it?
Also, how do I remove the breadcrumbs from the bottom of the post. In my wordpress settings I have the breadcrumbs selected to appear before the title. That is the only option I have chosen. There isn’t even a selection for bottom of the post.
Hello,
1. If you disable the breadcrumbs using the Astra option, it will disable it from the top of the post – not below. Which means you have hard coded the breadcrumbs code somewhere. We tried checking the page.php and single.ph files but didn’t find them there. Please backtrace the changes you made.
2. I have added this code to your functions.php file to mark the child category as primary and show it in the breadcrumbs:
add_filter( 'rank_math/frontend/breadcrumb/main_term', function( $current_term, $terms ) {
foreach( $terms as $term ) {
if( ! empty( $term->parent ) ) {
return $term;
}
}
return $current_term;
}, 10, 2 );
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Thank you. I’ll talk to my developer about the breadcrumbs.
Thank you for the hard code. I have checked a few posts and it’s still not doing it
eg. https://www.ytravelblog.com/how-to-choose-a-spanish-school-in-guatemala/
The final breadcrumb for that should be guatemala but it stops at Central America
As to this one https://www.ytravelblog.com/travel-to-the-philippines-with-a-tween/
The final should be Philippines but it stops at Asia.
So it’s not picking up the final child category.
Hello,
We are afraid we do not have any other solution to get around this issue. You will have to manually to choose the Primary Category from the drop down on the posts where this is not working.
Or, please feel free to disable the Breadcrumbs in Rank Math and use your theme’s in-built breadcrumbs.
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.