Different header with woocommerce and meteor slider
-
Hello everyone,
I come to you desperate after looking for a solution for long hours yesterday and this morning.I have a website for a restaurant that also sell a product they make.
I have a meteor slider header set for the main restaurant pages, and a different header (one image only) for the woocommerce shop pages.
I’ve tried many different codes, but this one looks the most appropriate yet it won’t work. I simply had no header displayed on the woocommerce pages.
<?php if ( is_woocommerce() ) : get_header_image(); else : if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow( "main", "" ); } endif; ?>
Of course I have the header I want on woocommerce pages set in the Header section.
I’m not an expect at all on php, but yet I understand what this bit of code is meant to do and I don’t understand why it doesn’t work.
Here is the website (sorry it’s in french, the shop part is in Boutique)
https://www.creperiegauvin.fr/wordpress/EDIT: I forgot to say I’m using the theme called Responsive.
- The topic ‘Different header with woocommerce and meteor slider’ is closed to new replies.