How to add breadcrumb shortcode in divi theme.

#164513
  • Resolved Ajay Thakare
    Rank Math free

    I have taken a free plan of Rankmath, I’ve done all set when I come to the breadcrumb it is showing msg to add code in theme and when I try to add it in the theme head section it is creating the problem and the msg of adding the code is still there.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thanks for contacting us and we regret the inconvenience caused!

    You can also use the breadcrumbs shortcode [rank_math_breadcrumb] to display the breadcrumbs on your website. You just have to add the shortcode in your post/page wherever you want to display the breadcrumbs.

    Please see these screencasts for a quick reference:
    Using Divi Visual Builder: https://www.loom.com/share/79ffe42ba07441d399c0375d5b30da6b
    Using Block Editor: https://www.loom.com/share/26088f4865df42faa86bd2e4cfa83e55

    For more details, please refer to our tutorial guide: https://rankmath.com/kb/breadcrumbs/

    Hope this helps.

    Thanks!

    No, but I want to add this to a complete website at one time.

    Prabhat
    Rank Math agency

    Hello,

    Thanks for your reply!

    Please add the below code at the end of your theme’s functions.php file:

    
    Use the following code in your theme template files to display breadcrumbs:
    <?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?>
    
    

    For more details, please have a look at our tutorial guide:
    https://rankmath.com/kb/breadcrumbs/

    Hope this helps.

    Thanks!

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘How to add breadcrumb shortcode in divi theme.’ is closed to new replies.