Woo Commerce Disable Sidebar

How To Disable The Sidebar in Woo Commerce

1. Disabling Sidebar Using a WordPress Hook (Recommended Method)

This is the best solution, and it is considered to be the “WordPress way” of doing things. Navigate to your theme’s functions.php file, and write the following code:

function disable_woo_commerce_sidebar() {

The information above comes from this page which has much more information.

remove_action( ‘woocommerce_sidebar’, ‘woocommerce_get_sidebar’, 10); } add_action(‘init’, ‘disable_woo_commerce_sidebar’);

Enable and Disable the WooCommerce Sidebar

Some people you know may be interested in this information. Please Share It.

And you may want to return to this information. So bookmark or add it to your favorites now so you can easily find it again. Just press keyboard keys CTRL and D at the same time. Its that easy.

And so that you can easily find this page again, bookmark or add it to your favorites now.