Expand all

‘locations’, ‘posts_per_page’ => 10 );
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post(); $ctr = $ctr+1; ?>