Skip to content

Instantly share code, notes, and snippets.

@marcosnakamine
Forked from jameskoster/functions.php
Last active March 10, 2017 13:18
Show Gist options
  • Save marcosnakamine/763a2c4d090f805e4228cc679085381d to your computer and use it in GitHub Desktop.
Save marcosnakamine/763a2c4d090f805e4228cc679085381d to your computer and use it in GitHub Desktop.
WooCommerce - Change number of columns on archives
<?php
add_filter( 'projects_loop_columns', 'jk_projects_columns', 99 );
function jk_projects_columns( $cols ) {
$cols = 3;
return $cols;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment