Skip to content

Instantly share code, notes, and snippets.

@rosshanney
Created May 23, 2013 20:07
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 rosshanney/5639021 to your computer and use it in GitHub Desktop.
Save rosshanney/5639021 to your computer and use it in GitHub Desktop.
Fix issue with Category Grid View Gallery plugin
<?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