Call: (209) 560-6611

Delete sidebar from WooCommerce shop page

Date: February 3, 2016 Author: ang Category: WordPress Comments: 0

To permanently delete the sidebar from your WordPress WooCommerce 'Shop' page:

  1. Open the 'archive-product.php' script in an editing program(Dreamweaver).
  2. Next, comment out around line 104, the line 'do_action( 'woocommerce_sidebar' );'
     

You might also want to do the same to the single product page. The script for this is: single-product.php

Leave a Reply

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

Before you post, please prove you are sentient.

What has leaves, a trunk, and branches, and grows in forests?

Before you post, please prove you are sentient.

what is 3 in addition to 2?