• <?php if ( function_exists(‘yoast_breadcrumb’) ) {
    yoast_breadcrumb(‘<p id=”breadcrumbs”>’,'</p>’);
    } ?>

    Above is breadcrumb code of YOAST SEO and showed to add in the theme,for VIRTUE theme,I have no idea to add where. I added in Functions.PHP,it’s taken error.so Pls help. thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter lucy00

    (@lucy00)

    Pls check my site:www.selfiesticksales.com , I deleted the added above code,however still show: Parse error: syntax error, unexpected ‘<‘ in /home/XXXXX/public_html/wp-content/themes/virtue/functions.php on line 5

    You would have to add a template file where ever you want them to show. Like the templates/page-header.php file would work for pages. I strongly recommend using a child theme for template overrides so you don’t loose your file changes with an update.

    Kadence Themes

    Thread Starter lucy00

    (@lucy00)

    Now,I don’t wanna add these codes and deleted them,save.why show the error and couldn’t open this site http:www.selfiesticksales.com

    Parse error: syntax error, unexpected ‘<‘ in /home/XXXXX/public_html/wp-content/themes/virtue/functions.php on line 5

    If you placed the code in your functions.php file that would crash your site. you would have to go into the server through your host and fix that file (remove what you added) to get it working again.

    Kadence Themes

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘where can be added below breadcrumb code of YOAST SEO?’ is closed to new replies.