Adding Breadcrumbs Shortcode To MonoChrome Pro Genesis Theme

#497520
  • Resolved Luke Kline
    Rank Math free

    Hello, could you please assist me in adding the proper code for Rankmaths breadcrumbs to my website’s theme? I have gone through all of your public documentation but my themes files and folders are all different than the example. The last thing I want to do is cause my site to break. I’m looking for the exact location in my specific theme to which I will need to add the shortcode to. Thanks a lot!

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

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    For initial troubleshooting, please open the functions.php file of your theme/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, head over to Genesis > Theme Settings > Breadcrumbs and check if you have breadcrumbs options like in this image

    Genesis

    If so, disable all of them and clear your website’s cache.

    Lastly, check if the Rank Math breadcrumbs are appearing on your posts/pages.

    Let us know how this goes.

    Thank you.

    Hi Reinelle,

    Thank you for your help.

    Regards,

    James

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    No problem thanks Jeremy. I actually ran a side-by-side test passing the Genesis theme’s breadcrumb code and the Rankmath breadcrumb code through Google’s Rich Results test: https://search.google.com/test/rich-results

    I found that the Genesis breadcrumbs passed the test but Rank Math’s did not. Am I missing something?

    Nigel
    Rank Math business

    Hello,


    @jamesbanks
    , do you mind opening a new ticket so we can investigate the Genesis vs Rank Math breadcrumbs on your website.

    For now, I’ll close this discussion as the original issue seems to be resolved.

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

The ticket ‘Adding Breadcrumbs Shortcode To MonoChrome Pro Genesis Theme’ is closed to new replies.