Sorry, I formulated the examples wrong, what I wanted to say is:
what I need: Home/blog/article
what appears: Home/article
hope you can help me
-
This reply was modified 5 years, 10 months ago by
seocancun7.
Hello @seocancun7
Thank you for your message.
Can you please email us at support@rankmath.com so we can check further why your profile was not able to post on our forums?
With that said, you can use the following filter to change the Breadcrumb items: https://rankmath.com/kb/filters-hooks-api-developer/#change-remove-breadcrumb-items
Here is an example:
add_filter( 'rank_math/frontend/breadcrumb/items', function( $crumbs, $class ) {
if ( is_singular() ) {
$crumbs[1][0] = 'Blog';
$crumbs[1][1] = 'http://example.com/blog-page-link';
}
return $crumbs;
}, 10, 2);
Hope that helps.
What is the use then having a plugin if I have to edit the code?
If I use wordpress and plugins it is because I don’t know how to edit code, if I knew how to do it I would not use plugins
Hello @seocancun7
No problem. We can try to help you.
Can you please tell us which theme are you using so we can check the code?
Also, did you happen to register on our forums or email us?
Looking forward to helping you. Thank you.
Hello,
Assuming you are using the latest version of all the plugins, themes, & WordPress and the issue is resolved, we are closing this topic.
If that is not the case, please feel free to open a new support topic or reply to this one and we will be more than happy to help.
Thank you.
No, is not resolved, I use Astra + Elementor
Hello @seocancun7
The display of Breadcrumbs depends on the following things:
1. If you have set a Primary Taxonomy for a Post, then the Breadcrumb will show like Home >> Category >> Article
2. If you have set a static page for the Home & Blog, then the Breadcrumb will show like: Home >> Blog >> Category ( if Primary Taxonomy is set ) >> Article
Else, the Breadcrumb will show like Home >> Article
Looking at your posts’ links, it seems like the permalink structure on your site is set to %post-name% and has not set the Primary taxonomy.
To include the Blog, you will have to use the filter code we provided you. There is no way to automate this.
Here is a screencast explaining how the Breadcrumbs work:
https://i.rankmath.com/lmSPgn
Hope that helps. If you need any further assistance, please feel free to let us know. We are here to help.
Thank you.