New Topic

Reply To: Make Front Page the most recent post

Home › Forum › Customization › Make Front Page the most recent post › Reply To: Make Front Page the most recent post

#1041

StartupWP
Support

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(); ?>