Remove Shop-Base from RankMath Breadcrumbs

#612195
  • Resolved Daniel
    Rank Math free

    Hello,

    Iam using RankMath Breadcrumbs and have the function disabled: general > breadcrumbs > if cat is child cat show all previous cats.

    But somehow “Shop” is showing in Breadcrumbs.

    E.G.
    Startseite / Shop / Nackenkissen / Orthopädisches Nackenkissen

    Should Be: Startseite / Nackenkissen / Orthopädisches Nackenkissen

    Can you help me achieving this?

    Kind regards,
    Daniel

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    Could you please share the example URL so we can check as well?

    Meanwhile, you can try adding this filter on your site to remove the shop from your breadcrumbs:

    add_filter( 'rank_math/frontend/breadcrumb/is_using_shop_base', '__return_false' );
    

    And here’s a guide to adding the code to the website:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how this goes.

    Thank you.

    Daniel
    Rank Math free

    Thank you for the Snippet, works like a charm.

    Thread can be closed.
    BR Daniel

    Hello,

    Glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

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

The ticket ‘Remove Shop-Base from RankMath Breadcrumbs’ is closed to new replies.