Delete sidebar from WooCmmerce ‘shop’ page

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

Advertisements

Published by

angelo bonavera

Hi I'm a web developer and I run a web hosting company called 2slick.com.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s