Main menu
WalkswithMeWordPressHow to remove Pages Archives and Categories from WooCommerce pages

How to remove Pages Archives and Categories from WooCommerce pages

How to remove Pages Archives and Categories from WooCommerce pages ? yea from product and shop page of WooCommerce is now showing the side bar widget at the bottom on the page as Pages Archives and Categories. there is already a sidebar widget that is set it from widget manager.

Yea, I’m also faced such a situation after the update WooCommerce latest version. and it look like my template break the layout 🙁 .

remove Pages Archives and Categories from WooCommerce pages

remove Pages Archives and Categories from WooCommerce pages

The I do a little search on the web and found that we can remove the sidebar widget in WooCommerce pages using following actions.


remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10);

The above code can be added in your template theme functions.php at the end of page. so it should remove the additional side bard widget on woocommerce shop and product pages.

Hope you Guys able to find this post regarding How to remove Pages Archives and Categories from WooCommerce pages .

thanks for reading 🙂

 

4 thoughts on “How to remove Pages Archives and Categories from WooCommerce pages

Leave a Reply

Your email address will not be published. Required fields are marked *

 

FacebookTwitterGoogle+RSS