Skip to content

Instantly share code, notes, and snippets.

@benlk
Last active October 28, 2016 18:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benlk/9d3dd28df04e59d5694ecc94d58d7262 to your computer and use it in GitHub Desktop.
Save benlk/9d3dd28df04e59d5694ecc94d58d7262 to your computer and use it in GitHub Desktop.
<?php
// just paste these functions into your child theme's functions.php
/**
* Increase the minimum to 4
*/
function my_largo_homepage_series_stories_list_minimum( $min ) {
return 4;
}
add_filter( 'largo_homepage_series_stories_list_minimum', 'my_largo_homepage_series_stories_list_minimum' );
/**
* Increase the maximum to 6
*/
function my_largo_homepage_series_stories_list_maximum( $max ) {
return 6;
}
add_filter( 'largo_homepage_series_stories_list_maximum', 'my_largo_homepage_series_stories_list_maximum' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment