Forum Replies Created
-
AuthorPosts
-
November 9, 2017 at 9:40 am in reply to: Issue when adjusting quantity inputs and ticket fieldsets #1379184
kristin
ParticipantThis reply is private.
kristin
ParticipantSorry, is this supposed to be an argument for get_events?
Like so?
'end_date' => 'start_date',I gave that a try and still no luck unfortunately.
kristin
ParticipantHi AndrĂ¡s,
Thanks for the reply. No, this isn’t a recurring event. It’s simply an event that spans for multiple months and it still considered ‘In Progress’, I suppose you could say. I’m just curious if there’s a way to filter out events like that?
kristin
ParticipantHello,
I have a custom call to tribe_get_events which isn’t working as I’d expect. I want to just grab the first upcoming event of a specific event category, which I’ve setup as such
$events_genre = tribe_get_events( array( 'posts_per_page' => 1, 'start_date' => date( 'Y-m-d' ), 'post__not_in' => array( get_the_ID() ), 'eventDisplay' => 'list', 'tax_query' => array( array( 'taxonomy' => 'class-genre', 'field' => 'slug', 'terms' => $post_genre_slug[0]->slug, ) ), ) );However, the resulting event I get back is an event which started in September and Ends in November. I’m realizing that maybe because this event is still ongoing that maybe the call to tribe_get_events isn’t returning what I’d expect? Ideally I’d like to get the next event of this category that HASN’T started yet. Thanks!
-
AuthorPosts
