Created
July 10, 2015 17:33
-
-
Save saxap/dd2e4564a8bb4d3cc7a9 to your computer and use it in GitHub Desktop.
change post ordering or post per page on archive pages wordpress
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
| global $query_string; | |
| query_posts( $query_string . '&posts_per_page=999&orderby=title&order=DESC' ); | |
| //if (have_posts()) : while (have_posts()) : the_post(); blablabla//// |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment