Hi again,
Looks like my clever developer has been able to fix both of the problems a) & b). Here’s his fix in case it helps others:
Here’s the code:
add_action( ‘parse_query’, ‘tribe_fix_tag_query’ );
function tribe_fix_tag_query( $query ) {
if ( $query->is_tag && (array) $query->get( ‘post_type’ ) != array( TribeEvents::POSTTYPE ) ) {
if ( empty( $query->query_vars[‘post_type’] ) || (‘any’ == $query->query_vars[‘post_type’]) ) {
$query->query_vars[‘post_type’] = array( ‘post’ );
}
}
}
I had added the code to check for post type that is ‘any’ instead of just ’empty’
Thanks