Skip to content

Instantly share code, notes, and snippets.

@spigotdesign
Created July 11, 2013 20:21
Show Gist options
  • Save spigotdesign/5978885 to your computer and use it in GitHub Desktop.
Save spigotdesign/5978885 to your computer and use it in GitHub Desktop.
Tribe Events query
<?php $current_date = date('j M Y'); ?>
<?php $efeed = new WP_Query( array(
'post_type' => 'tribe_events',
'showposts' => 10,
'start_date' => $current_date,
'end_date' => $current_date
));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment