Skip to content

Instantly share code, notes, and snippets.

@ataylorme
Created April 26, 2013 12:57
Show Gist options
  • Save ataylorme/5467195 to your computer and use it in GitHub Desktop.
Save ataylorme/5467195 to your computer and use it in GitHub Desktop.
Print archive page content outside WordPress loop
<?php echo apply_filters('the_content', get_page($wp_query->get_queried_object_id())->post_content); //print content of blog page outside the loop ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment