This topic has 2 replies, 2 voices, and was last updated 10 years, 2 months ago ago by Eva Kemp
Hi,
I want to add the Yoast SEO breadcrumbs to my website (see private content): https://yoast.com/wordpress/plugins/breadcrumbs/
In which template (and where exactly) do I have to place the code below?
<?php if ( function_exists(‘yoast_breadcrumb’) ) {
yoast_breadcrumb(‘<p id=”breadcrumbs”>’,'</p>’);
} ?>
They have to appear on pages (not the homepage) and posts.
Kind regards,
Nick
Hello,
You need add this code into page.php file in wp-content/themes/xmarket/ directory. Find the line 18, the code <h1><?php echo $title; ?></h1>
and after this code add the one from Yoast plugin. If you have any issues please provide us with wp-admin panel and FTP credentials.
Regards,
Eva Kemp.
The issue related to '‘Where to add Yoast breadcrumbs code?’' has been successfully resolved, and the topic is now closed for further responses