• Resolved fartbrat

    (@fartbrat)


    Hi, may i know where do i insert the following code using your plugin?

    <?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?>
    
    

    I was told (by rankmath support) that “To show the Rank Math breadcrumbs via PHP, you will need to add it to the?single.php?or?header.php?file of your active theme.”

    I tried to add it in Header in the “Global Header & Footer” section, but i received error “special characters must be escaped : [<] and [>]”

    or should i add it into code snippet, for example php snippet?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi there,

    You can create a new snippet in WPCode with the code type set to PHP or Universal for that code and then use the Auto-Insert location “Insert Before Post” https://a.supportally.com/i/G7N57t or whatever location you find fits you site best.

Viewing 1 replies (of 1 total)
  • The topic ‘Which section do i insert rank math breadcrumb code using wpcode?’ is closed to new replies.