About Breadcrumbs code

#157677
  • Resolved Wordpress login
    Rank Math free

    Hello Rankmath,
    I want to add breadcrumbs to my all blog posts. but I i do not have coding knowledge so i want to know where to add rankmath breadcrumbs code ———–> <?php if (function_exists(‘rank_math_the_breadcrumbs’)) rank_math_the_breadcrumbs(); ?> in wordpress.

    and
    how to add breadcrumbs using shortcode —-> [rank_math_breadcrumb] before the blog post title.

    thank you/-

Viewing 1 replies (of 1 total)
  • Hello,

    Thanks for contacting us.

    If you want to add the breadcrumbs to all your posts then you just need to add this code
    <?php if (function_exists(‘rank_math_the_breadcrumbs’)) rank_math_the_breadcrumbs(); ?>
    in your theme’s/child theme’s function.php file.

    To do this, please navigate to WP Dashboard > Appearance > Theme Editor and select the functions.php file, and paste the code there. https://prnt.sc/1086wpx

    You can also refer to the following article for more help: https://rankmath.com/kb/breadcrumbs/

    And if you want to use shortcode then you can simply use that shortcode in your individual post as shown in this video screencast:
    https://i.rankmath.com/RTGAnP

    You don’t need to add the shortcode if you use the code in your theme’s functions.php file

    Hope this helps. Let me know if you need any further assistance.

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

The ticket ‘About Breadcrumbs code’ is closed to new replies.