WP_Query Ignoring `post_type` parameter
Try this <?php $args = array( ‘post_type’=>’weather_today’, ‘orderby’=>’ID’, ‘order’=>’ASC’, ‘posts_per_page’=>1 ); $query = new WP_Query( $args ); while ( $query->have_posts() ) : $query->the_post(); //loop endwhile; wp_reset_postdata(); ?>