ACF term sort order

Forums › Forums › Search & Filter Pro › ACF term sort order

Tagged: ,

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

    Hello,

    I am using advanced custom fields for setting meta to my custom post types.
    I was using the following in my custom query args:
    ‘meta_key’ => ‘age’,
    ‘orderby’ => ‘meta_value_num’,
    ‘order’ => ‘ASC’

    I now would like to order the results of my search in the same way.
    Is this possible?

    Thanks,
    Alex

    Trevor
    #61792

    Is this not possible in the form setup? On the Posts tab, in Default Order select Meta Value and select Ascending. Another option box (Choose Meta Key) will appear, select the ACF meta key (NOT starting with an underscore).

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.