HI, Im running a simple query to show the latest event from the events cal pro plugin. Right now I have it pulling in the link, title and featured image.
I can not for the life of me figure out how to have it pull in its custom taxonomy associated with that event.
<div class="small-12 medium-6 large-4 columns">
<?php $events = tribe_get_events( array('posts_per_page' => 1, 'orderby' => 'meta_value', 'order' => 'DESC') );
foreach ( $events as $event ) { ?>
<p class="home-cat"><?php echo tribe_get_event_cat_slugs( $post_id ) ?></p>
<a href="<?php echo tribe_get_event_link( $event->ID ) ?>"><?php echo tribe_event_featured_image( $event->ID, 'home-blog', true ); ?></a>
<div class="home-news-content clearfix">
<a href="<?php echo tribe_get_event_link( $event->ID ) ?>"><h2><?php echo $event->post_title; ?></h2></a>
<p><?php echo $event->post_excerpt; ?></p>
<a class="home-read-more" href="<?php echo tribe_get_event_link( $event->ID ) ?>">Read More</a>
</div>
<?php wp_reset_postdata(); } ?>
</div>