Hello,
I am running into the same problem. I am by no means a web developer and I do not know much about html. I am using the wootique theme and would like to get rid of the sidebar on the shop page. It’s driving me nuts.
I went to appearance->editor->theme functions and under that custom functions thing I pasted the code you said above so it looks like this:
/* You can add custom functions below */
/*————————————*/
remove_action( ‘woo_main_after’, ‘woocommerce_get_sidebar’, 10);
/*————————————*/
but nothing happened… I also changed the template for the shop page to “full width” and it didn’t do anything… the sidebar is still there. What am I missing? Please help me.
Also please reply step by step way how to do it because I am very new at editing themes.
Thanks so much.