View Single Post
  #12  
Old Oct 15, 2012, 05:30 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
This is an issue with woocommerce. If you had done a google search you would have discovered it.
1) delete the file footer-shop.php that I told you to create.
2) edit the atahualpa file 'function.php'
3) change the last line from
HTML Code:
?>
to
HTML Code:
add_action('wp', create_function("", "if (is_archive(array('product'))) remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10);") );
//Unhook (remove) the WooCommerce sidebar on individual product pages

add_action('wp', create_function("", "if (is_singular(array('product'))) remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10);") );
//Unhook (remove) the WooCommerce sidebar on all pages

remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10);
?>
try it out. You will have to do this each time the theme is updated, so take good notes.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jan 4, 2013 at 08:24 AM.