-
AuthorPosts
-
June 17, 2020 at 1:16 am #1223213
Hello,
Would you please show me how to turn on the breadcrumb trail on my WooCommerce Shop Category and Product pages without turning it on for all other pages? I have the Enfold global breadcrumb setting turned off currently. This seems to override the WooCommerce default breadcrumb. When I change the Shop Page or Product Page setting to “Display only breadcrumbs” it doesn’t work.
I placed this code from one of your other help threads into my Child Theme functions.php file and it also didn’t work:
add_action( ‘woocommerce_before_main_content’, ‘woocommerce_breadcrumb’, 20, 0);However, when I place the above code directly into the Enfold Theme functions.php file a breadcrumb displays on the shop pages in the upper right corner. I’m not sure why it works in the Enfold file and not the Enfold Child file.
Ideally, I’d like the breadcrumb to only be on the Category and Product Pages (right justified) in this format:
Shop | Category Title | Product TitleThank you!
John
June 19, 2020 at 6:14 pm #1224113Hey jgdoyle1,
Best regards,
VictoriaJune 19, 2020 at 6:51 pm #1224123Hi Victoria,
Yes, I got the breadcrumbs working but I had to turn on the Enfold breadcrumbs and then block them on each individual page that I didn’t want them. Instead I would have preferred to have the Enfold breadcrumbs off and then turn the breadcrumbs on for just the Shop pages. I was looking for a script to do that.
It seems with WooCommerce when you turn off the Enfold breadcrumbs and turn on the Shop page breadcrumbs it doesn’t recognize it. Is there a script to remedy this issue?
Thanks!
JohnJune 19, 2020 at 9:19 pm #1224169June 19, 2020 at 10:04 pm #1224175Thanks Victoria. PHP customization is a bit over my head but maybe I can find someone to assist me. Best regards, John
June 19, 2020 at 11:13 pm #1224180 -
AuthorPosts
- You must be logged in to reply to this topic.