Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter WPWanderer

    (@wpwanderer)

    Ah, I think I know what I was doing wrong, thus my next question.

    When using ondate’=>’today’ it doesn’t work as expected when an event time is given. Although, when “all day event” is checked it does.

    I’m using args in a wp_query to list events. What do you suggest for the best way to achieve this.

    Thread Starter WPWanderer

    (@wpwanderer)

    Lol. I am just posting to myself. Anyways, I got this to work. For whatever reason I came back today and it started working with ‘today’.

    Plugin Author Stephen Harris

    (@stephenharris)

    No, relative date queries are in the standard version. “Ondate” argument, expects a year / year-month or year-month-day – i.e. events running on that day / month / year.

    You can use event_start_after/event_start_before/event_end_after/event_end_before arguments for finer control

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Date queries only allowed in Pro…’ is closed to new replies.