I need to replace the default content on the main events page (mysite.com/events) with my own custom content instead of displaying a view of all events. The reason is that I have events in multiple cities and I’m using Event Categories to separate the events for users. It isn’t very useful to see a main events page that has all events in all cities.
Instead I want the main events page to display a list of all the Event Categories with hyperlinks. I know how to create my own query to output the list of Event Categories and hook it into the main events page, but I don’t see any obvious way to UNHOOK all the default Events Calendar content that normally shows on the main events page. What’s the best way to do this? My default view is Month.
The conditional I plan to use to unhook default content and add my own content is:
is_post_type_archive(‘tribe_events’)