wp issue

a guest Jun 24th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if ( $elements['page'] > count( $elements['pages'] ) ) { // if the requested page doesn't exist
  2.         $elements['page'] = count( $elements['pages'] ); // give them the highest numbered page that DOES exist
  3.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand