-
-
Save billerickson/182114d87733ef014a92 to your computer and use it in GitHub Desktop.
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 // don't include this line | |
/** | |
* 2 column grid on home | |
* | |
*/ | |
function be_home_grid_args( $args ) { | |
if( is_home() ) | |
$args['teaser_columns'] = 2; | |
return $args; | |
} | |
add_filter( 'genesis_grid_loop_args', 'be_home_grid_args' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment