In BreadCrumb was the Shop Page not shown

#18227
  • Resolved Thomas Bunte
    Rank Math business
    Content AI Creator

    How could i get the shop-Page as clickable Link in the Breadcrumb if i was in a product detailpage.
    The Breadcrumb should show
    WissensPiloten > Schulungen > Adobe > Adobe Animate für Einsteiger

    WissensPiloten was the Homepage, Schulungen was the Shop Base page, Adobe was the primary category and Adobe Animate für Einsteiger was the product

    But i get only these breadcrumb coming from RankMath:
    WissensPiloten > Adobe > Adobe Animate für Einsteiger

    So you see that Shop Base page was not shown.

    • This topic was modified 5 years ago by Thomas Bunte. Reason: complete functions.pp in Sensitive Data
Viewing 7 replies - 1 through 7 (of 7 total)
  • Michael Davis
    Rank Math pro

    Hello,

    Thank you for contacting Rank Math today.

    This would require a bit of customization of the breadcrumb elements. You can use the following filter to achieve this:

    /**
     * Allow changing Breadcrumb elements in BreadcrumbList snippet
     *
     * @param array $entity Breadcrumb entity
     */
    add_filter( 'rank_math/snippet/breadcrumb', function( $entity ) {
    	return $entity;
    });

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Thomas Bunte
    Rank Math business
    Content AI Creator

    Hi, i placed these snippet in functions.php – but there was still no “Schulungen” Link in Breadcrumb (these was the name of the Shop Base Page).

    Michael Davis
    Rank Math pro

    Hello,

    Thank you for contacting Rank Math today.

    Kindly share with me the actual code you are using in your functions.php file in the sensitive data section so that I may be able to advise further.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Thomas Bunte
    Rank Math business
    Content AI Creator

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Michael Davis
    Rank Math pro

    Hello,

    Thank you for contacting Rank Math today.

    The code will not work on its own, you may need to hire a freelance developer to help in customizing the $entity array and add the shop URL and title on the breadcrumbs.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Thomas Bunte
    Rank Math business
    Content AI Creator

    ok, tnx.

    Todd
    Rank Math free

    Hi Thomas,

    Please do not hesitate to let us know if you need help with anything else.

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

The ticket ‘In BreadCrumb was the Shop Page not shown’ is closed to new replies.