Display 3 posts by parent ID
-
<?php query_posts("posts_per_page=3&post_type=page&post_parent=71"); the_post(); ?> <article class="span4"> <time>Tuesday, April 16, 2013</time> <h5><a>"><?php the_title(); ?></a></h5> <p class="excerpt"> <?php the_excerpt(); ?> </p> <a href="#">Read More...</a> </article>
Not working for me for some reason, it’s not giving me any errors but nothing shows up, all blank.
All I want to do is show the 3 latest posts under the parent page id 71. This is for the Home Page
Any advice guys?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Display 3 posts by parent ID’ is closed to new replies.