Although the single event feature can give your The Events Calendar users plenty of information about your events, you may have a situation where you’d like to disable these links so that users only see the event on the main calendar page.

This might come up if you’d like to create a holiday event or blackout dates or when a business might be closed. In these situations, removing the links to the single event pages would be helpful.

You can add a CSS snippet to your stylesheet to make this happen.

Create a category

The first thing you’ll want to do is create a category for your events that won’t link to single events. In this example, we’ll use the category “Holiday”.

Disable links with a snippet

The following CSS snippet will disable links in List View, Month View, Day View, and Summary View:

.tribe_events_cat-holiday h3 a {
	pointer-events: none;
}

To disable the links from Photo View and Week View, use the following CSS snippet:

.tribe-events-view--photo .tribe_events_cat-holiday a {
	pointer-events: none;
}

For Map view, it is best to do a template override of the following file:
/events-calendar-pro/src/views/v2/map/event-cards/event-card/actions/details.php