Breadcrumbs only show on final post?

#39901
  • Resolved Roger
    Rank Math free

    Hi I have enabled breadcrumbs on my site rogerperkin.co.uk but they only show on the final post

    Not on categories?

    I have enabled it by adding this to my functions.php

    //* Enable RankMath Breadcrumbs

    add_filter( ‘the_content’, function( $content ) {
    if( function_exists( ‘rank_math_get_breadcrumbs’ ) ) {
    $content = rank_math_get_breadcrumbs() . $content;
    }
    return $content;
    });

    If I add this

    if (function_exists(‘rank_math_the_breadcrumbs’)) rank_math_the_breadcrumbs();

    It just puts the Home breadcrumb at the top of my site?

    Is this a theme issue?

    Within my theme Genesis I previously had the option to enable breadcrumbs on Archives / Pages / Posts

    With RankMath it’s just on or off?

Viewing 1 replies (of 1 total)
  • Michael Davis
    Rank Math pro

    Hello,

    Thank you for contacting Rank Math today.

    From the way you have configured the breadcrumbs, it will only be displayed on single posts that use the post content.

    Since Genesis already contains compatibility for Yoast breadcrumbs, I can suggest that you get in touch with their support team and check if they can recommend a filter that you can use to call the Rank Math Breadcrumb without having to modify theme files.

    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 ‘Breadcrumbs only show on final post?’ is closed to new replies.