Query Custom Meta Value with Increment
I have a Query searching for a meta value I have added to my posts (meta-select). I have it feeding out in a loop with 4 results. Let's say I want this loop to start with the meta value "2" and work its way up "3","4","5" each time adding 1 to the value in the loop. Here is my current code which obviously just queries for the value "2" where do I add an increment in this function?
?php
// args
$args = array(
'posts_per_page' = 4,
'post_type' = 'post',
'meta_key' = 'meta-select',
'meta_value' = '2'
);
// get results
$feature_query = new WP_Query( $args );
// The Loop
?
?php if( $feature_query-have_posts() ): ?
ul
?php while ( $feature_query-have_posts() ) : $feature_query-the_post(); ?
li
a href="?php the_permalink(); ?"?php the_title(); ?/a
/li
?php endwhile; ?
/ul
?php endif; ?
?php wp_reset_query();?