Moving the array pointer inside a WP_Query while loop

$the_query->the_post() is what increments the counter and loads the next post’s data.

You can also explicitly set the internal counter to an arbitrary number and begin incrementing from there…

$the_query->current_post = 3;
$the_query->the_post();
the_title(); // this will output the 4th post's title

tech