Home › Forum › Customization › Make Front Page the most recent post › Reply To: Make Front Page the most recent post
August 18, 2013 at 2:37 PM #1041
Thank you for choosing StartupWP. :)
Hopefully, it’s as simple as updating the template to:
<?php /* Template Name: Home Post */ ?>
<?php get_header(); ?>
<div id="content">
<?php query_posts( 'posts_per_page=1' ); ?>
<?php while ( have_posts() ) : the_post() ?>
<?php get_template_part('entry'); ?>
<?php comments_template('', true); ?>
<?php endwhile; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>