Answer the question
In order to leave comments, you need to log in
How to display WooCommerce breadcrumbs?
There is a site on the WordPess + WooCommerce engine.
You need to display WooCommerce breadcrumbs on product categories and product pages.
Tell me what and where to register for this?
I tried to add the following code to the functions.php file:
add_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20 );
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question