Created
March 7, 2013 18:41
-
-
Save zenman/5110590 to your computer and use it in GitHub Desktop.
Modify default query_posts.
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
<?php | |
//get the defualt query. | |
global $query_string; | |
//use the defualt query, but add your modifications connected by &. | |
query_posts($query_string . '&your_mods=awesome'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment