Support » Plugin: Pods - Custom Content Types and Fields » Shortcode: Display posts between dates (plus one day)

  • Resolved Jay Collier


    Is it possible to display posts that are between two dates – plus one day?

    Here’s what I am using:

    [pods name="event" template="Event-List-General" where="CURDATE() BETWEEN CAST(event_display_publicly_date.meta_value as DATE) and CAST(event_start_date_lists.meta_value as DATE)" orderby="event_start_date_lists.meta_value ASC"]

    I would like to display until one day after the start date, which is stored in event_start_date_lists.

    Is this possible? (This would be the cat’s meow. I can do everything else I’ve dreamed with Pods!)

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.