florianubr

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: How to display events within a given date range only? #108927
    florianubr
    Participant

    Thanks for hinting me to these docs, Brook. Couldn’t find them by myself and they look very interesting. However, I am looking forward to solve my problem using WP_Query() instead of tribe_get_events() – mainly because I also need to add additional query elements for filtering search results with bindings to standard WP categories. Also support for paging would be good to have, for which your documentation describes to use WP_Query() –> https://theeventscalendar.com/queries-and-pagination/

    However, when I try to use WP_Query, out of some reason it seems, both arguments “end_date” as well as “start_date” seem to be ignored. The start date for events listing always seems to be the one set by tribe-bar-date. How can I make “start_date” and “end_date” work with WP_Query()?

Viewing 1 post (of 1 total)