Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WP_Query syntax to easily pull down for use in ST2
$query = new WP_Query( 'params' );//
while($query->have_posts()) : $query->the_post();
//content goes here
wp_reset_postdata(); // reset the query
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment