Hi – we are using Woocommerce with WC Marketplace plugin(s) and are trying to remove the header and footer from the shop taxonomy pages.
Here is what WCMP support said: “the vendor shop page is a taxonomy page. So you can remove the header and footer from this page no by applying css.
The checking for vendor shop page is : is_tax( ‘dc_vendor_shop’ )
You may get some reference from here – https://wordpress.org/support/topic/hide-header-footer-on-certain-pages/ Alternatively, you can also contact the theme team and ask them how can you remove the header and footer for a specific taxonomy page is_tax( ‘dc_vendor_shop’ )”
Can you provide some more specific steps on how we can remove the header/footer from these pages?
Hey finedesignz,
Please provide a link to the site/page in question so we can look into this issue further.
Best regards,
Jordan Shannon
https://totalnaturalhealth.com/shop/ppfm/
I have tried editing header.php to the following but it did not work
<?php
if(!$blank || !is_tax( 'dc_vendor_shop' )) //blank templates dont display header nor footer
Hi,
Try adding this to quick css:
.archive.product-vendor.woocommerce-page #header{
display:none!important;
}
.archive.product-vendor.woocommerce-page footer{
display:none!important;
}
Best regards,
Jordan Shannon