Forums Forums Search & Filter Pro Filter by _EventStartDate with The Events Calendar PRO by Modern Tribe

Viewing 7 posts - 1 through 7 (of 7 total)
  • Trevor
    #202609

    There is a good chance that the dates are not stored in the YYYYMMDD format required by Search and Filter.

    Anonymous
    #202989

    Dates are stored in this format: YYYY-MM-DD HH:MM:SS
    But the global filter to show only content from the current date to the future works perfectly.

    Is there a way I can make it work? Maybe modifying the code of the plugin manually?

    Thanks for your help!

    Trevor
    #203006

    The only way you could make it work is to have a second date field, that holds the date in our required format. You could add a function to your child theme’s functions.php file to hook in to the WordPress save_post() function to process the saved date and save it in the desired format into this new field.

    Anonymous
    #203056

    Seems not very efficient to duplicate meta fields just to do this.

    There is an option for Date Input Format: Timestamp or YYYYMMDD (ACF). Could you make a new one for
    The Events Calendar plugin, so they are compatible? This is by far the top 1 calendar plugin:
    https://wordpress.org/plugins/tags/calendar/

    Trevor
    #203060

    It is likely we will look at this for V3, which is currently in development.

    Anonymous
    #276720

    We’re currently working on this situation as well. Is the solution to wait for V3? Is there a release date set for V3 yet?

    Trevor
    #276722

    No release date, I am sorry. Closer, a lot closer.

Viewing 7 posts - 1 through 7 (of 7 total)