• Hello

    What is the appropriate location in the theme’s template for the code provided by the Rank Math plugin (displaying the SEO-friendly breadcrumbs, see https://rankmath.com/kb/breadcrumbs/)?

    THE CODE:

    <?php if (function_exists(‘rank_math_the_breadcrumbs’)) rank_math_the_breadcrumbs(); ?>

    Thank you

Viewing 1 replies (of 1 total)
  • Francesco Grasso

    (@francgrasso)

    YITH Support Representative

    Hi there,
    you can override the function yith_proteo_print_page_titles() in your child theme (it will be loaded instead of the parent proteo one) and replace the woocommerce_breadcrumb() call with the code provided by RankMath

    File where to find the yith_proteo_print_page_titles() to copy:
    wp-content/themes/yith-proteo/inc/template-functions.php

Viewing 1 replies (of 1 total)

The topic ‘How to add the code from Rank Math’ is closed to new replies.