Order initial results taxonomy

Forums › Forums › Search & Filter Pro › Order initial results taxonomy

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #11066

    Is it possible to order the initial displayed results by taxonomy? For example I have post type Cars. I also have custom taxonomy named Colors. What I want to do is order the initial car results by color.

    Is there an easy way to accomplish this?

    Ross Moderator
    #11099

    Hey Tom

    This is not possible with the plugin – however the plugin uses the WordPress queries so you should be able to modify them by using pre_get_posts

    A quick look at doing this lead me to this:

    http://wordpress.stackexchange.com/questions/14306/using-wp-query-is-it-possible-to-orderby-taxonomy

    I believe the filters there *should* work with S&F but they are untested.

    Thanks

Viewing 2 posts – 1 through 2 (of 2 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.