I need to query posts so that they sort first by date with the oldest appearing first, then by category with the lowest number appearing first. I can’t get anything to work. Please help!
<?php query_posts( 'posts_per_page=24&cat=14,15,16,17,18,19&orderby=date&order=ASC&orderby=category&order=DESC' ); ?>
[Please post code snippets between backticks or use the code button.]
- The topic ‘query_posts help ~ Need multiple sort by’ is closed to new replies.