Breadcumb failed to work with generate press theme

#356209
  • Resolved onifade azeez
    Rank Math free

    Each time I paste
    <?php if (function_exists(‘rank_math_the_breadcrumbs’)) rank_math_the_breadcrumbs(); ?>

    Into my website template single post code, I get an error.

    Please how can I solve this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Anas
    Rank Math business

    Hello,

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

    Please try adding the code at the bottom of the header.php file of the theme, then clear the website cache and check the breadcrumbs.

    Hope that helps.

    Looking forward to helping you.

    Still getting errors
    check it here

    https://ibb.co/prTQZnN

    Anas
    Rank Math business

    Hello,

    I tested the code on my end, the breadcrumbs are not displayed properly when adding the code in header file.

    Please try adding the code in the content-single.php file.
    conent

    breadcrumbs

    Please try adding the code in content-single.php and let us know how it goes.

    We are here to assist you.

    wow!

    That solves it. You are the best Anas!

    Anas
    Rank Math business

    Hello,

    We are super happy that your issue is resolved. 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.

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

The ticket ‘Breadcumb failed to work with generate press theme’ is closed to new replies.