I added this to my child theme’s functions.php as shown in several other posts:
remove_action( ‘woocommerce_sidebar’, ‘woocommerce_get_sidebar’, 10);
But I still have sidebars everywhere! I would like by pages and blog to have sidebars, but none anywhere on the woocommerce pages (product or “archive” listings). How do I do this? The layout manager and general layout options don’t provide for this exception, nor do I see it anywhere in the settings for WooCommerce.
- The topic ‘Remove sidebars from WooCommerce product and archive lists’ is closed to new replies.