Reading Setting Not Working for Number of Posts

Question

I set the number of posts to show on my blog to 1, but the blog is showing all the posts I have. I tried to insert a custom query into my index.php, but it just made one post show up endlessly. This is my index.php:

<?php get_header(); ?>

<?php if ( have_posts() ) : ?>
<div id="content" class="group">
    <?php /* Start the Loop */ ?>
        <?php while ( have_posts() ) : the_post(); ?>

            <?php get_sidebar(); ?>

            <div id="post_column">

            <div class="post_entry group">

                <div class="post_header"><h2><?php the_title(); ?></h2>
                <?php the_content(); ?>
            </div>

            </div>
        <?php endwhile; ?>

    <?php endif;  ?>
</div>


<?php get_footer(); ?>

I’d appreciate your help.

0
Jaeeun Lee 9 years 2014-02-21T22:49:38-05:00 0 Answers 46 views 0

Leave an answer

Browse
Browse