Support

Account

Home Forums General Issues Archives of custom posts based on date picker Reply To: Archives of custom posts based on date picker

  • I know this is an old question so I’m adding an answer for those that are looking for something similar. There are a couple of ways to accomplish this. The first is by following the example here https://www.advancedcustomfields.com/resources/creating-wp-archive-custom-field-filter/. The second is to use the actual “post date” of the post and add rewrite rules to create actual date archives for the custom post type. You can see an example of this here https://github.com/Hube2/cpt-widgets/blob/master/CPT-archives-widget.php.