I am using custom post type. But on landing page Count of post loop is not in order
<?php $loop = new WP_Query( array( 'post_type' => 'focus-areas' ,'get' => 'all') ); ?> <?php while ( $loop->have_posts() ) : $loop->the_post(); $counts++; ?> <?php echo $counts; ?>
This printing as 16, 1, 3, 4, 5,....
All the post are getting display but it's not in order. i searched in google and wordpress site but din't get any solution