Breadcrumb

#14556
Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello,

    Thank you for contacting Rank Math today.

    You can modify the breadcrumbs items by making use of the following filter in your functons.php file:

    /**
     * Allow changing or removing the Breadcrumb items
     *
     * @param array       $crumbs The crumbs array.
     * @param Breadcrumbs $this   Current breadcrumb object.
     */
    add_filter( 'rank_math/frontend/breadcrumb/items', function( $crumbs, $class ) {
    	return $crumbs;
    }, 10, 2);

    Looking forward to helping you. Thank you.

    ​​​​​​

    Andrea
    Rank Math free

    Hello and thanks. Unfortunately I’m not so technically prepared. I though there was something more your user friendly. Can you please explain in steps what to do?
    Moreover I found that in some items single page (unfortunately nit in the products) there is an option (under advance) called breadcrumb title. What is it for?
    Thanks!

    Andrea
    Rank Math free

    Sorry, just to clarify I do not want to change the breadcrumb itself, but give it a simpler naming to be shown as a logic path (not a technical one) for the user to appear in the snippet. Hope is more clear.
    Thanks

    Hi Andrea,

    Thanks for getting back to us.

    In this case, you can use the “Breadcrumb title” field to set custom titles that will be used on the breadcrumbs. This field is available on products, posts, pages and categories.
    This is how the field looks on the product page:
    Product

    I hope this info helps. Thank you.

    Andrea
    Rank Math free

    Hello Michael and thanks: your support is really great!
    We are using “Breadcrumb title” but we cannot find it neighter in the rankmath preview, nor in the google rich snippet results. what we are missing?
    Thanks

    Hi there,

    Thanks for getting back to us and the kind words!

    Would you mind sharing a screenshot of how this looks on your end and an illustration of how you would like it to appear so that we can be able to help further?
    You can share some links(from GoogleDrive or similar) to the images on the sensitive data section.

    We are looking forward to helping you. Thank you.

    Andrea
    Rank Math free

    Hello,
    you deserved that words!

    we would like to have a result as showed here: https://developers.google.com/search/docs/data-types/breadcrumb?hl=it
    as we set in BREADCRUMN TITLE as from your suggestion

    Instead in all our search we see the “classic” breadcrumb (ie: http://www.sitename.com/product/productname)

    thanks

    Hello,

    Thank you for contacting Rank Math today.

    The appearance of the breadcrumbs on the SERP is controlled by Google and you may not be able to modify it.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Andrea
    Rank Math free

    Hello Michael so where should we see the results of the BREADCRUMB TITLE we input in RankMath?
    Thanks

    Hi Andrea,

    Thanks for the question.

    The breadcrumbs will be displayed on your site pages once this feature is enabled as shown below:
    Breadcrumbs

    You can enable the display of breadcrumbs on your single pages/posts by using the following shortcode on your pages:
    [rank_math_breadcrumb]
    Alternatively, you can use the following PHP code on your page template:

    <?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?>
    

    I hope this info helps. Thank you.

    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.

Viewing 10 replies - 1 through 10 (of 10 total)

The ticket ‘Breadcrumb’ is closed to new replies.