Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter seocancun7

    (@seocancun7)

    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 4 years, 8 months ago by seocancun7.
    Plugin Author Rank Math SEO

    (@rankmath)

    Hello @seocancun7

    Thank you for your message.

    Can you please email us at [email protected] 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] = 'https://example.com/blog-page-link';
    	}
    	return $crumbs;
    }, 10, 2);

    Hope that helps.

    Thread Starter seocancun7

    (@seocancun7)

    What is the use then having a plugin if I have to edit the code?

    Thread Starter seocancun7

    (@seocancun7)

    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

    Plugin Author Rank Math SEO

    (@rankmath)

    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.

    Plugin Author Rank Math SEO

    (@rankmath)

    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.

    Thread Starter seocancun7

    (@seocancun7)

    No, is not resolved, I use Astra + Elementor

    Plugin Author Rank Math SEO

    (@rankmath)

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘breadcrumbs’ is closed to new replies.