Created
August 15, 2013 10:48
-
-
Save braddalton/6239958 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
/** Limit blog template to any number of posts */ | |
add_filter( 'genesis_pre_get_option_blog_cat_num', 'custom_blog_posts_limit' ); | |
function custom_blog_posts_limit( $option ){ | |
return 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment