Breadcrumb and Prefix Show on Homepage

#12208
  • Resolved Max
    Rank Math free

    How to Remove Breadcrumb and Prefix on Homepage?
    I use <?php if (function_exists(‘rank_math_the_breadcrumbs’)) rank_math_the_breadcrumbs(); ?>
    Code in header.php

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math today.

    You can modify the code that you are using to the following:
    <?php if (function_exists('rank_math_the_breadcrumbs') && !is_home()) rank_math_the_breadcrumbs(); ?>

    If you have a static homepage, you can change this to:
    <?php if (function_exists('rank_math_the_breadcrumbs') && !is_front_page()) rank_math_the_breadcrumbs(); ?>

    Looking forward to helping you. 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 1 replies (of 1 total)

The ticket ‘Breadcrumb and Prefix Show on Homepage’ is closed to new replies.