Created
January 28, 2013 17:39
-
-
Save LinzardMac/4657471 to your computer and use it in GitHub Desktop.
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
$query = new WP_Query( array( | |
'post_type' => 'wod', | |
'posts_per_page' => -1, | |
) ); | |
if( $query->have_posts() ): while( $query->have_posts() ): $query->the_post(); | |
the_content(); | |
endwhile; | |
endif; |
jaseinatl
commented
Jan 28, 2013
'wods',
'posts_per_page' => -1,
) );
if( $query->have_posts() ): while( $query->have_posts() ): $query->the_post();
the_content();
echo var_dump($query);
endwhile;
endif;
?>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment