Forums › Forums › Search & Filter Pro › Post Archives Ability?
- This topic has 6 replies, 2 voices, and was last updated 7 years, 1 month ago by
Anonymous.
-
Anonymous(Private) February 13, 2019 at 3:47 pm #202132
Hi,
In the Search Form UI builder, is it possible to add or use Post Archives as a field to filter by?
Currently we are finding that we have to create a separate, custom Post Taxonomy called Archives and then create dates such as “December 2018” or “January 2019” to be categorised and then filtered by which is very long winded and almost unnecessary if the Post Archives already exist?Hope this makes sense!
Thanks.
Trevor(Private) February 13, 2019 at 4:25 pm #202147Then, sadly you need to make a custom field to do that (or a taxonomy, but a custom field might be a better option) and base the Form UI field on that. You can automate the completion of that field by using the WordPress save_post() function in your child theme functions.php file.
Anonymous(Private) February 14, 2019 at 8:30 am #202202Hi,
So saving the post would auto fill the custom field with the date published?
Then I guess we’d have to set up the Form UI field based on dates between the first and last of each month using the custom field? (Am I along the right lines or talking nonsense?)Thanks.
-
AuthorPosts