If homepage : do a second “Loop” to show current article “post” WordPress

<? if(is_front_page()) : ?>
<? query_posts(‘showposts=1’); ?>
<?php while (have_posts()): the_post(); ?>
<h2><?php the_title(); ?></h2>
<?php the_excerpt(); ?>
<p><a href=”<?php the_permalink(); ?>“>Read more…</a></p>
<?php endwhile; ?>
<? endif; ?>

Comments are closed.