-
-
Save billerickson/a113975602d013532546 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 | |
/* Template file for the "Dog" category */ | |
/** | |
* Customize Grid Loop | |
* Display 10 posts in 2 columns | |
*/ | |
function be_grid_loop_for_dog_category( $args ) { | |
$args = array( | |
'features_on_front' => 0, | |
'teasers_on_front' => 10, | |
'features_inside' => 0, | |
'teasers_inside' => 10, | |
'teaser_columns' => 2, | |
); | |
return $args; | |
} | |
add_filter( 'genesis_grid_loop_args', 'be_grid_loop_for_dog_category' ); | |
genesis(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment