why is this script not working on my site
Consider this option of achieving what you seem to be requiring: function wpse31701_filter_query() { global $wp_query; // Check year and month if ( $wp_query->get( ‘year’ ) == 2005 and $wp_query->get( ‘monthnum’ ) == 5 ) // Check page number to apply offset if ( $wp_query->get( ‘paged’) > 1 ) $wp_query->set( ‘offset’, 1 ); else $wp_query->set( … Read more