Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
get post class test
<?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
You can’t perform that action at this time.