Skip to content

Instantly share code, notes, and snippets.

@mzo84
Last active August 15, 2016 11:33
Show Gist options
  • Save mzo84/fc6f6776b0dd5e1326756f3e32b9fb5d to your computer and use it in GitHub Desktop.
Save mzo84/fc6f6776b0dd5e1326756f3e32b9fb5d to your computer and use it in GitHub Desktop.
wordpress - To check what query string is being used by the Loop
// To check what query string is being used by the Loop
// insert before the loop.
<?php echo "<pre>"; print_r($wp_query->query_vars); echo "</pre>"; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment