Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1217165

    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?

    #1217176

    Hey finedesignz,

    Please provide a link to the site/page in question so we can look into this issue further.

    Best regards,
    Jordan Shannon

    #1217180

    https://totalnaturalhealth.com/shop/ppfm/

    • This reply was modified 4 years, 7 months ago by finedesignz.
    #1217184

    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
    
    #1217187

    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.