- This topic has 3 replies, 2 voices, and was last updated 6 years, 4 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 › Possible to Filter by Post Published Date Year
Tagged: V3
Hi,
I’d like to create a simple page which has a list of years e.g.:
2018 | 2017 | 2016…
When the user clicks on one of these links it just shows posts published that year. I’ve been looking through all the various inputs but can’t seem to find a suitable solution. Is this possible with this plugin at all?
Thanks,
James
As you have identified, with the current version of the plugin, this is not directly possible. We may be looking at adding what you ask for in V3 of our plugin (I do not have an ETA as yet). So, you would need to add a Year custom field (which you could populate automatically with custom code in the child theme functions.php to hook in to the WordPress save_post() function). Then you can filter on that custom field.