Forums › Forums › Search & Filter Pro › Order Tags in dropdown
Tagged: tags
- This topic has 8 replies, 2 voices, and was last updated 4 years, 12 months ago by Trevor.
-
Anonymous(Private) December 4, 2019 at 4:31 pm #228347
Hi,
I have a site with a filter set up, https://www.explore-liverpool.com/filter-test-2/
The first drop down is working off WordPress Tags and the second off WordPress Categories. I was wondering is there a way to order the tags so it goes Jan, Feb, March, Apr etc in month order. I know these work of wordpress ID’s but if there was a work around or a way I could rejig the search form that would be super helpful.Thanks
Trevor(Private) December 4, 2019 at 4:47 pm #228352That type of plugin could cause problems with your results, as it is likely to interfere with our plugin’s search results.
Instead of being Tags or Categories, the Months should be Post Meta (a Custom Field), then, in our Form UI, you can drag and drop them to the correct order.
Anonymous(Private) December 4, 2019 at 4:49 pm #228356Hey Trevor,
Ah right ok. I did try that post meta option because each event we are filtering does have an event date but I couldn’t get it to work as a drop down? It keps showing as loads of numbers. When I got it close, it was showing the dates and months but in numerical format and really I think it would be a better user experience to say ’12 January’ instead of 01/12 if that makes sense?
All your help is massively appreciated! Thanks
Anonymous(Private) December 4, 2019 at 5:15 pm #228360Hey Trevor, I don’t have skype although I could get it?
I can send you screenshots and a login if that helps?Essentially what we have is a custom post type with ACF set up. ACF has a date key which we could use in the post meta tab of the searchandfilter plugin but I couldn’t seem to find a lot of documentation on how to set up that part of searchandfilter and when I could get it working it only showed dates as ‘12012019’ instead of ’12 January 2019′ and there was no way to order them from January through to December?
Thanks again!
-
AuthorPosts