I need to use a different template for Tribe Community than the one set in The Events Calendar settings (second tab).
I have been able to hard-code a reference to the default template for Tribe Community in the-events-calendar-community-events->lib->tribe-community-events-templates.class.php on line 385:
384: public function addRoutes( $router ) {
385: $tec_template = ‘default’; // tribe_get_option( ‘tribeEventsTemplate’ );
386: switch ( $tec_template ) {
387: case ” :
388: case ‘default’ :
389: $template_name = ‘page.php’;
390: break;
391: default :
392: $template_name = $tec_template;
393: }
But I know this will be broken the next time you update the plugin. How can I achieve the same result without changing the core plugin?
Thanks,Benjamin Weggersen