Created
May 26, 2014 15:54
-
-
Save nroca/0b308dafc07a180a7604 to your computer and use it in GitHub Desktop.
Wordpress single page 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 $recent = new WP_Query("page_id=21"); while($recent->have_posts()) : $recent->the_post();?> | |
<!-- content --> | |
<?php endwhile; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment