Title: Add posts to page
Last modified: August 20, 2016

---

# Add posts to page

 *  [Phpdesign.si](https://wordpress.org/support/users/phpdesign/)
 * (@phpdesign)
 * [14 years ago](https://wordpress.org/support/topic/add-posts-to-pagephp-template/)
 *     ```
       <?php query_posts(true)// Really cool hack! ?>
       <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
   
       <?php // Content comes here ?>
   
       <?php endwhile; ?>
   
       <?php //include (TEMPLATEPATH . '/inc/nav.php' ); ?>
   
       <?php else : ?>
   
       <?php //Nothing found comes here.. ?>
   
       <?php endif; ?>
       <?php wp_reset_query;?>
       ```
   

The topic ‘Add posts to page’ is closed to new replies.

## Tags

 * [page.php](https://wordpress.org/support/topic-tag/page-php/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * 0 replies
 * 1 participant
 * Last reply from: [Phpdesign.si](https://wordpress.org/support/users/phpdesign/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/add-posts-to-pagephp-template/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
