Hi there @sparxoo,
Thanks for getting in touch with us! I can help you on this ๐
I’m not 100% sure that I understand correctly what you are trying to do here, but I guess it’s just modifying the calendar main query. Take a look at the code sample below:
/* Tribe, limit posts just to a category */
add_action( 'pre_get_posts', 'limit_events_category' );
function limit_events_category( $query ) {
if ( $query->query_vars['post_type'] == TribeEvents::POSTTYPE && !is_tax(TribeEvents::TAXONOMY) && empty( $query->query_vars['suppress_filters'] ) ) {
$query->set( 'tax_query', array(
array(
'taxonomy' => TribeEvents::TAXONOMY,
'field' => 'slug',
'terms' => array('results'),
'operator' => 'IN'
)
));
}
}
It’s just a starting point but I guess it will give you the base to craft your customization!
Please let me know about it,
Best,
Nico