Created
July 29, 2015 16:18
-
-
Save taniarascia/c5f3c9161e40ab27d2be to your computer and use it in GitHub Desktop.
Display a particular page's loop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $my_query = new WP_Query('page_id=87'); | |
while ($my_query->have_posts()) : $my_query->the_post(); | |
$do_not_duplicate = $post->ID;?> | |
<div class="entry"> | |
<?php the_content('read more »'); ?> | |
</div> | |
<?php endwhile; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment