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

#1056

StartupWP
Keymaster

Let’s go back 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(); ?>
<?php endwhile; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>

Now for that page under Pages in your WP admin, when editing, go top-right and click on “Screen Options” to make sure that the “Discussion” box is checked and then, that “Allow Comments” is checked below. If that’s a no go, we’ve unfortunately run out of ideas.