Enabling breadcrumb

#206909
  • Resolved Developer O
    Rank Math free

    Hello, I am a little bit confused with your article on how to enable breadcrumb. I thought the process used to be automatic. I cant see the single-page file under template folder in my theme editor and I am not conversant with these things.

    I dont want to make mistakes please clarify me on how and where to insert the code. Using the shortcode, does it mean I will have to include it in every post? I need help. Thanks

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

    Hello,

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

    When you turn on the Breadcrumbs function at Rank Math > General Settings > Breadcrumbs, the breadcrumbs schema is applied to all your website pages.

    To display the breadcrumbs on the front end, you need to paste the shortcode on the pages(inside the content editor) that you want the breadcrumbs to appear. If you want to show breadcrumbs on all the pages, add the PHP code at the bottom of theme’s header.php file:
    (WordPress dashboard > Appearance > Theme editor > header.php)
    <?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?>

    I hope this helps. Looking forward to helping you.

    Ok. Thanks.

    Hello,

    We are glad that this issue is already resolved.

    If you don’t mind us 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 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 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this ticket.