Created
April 26, 2013 12:57
-
-
Save ataylorme/5467195 to your computer and use it in GitHub Desktop.
Print archive page content outside WordPress 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 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