Created
June 17, 2016 03:58
-
-
Save peterwilsoncc/ebba5506f144137a48cfc54bae776b6f to your computer and use it in GitHub Desktop.
get post class test
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 | |
// Start the Loop. | |
while ( have_posts() ) : the_post(); | |
// post_class(); | |
?> | |
<p><?php the_ID(); ?></p> | |
<?php | |
endwhile; | |
?> | |
<hr> | |
<?php | |
echo esc_html( get_num_queries() ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment