Howdy Frank,
That’s a great question. I was not sure of the top of my head if WP_Query (which powers tribe_get_events() ) allows you to query by post_title or not. I don’t see anywhere that it has this capability. It does allow you to query by slug, but that won’t help here since each of those posts will have a different number appended to their slug.
We actually have a bit of code we use to do this elsewhere in the plugin that looks like it might fit your needs. This is taken from Tribe__Events__Amalgamator::get_posts_with_title()
function get_posts_with_title( $title, $type ) {
global $wpdb;
$sql = "SELECT ID FROM {$wpdb->posts} WHERE post_type=%s AND post_title=%s ORDER BY ID ASC";
$sql = $wpdb->prepare( $sql, $type, $title );
$posts = $wpdb->get_col( $sql );
return $posts;
}
Using that could output each of the posts on any page, including the single events ones. If you’re wondering what the $type is it should be ‘tribe_events’. Does that do what you wanted?
Cheers!
– Brook