Please install the The Events Calendar or The Events Calendar Pro Plugin to display the countdown

Please install the The Events Calendar or The Events Calendar Pro Plugin to display a list of upcoming Events

// Ensure the global $post variable is in scope
global $post;

// Retrieve the next 5 upcoming events
$events = tribe_get_events( array( ‘posts_per_page’ => 5, ) );

// Loop through the events: set up each one as
// the current post then use template tags to
// display the title and content
foreach ( $events as $post ) {
setup_postdata( $post );

// This time, let’s throw in an event-specific
// template tag to show the date after the title!
echo ‘

‘ . $post->post_title . ‘

‘;
echo ” . tribe_get_start_date( $post ) . ‘

‘;
}