SHARE
TWEET

Change default number of columns in Canvas WooCommerce

jamiemarsland Jun 18th, 2013 1,242 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_action (‘init’, ‘change_columns’);
  2. function change_columns() {
  3. add_filter( ‘loop_shop_columns’, ‘custom_loop_columns’ );
  4.  
  5. function custom_loop_columns() {
  6. return 3;
  7. }
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top