- This topic has 1 reply, 2 voices, and was last updated 5 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Filter by Taxonomy
Tagged: sorting
Please correct me if I am wrong or there is another post I didn’t see. I actually did that before…
My client is asking me to display results when first coming to the page by the rank of their employees
CEO > Branch Managers > Managers > Sales > Specialists
Which I could just create a new taxonomy, give them the name or give those a unique number such as (1 – 5) or something… but can this sort by a taxonomy is basically what I am asking or what would be the best way to go about this.
You are correct, if the data terms are stored as a taxonomy, they cannot be sorted, as taxonomy data are stored as an array (multiple terms) per post (which term in the array would you sort by?).
Make a custom field and allocate a value you can sort by, but, be warned, if a post does not have a value in this field, then it will not appear at all in the results if you use the field to order by.