I have a Parent Category(ID=14) which has several sub-categories storing Posts.
On my Category Page for this Parent Category, I retrieve all my Posts using:
<?php query_posts('cat=14&orderby=date&order=ASC'); ?>
However, I would like all Posts from a certain sub-category to appear first when outputting the Posts.
Is there a way to
<?php query_posts('cat=14&orderby=sub-category-id-goes-here&order=ASC'); ?>
How do I achieve this?
- The topic ‘Order Posts by Sub-Categories on Parent Category Page?’ is closed to new replies.