Skip to content

Instantly share code, notes, and snippets.

@ivandoric
Created April 23, 2014 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivandoric/11219242 to your computer and use it in GitHub Desktop.
Save ivandoric/11219242 to your computer and use it in GitHub Desktop.
woocommerce: Control number of columns in Woocommerce catalog
<?php
//Just put it in functions.php
/* Number of columns in Woocommerce Loop */
global $woocommerce_loop;
$woocommerce_loop['columns'] = 2;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment