Created
November 15, 2013 16:04
-
-
Save rfvcorreia/7486765 to your computer and use it in GitHub Desktop.
Query Post by Week, Greater than current week.
Add to WP_Query Args.
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('date_query' => array( | |
| array( | |
| 'week' => date('W'), | |
| 'compare' => '>=' | |
| ), | |
| ) | |
| ); | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment