Created
December 1, 2016 00:27
-
-
Save sarvar/e946b93e47ac3edb4c577b40ee882033 to your computer and use it in GitHub Desktop.
Display one specific page in loop
This file contains hidden or 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