I love this plugin. One thing I can’t figure out so far: I am getting my event data returned using global $post;
$all_events = tribe_get_events(
array(
‘eventDisplay’=>’upcoming’,
‘posts_per_page’=>10,
‘tax_query’=> array(
array(
‘taxonomy’ => ‘tribe_events_cat’,
‘field’ => ‘slug’,
‘terms’ => ‘microsoft-excel-classes’
)
)
)
);
foreach($all_events as $post) {
setup_postdata($post);
etc. and it is working great. But I would like to grab my category name and output it in my WordPress page. I have tried get_the_category() and the_category to no avail. Any help?