Hello,
Thank you for reaching out to us regarding the issue you are facing with the Rank Math Breadcrumb functionality on your website.
To troubleshoot the problem where the Breadcrumb functionality is not working despite being enabled, please ensure the following:
-
Conflicting Plugins or Themes: Make sure that Rank Math is the only plugin responsible for adding breadcrumbs. If there are other plugins or themes adding breadcrumbs, conflicts may arise. You may need to disable or remove any other breadcrumb functionalities from themes or plugins.
-
Shortcode Implementation: If you are using a shortcode to display breadcrumbs, ensure that the shortcode
is correctly added to the desired location on your posts/pages.
-
Theme Support: If your theme supports Rank Math breadcrumbs natively, ensure that the theme has registered support for Rank Math breadcrumbs correctly in the functions.php
file.
Regarding customizing settings for sections like Posts, Submarkets, Roles, Clients, and Pages without parent categories, you can adjust the settings in Rank Math to display breadcrumbs correctly. Since these sections do not have parent categories, you can disable the "Show Category(s)" option in the Rank Math Breadcrumbs settings. This will help in displaying precise breadcrumbs without including categories.
If you encounter any further issues or need additional assistance with customizing the settings for your specific sections, please provide more details, and we will be happy to assist you further.
Thank you for your patience and cooperation in resolving this matter.
Warm regards.
Sources:
How to Enable Breadcrumbs on Your Website With Rank Math SEO » Rank Math
Hello,
Thank you for contacting Rank Math support.
You can follow this guide to add our breadcrumbs to your site: https://rankmath.com/kb/breadcrumbs/
If you don’t have categories for the post types, then only the homepage and the post will be included in the breadcrumbs. If you face any issues in adding the breadcrumbs to your site, please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.
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,
Yes I understand for the post types and we are currently working to have categories for post types.
But I need to know about the other sections as well such as Submarkets, Roles, Clients, and Pages. While we are working to add categories for post types, it is not feasible to create categories for every section on our website. Could you please advise on how to customize the settings so that the Breadcrumb links are displayed correctly for these sections without categories?
Your assistance in resolving this matter would be greatly appreciated
Thank You
Hello,
Unlike the post type where you can set categories, the pages, and other post types you mention do not have a hierarchical structure.
However, if you want to customize the breadcrumbs like adding a crumbs to them, you can use and customize this filter:
add_filter( 'rank_math/frontend/breadcrumb/items', function( $crumbs, $class ) {
//Adding to single page
if(is_singular('page')){ // change to match the post type name
$value[] = array(
'My new crumb', // change to the actual name shown on the frontend
'example.com/new-page/', // change to the actual URL of your shop
'hide_in_schema' => false
);
//add this value as the second item in array
array_splice( $crumbs, 1, 0, $value );
return $crumbs;
}
return $crumbs;
}, 10, 2);
You may refer to this guide on how to add filters to your website:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Hope that helps.
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.