-
-
Save juanfra/f3ee42a42d522ac1236263a1230a210b to your computer and use it in GitHub Desktop.
Modify the infoboxes default args.
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 | |
//* Do NOT include the opening php tag | |
add_filter( 'nicethemes_infoboxes_args', 'custom_infoboxes_args' ); | |
function custom_infoboxes_args( $args ) { | |
$args['columns'] = 4; // change this value if needed | |
$args['numberposts'] = 4; // change this value if needed | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment