Query Multiple Taxonomies
[resolved] How to sort results returned from QMT (2 posts)

  1. peterAtHome
    Posted 5 years ago #


    How do I sort the results returned from the query? I would like to do this before hitting the_loop in the taxonomy.php template I basically want my posts to be listed first (alphabetically) and then my custom post types (alphabetically by title). Is this possible easily or do I need to strip info from the $wp_query object and create my own arrays and loops from it (by-passing the_loop)?

    Thanks, P.

  2. scribu
    Plugin Author

    Posted 5 years ago #

    Just use query_posts():


    It doesn't really matter if you're using QMT or not.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Query Multiple Taxonomies
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic