Skip to content

Instantly share code, notes, and snippets.

@spigotdesign
Created April 13, 2021 15:04
Show Gist options
  • Save spigotdesign/5d87245ed934816207ea13df9158666b to your computer and use it in GitHub Desktop.
Save spigotdesign/5d87245ed934816207ea13df9158666b to your computer and use it in GitHub Desktop.
<?php $event_feed = new WP_Query(
array(
'post_type' => 'tribe_events',
'posts_per_page' => $settings->post_items ,
'eventDisplay' => 'upcoming',
'start_date' => $current_date,
'end_date' => $current_date,
'orderby' => 'start_date',
'order' => 'ASC',
)
); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment