By default, on the single event page, links to event, venue, and organizer websites will open in the current tab. However, there are scenarios where you might want to point these links to separate tabs to improve user navigation.

Fortunately, our code provides a straightforward solution to achieve this using filters.

The snippets

Add the code snippet to the functions.php file of your theme, or use your preferred method for integrating snippets into your WordPress site, such as the free Code Snippets plugin.

Event Website link

add_filter( 'tribe_get_event_website_link_target', function () {
    return '_blank';
}, 10, 1 );

Event Venue link

add_filter( 'tribe_get_venue_website_link_target', function () {
    return '_blank';
}, 10, 1 );

Event Organizer link

add_filter( 'tribe_get_event_organizer_link_target', function () {
    return '_blank';
}, 10, 1 );