Skip to content

Instantly share code, notes, and snippets.

@benlk

benlk/sample.php

Last active Oct 28, 2016
Embed
What would you like to do?
<?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