I have added the following code (from the page Using tribe_get_events) to my template and it works perfectly.
However, I’d like to modify it and I’m a little stuck. I would like the title to be linked to it’s page. And I would like to be able to apply a category, so that it’s only the “featured” events that display.
Hoping you can help.
Thanks,
Karen
global $post;
$events = tribe_get_events( array(
'posts_per_page' => 1,
) );
foreach ( $events as $post ) {
setup_postdata( $post );
echo "$post->post_title ";
echo tribe_get_start_date( $post );