query) ): $rolling_query = $wp_query->query; elseif ( is_string($wp_query->query) ): parse_str($wp_query->query, $rolling_query); endif; // Debugging if ( isset($_GET['k2debug']) ): $rolling_query['k2debug'] = '1'; endif; // Get list of page dates if ( !is_page() and !is_single() ): $page_dates = get_rolling_page_dates($wp_query); endif; // Get the current page $rolling_page = intval( get_query_var('paged') ); if ( $rolling_page < 1 ): $rolling_page = 1; endif; ?>