5, // Change this to display more posts
‚post_status‘ => ‚publish‘ // Only show published posts
);
$latest_posts = new WP_Query($args);
if ($latest_posts->have_posts()) :
while ($latest_posts->have_posts()) : $latest_posts->the_post(); ?>
No posts found.‚;
endif;
?>