Skip to content

Instantly share code, notes, and snippets.

@schikulski
Created February 7, 2014 13:00
Show Gist options
  • Save schikulski/8862236 to your computer and use it in GitHub Desktop.
Save schikulski/8862236 to your computer and use it in GitHub Desktop.
Wordpress: query a singel page
<?php $page = new WP_Query("page_id=8"); while($page->have_posts()) : $page->the_post();?>
<?php endwhile; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment