Rankmath Breadcrumbs Not Working in Genesis Framework/Theme

  • Hi,
    I am using Rankmath with the genesis framework. Genesis built-in Breadcrumbs are working fine, but I want to use rank math breadcrumb, but it is not working.

    I disabled Genesis Built-in Breadcumbs and enabled Rank math breadcrumbs, but it’s not showing any breadcrumbs.

    As it suggests, I to add the following code in the template. I added the following code in my child themes functions, but breadcrumbs are not working properly, and it breaks my site header with a Home text.

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

    Previously I used Yoast, and Yoast’s breadcrumb worked fine.

    Please guide me on how I can use Rankmath Breadcrumbs in Genesis.

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

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    Please open the functions.php file of your child theme and put this code at the very end:

    function rm_breadcrumbs( $content ) {
        if ( function_exists('rank_math_the_breadcrumbs') && is_singular() && is_main_query() ) rank_math_the_breadcrumbs();
    	return $content;
    add_filter( 'genesis_before_loop', 'rm_breadcrumbs' );

    Then, disable the Genesis Breadcrumbs from Genesis > Theme Settings > Breadcrumbs.
    Uncheck all options:

    The code will place the breadcrumbs above the title.

    I hope this helps. Looking forward to helping you.


    After placing the code, Rankmath Breadcrumb is working, but it does not show exactly where the genesis breadcrumbs were.


    Thank you for the update, and sorry for the delay.

    Could you please also share the affected URL and some screenshots using this tool where should Rank Math Breadcrumbs appear on your site? You can add them in the designated sensitive data section as well.

    Sensitive Data Section

    It is completely secure, and only our support staff has access to that section.

    Thank you, and looking forward to your update.

    I am sorry for the late reply.

    I can not understand why I need to paste code in functions even I did it. But breadcrumbs are not working perfectly.

    When I enabled Yoast breadcrumb, it works nicely as genesis default breadcrumb.

    Please Make your breadcrumbs like Yoast for Genesis Framework/Theme

    Now I am using Genesis Default Breadcrumb.



    Thank you for your reply.

    If you would allow us to have a look at your website, then we would further investigate the issue.

    For this, we would require your website’s logins. You can edit the first post on this ticket and include your Website’s URL and WordPress logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:


    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):


    We really look forward to helping you.

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

You must be logged in to reply to this ticket.