Created
May 23, 2013 20:07
-
-
Save rosshanney/5639021 to your computer and use it in GitHub Desktop.
Fix issue with Category Grid View Gallery plugin
This file contains hidden or 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 | |
/* | |
Plugin name: Fix issue with Category Grid View Gallery plugin | |
*/ | |
function gce_set_paginateval() { | |
global $paginateVal; | |
if ( ! isset( $paginateVal ) ) { | |
$paginateVal = 0; | |
} | |
} | |
add_action( 'init', 'gce_set_paginateval' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment