Title: Post Loop not FInding Posts &#8211; Please Help :)
Last modified: August 19, 2016

---

# Post Loop not FInding Posts – Please Help :)

 *  [Gary Hart](https://wordpress.org/support/users/gshart/)
 * (@gshart)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/post-loop-not-finding-posts-please-help/)
 * The following loop runs without error but is not finding posts.
    Your help is
   greatly appreciated!
 * <?php
    /* Template Name: Test Blog Loop */ ?>
 * <?php get_header(); ?>
 * <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 *  <ul class=”archive-list clearfloat”>
 *  <li class=”clearfloat”>
 * 
 * </h4>
 *  <p class=”postmetadata”><?php _e(‘Authored by’,’Mimbo’); ?> <?php the_author_posts_link(‘
   namefl’); ?> <?php _e(‘on’,’Mimbo’); ?> <?php the_time(‘n/d/y’); ?> • <?php _e(‘
   Categorized as’,’Mimbo’); ?> <?php the_category(‘,’) ?></p>
 *  <?php the_content(); ?>
 * <?php endwhile; ?>
 *  <h2><?php _e(‘Not Found’,’Mimbo’); ?></h2>
 *  <?php endif; ?>
 * <?php posts_nav_link(‘ — ‘, __(‘« Newer Posts’), __(‘Older Posts »’)); ?>
 * </div>
    </div>

Viewing 1 replies (of 1 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/post-loop-not-finding-posts-please-help/#post-1418542)
 * se the codex for general information.
 * [http://codex.wordpress.org/Pages](http://codex.wordpress.org/Pages)
    [http://codex.wordpress.org/Pages#Page_Templates](http://codex.wordpress.org/Pages#Page_Templates)
   [http://codex.wordpress.org/Pages#A_Page_of_Posts](http://codex.wordpress.org/Pages#A_Page_of_Posts)
 * the loop on a page template needs ‘some instructions’ waht to display.
 * you could use the way the ‘page of posts’ in the above documentation does it;
   
   or you could use ‘query_posts()’ [http://codex.wordpress.org/Template_Tags/query_posts](http://codex.wordpress.org/Template_Tags/query_posts)
 * you need to know what you want to display with your page template, and then set
   the arguments accordingly.

Viewing 1 replies (of 1 total)

The topic ‘Post Loop not FInding Posts – Please Help :)’ is closed to new replies.

## Tags

 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [post loop](https://wordpress.org/support/topic-tag/post-loop/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/post-loop-not-finding-posts-please-help/#post-1418542)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
