WordPress.org

Ready to get started?Download WordPress

Forums

Query Multiple Taxonomies
Sorting by taxonomy (2 posts)

  1. bleepa
    Member
    Posted 2 years ago #

    Hi,

    Is there anyway to sort by taxonomy?

    I have a taxonomy called priority, where the terms are 1, 2, 3. I need the posts to be sorted by term names.

    Is that possible?

    http://wordpress.org/extend/plugins/query-multiple-taxonomies/

  2. korymath
    Member
    Posted 2 years ago #

    Totally, you can just append the query string however you want.

    For instance, if you wanted to search by title, you would just add

    <?php global $query_string; ?>
    <?php query_posts( $query_string . '&orderby=title&order=ASC' ); ?>

    before your loop.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic