Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(empty($query->is_feed)) {
- if ( $paged > 1 ) {
- $query->set( 'offset', intval($offset) + ( ( $paged - 1 ) * $limit ) );
- } else {
- $query->set( 'offset', intval($offset) );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment