Last active
November 24, 2015 17:46
-
-
Save fahidjavid/07a1dde77d9bfbe667a3 to your computer and use it in GitHub Desktop.
[WordPress] Modify the posts query on the taxonomy template.
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 | |
global $wp_query; | |
query_posts( | |
array_merge( | |
array( | |
'order' => 'ASC', | |
'posts_per_page' => 8 | |
), | |
$wp_query->query | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment