Breadcrumb and Prefix Show on Homepage

  • 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.

    ​​​​​​

Viewing 1 replies (of 1 total)

You must be logged in to reply to this ticket.