Answer the question
In order to leave comments, you need to log in
How to install breadcrumbs in woocommerce?
Friends, hello everyone!
Here is the question:
In which woocommerce files and places do you need to register this code from Yoast SEO:
if ( function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb('<p id="breadcrumbs">','</p>');
}
Answer the question
In order to leave comments, you need to log in
in theory
/woocommerce/templates/global breadcrumb.php
If the theme is not fancy like Betheme, Porto, etc.,
create a woocommerce folder in the root folder of your active theme, in it the global folder and copy the breadcrumb.php file there
and paste the code .. BUT! it all depends on the theme and how it is cut, and if the hooks are redefined, etc., it can turn out so that the breadcrumbs are also written in the theme header
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question