I’m trying to use custom events template but the page loads two events, the first with an ID of -9999 (which of course doesn’t exist) and the second being the correct one.
You should be able to easily reproduce this by simply copying the ‘default-template.php’ file from ‘/plugins/the-events-calendar/views/’ to ‘/themes/mytheme/’ and insert the line “Template Name: My Event Template” to make WordPress see it as a template.
Once you change the events template in “The Events Calendar Settings > Display” you should see that it now renders two templates. The first one has no fields to display since it tries to load ID: -9999 but it does render the rest of the skeleton including the “<< All Events” links ect.
This is a major issue for us right now, the default template doesn’t work for our client and it looks like the only way around this currently is to edit the plugin views directly, however any changes made there will be lost if the plugin is updated in the future.