Title: Pulling Multiple Posts Into Homepage
Last modified: August 19, 2016

---

# Pulling Multiple Posts Into Homepage

 *  [dadra](https://wordpress.org/support/users/dadra/)
 * (@dadra)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/pulling-multiple-posts-into-homepage/)
 * I’m building a custom theme that displays a snip of the most recent blog post
   on the home page (the blog itself is not the homepage of the site). I’m currently
   showing just one post, but would like to have the options to show two or more
   posts. Here’s the current code:
 *     ```
       <?php query_posts("posts_per_page=1"); the_post(); ?>
   
       <div class="date_home">Posted <?php the_time('F jS, Y') ?></div>
   
       <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
   
       <?php the_content('Continue Reading →'); ?>
       ```
   
 * I would have thought that changing
 * `posts_per_page=1`
 * to
 * `posts_per_page=2`
 * would do the the trick, but it’s not working.
 * Any help appreciated. Thanks!

The topic ‘Pulling Multiple Posts Into Homepage’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [dadra](https://wordpress.org/support/users/dadra/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/pulling-multiple-posts-into-homepage/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
