- This topic has 3 replies, 2 voices, and was last updated 5 years, 6 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 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 › Date field by month (January 2020, February 2020, March 2020…)
Tagged: V3
Hello,
I know that there is the possibility of using the date range combo fields, but I would like to know if it is possible to have a date combo field per month (eg January 2020, February 2020, March 2020…)?
Thanks for your help
Kind regards,
Eric
Only by creating a custom field with those values in, to match whatever date your post has, which would mean editing existing posts. For new posts, and ones you edit, it is also possible to use PHP in your functions file to access the stored date and ‘calculate’ and set the necessary month/year. This code is not quite the same, but will give you and idea.
In V3, due in a few weeks, it may become possible to directly do as you ask. This one gets the year:
https://support.searchandfilter.com/forums/topic/datefilter/page/3/#post-238869