Breadcrumbs Displaying in Wrong Place

#43520
  • Resolved Tanya Korteling
    Rank Math free

    I recently moved to Rank Math from Yoast and have just realised my breadcrumbs were no longer showing.

    I’ve followed the directions on how to add the breadcrumbs but it doesn’t work trying to add them to php.functions – it just shows the full code right at the top of the page.

    The only way I can only get them to appear at all is using the short code in WP Quads but even then I can’t get it to appear above the post title where it was before. It shows below the author and category above the featured image (see this link as an example). It should be above the post title.

    It doesn’t look good where it is now so please tell me how to make the breadcrumbs appear above the title. I use Travelify Theme.

    Thanks
    Tanya

Viewing 3 replies - 1 through 3 (of 3 total)
  • Todd
    Rank Math free

    Hi Tanya,

    You can use Breadcrumbs from Rank Math by going to WordPress Dashboard > Rank Math > General Settings > Breadcrumbs. Simply enable breadcrumbs, change the options as per your preference and save the changes.

    Then, grab the code and paste it in your theme’s single.php and page.php files (ideally)

    If you are unsure about this step, please talk to your theme provider and ask them where the breadcrumbs code should be placed. Even if you use a free theme, the support should be able to help you with the ideal placement of the breadcrumbs code. For your reference, here is the breadcrumbs code used to insert Rank Math’s breadcrumbs:
    ———————————————-
    <?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?>
    ———————————————-
    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    I’ve tried all of that it doesn’t work. There is no single or page php files in the child theme I’m using – only function.php. I tried changing the single.php file in the main theme (not child theme) and nothing happens!

    When I add it at the bottom of the function.php nothing happens then too!

    Todd
    Rank Math free

    Hi Tanya,

    In that case, please talk to your theme provider. They are more familiar with your theme structure than we are.

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Breadcrumbs Displaying in Wrong Place’ is closed to new replies.