Login

To vote or comment, enter your email and we'll send a magic link

2

Add ascending/descending sort order

open

I would like to be able to switch between ascending and descending sort order in facets. The current "sort by" options are hardcoded. For instance, I would like to use fSelect & sort by descending term order (instead of the current default which is ascending).

2 weeks ago

Comments (1)

You can make forms in php template files with the set ($order = 'DESC') you like. Hopefully more details will be added here: https://facetwp.com/help-center/facets/facet-types/sort/

14 hours ago