Last active
August 15, 2016 11:33
-
-
Save mzo84/fc6f6776b0dd5e1326756f3e32b9fb5d to your computer and use it in GitHub Desktop.
wordpress - To check what query string is being used by the Loop
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
// 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