-
-
Save marcosnakamine/763a2c4d090f805e4228cc679085381d to your computer and use it in GitHub Desktop.
WooCommerce - Change number of columns on archives
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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