query) ) { //$rolling_query = http_build_query($wp_query->query); //} else { $rolling_query = $wp_query->query; //} // Get list of page dates if ( !is_page() and !is_single() ) { $page_dates = get_rolling_page_dates($wp_query); } // Get the current page $rolling_page = get_query_var('paged'); if ( empty($rolling_page) ) { $rolling_page = 1; } ?>