sorting results

This topic contains 1 reply, has 2 voices, and was last updated by

1 year, 12 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #25535


    I have a taxonomy called bmd which represents board meeting dates. Each element is formatted like these (2020-1-27, 2019-7-14). I am capturing that value in a text field using acf. I am trying to get the results to sort by this field-newest first (which since it needs to be a taxonomy I cannot make it a date field type). Do you have any suggestions how to make this work? Thank you.



    The only way to make this work properly is via custom coding – possibly using the ‘asp_results’ hook to modify the results array order. Taxonomies are stored as separate object types, so I’m afraid we cannot integrate such feature.

    If the taxonomies were created in the same order as the dates, then grouping may work. Use the ‘Use all from {taxonomy}’ option:

    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)

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

You must be logged in to reply to this topic.