Created
November 26, 2016 16:08
-
-
Save jpen365/dc83c6eaf8b76343b4af18a5c81ab621 to your computer and use it in GitHub Desktop.
A template for creating a new instance of the WP_Query class
This file contains hidden or 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 | |
$args = array( | |
// Define the arguments for the new query | |
); | |
$myQuery = new WP_Query( $args ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment