- This topic has 5 replies, 2 voices, and was last updated 7 years, 2 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 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 range as range slider
Tagged: date range
No. Instead, what you would do is create a custom field in the posts that is only the year. You can create custom code to hook in to the WordPress save_post() function that automatically takes the date and calculates the year and puts that into the field, if you were handy at coding.
I don’t have any suitable snippets, sorry. But stackexchange might, for example:
https://wordpress.stackexchange.com/questions/236678/post-date-on-custom-field
https://wordpress.stackexchange.com/questions/146082/saving-metadata-of-related-post-on-save-post
I found on this google search: