Forums › Forums › Search & Filter Pro › Changing sort-by field from option element to something else
Tagged: sort order
- This topic has 6 replies, 3 voices, and was last updated 10 years, 9 months ago by
Ross.
-
Anonymous(Private) January 21, 2016 at 8:58 pm #34967
Hello,
I searched the forum on this topic and couldn’t find anything. Hopefully I’m not duplicating questions!
Is it possible to change the Sort By option selector to something else? For example, our designer would like the sorting functionality to look something like this — Sort: Most Recent | A-Z , where either “Most Recent” or “A-Z” can be clicked to change the sort order and the current sort order is indicated by the label being bold.
Thank you!
Ross Moderator(Private) January 22, 2016 at 12:23 am #34969Hey Travis
The only quick thing I could implement is radio buttons, there is some code in there lurking around I started a while ago – is this something that would help?
The html markup would be nearly the same as the markup generated by the radio option in any of your other fields.
Thanks
Ross Moderator(Private) January 29, 2016 at 7:24 pm #35752Hi both
I’ve just released 2.1.2 which has this option included ๐
Yeah there are labels after, so you can use some CSS wizardry to hide the radio inputs themselves!
Thanks
-
AuthorPosts