kristin

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Issue when adjusting quantity inputs and ticket fieldsets #1379184
    kristin
    Participant

    This reply is private.

    in reply to: Issue with tribe_get_events #1372423
    kristin
    Participant

    Sorry, 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.

    in reply to: Issue with tribe_get_events #1371503
    kristin
    Participant

    Hi 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?

    in reply to: Issue with tribe_get_events #1370333
    kristin
    Participant

    Hello,

    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!

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