Hi guys,
I have gone trough a lot of documentation and discussions here, but please give me a little further help.
I would like to use the regular template in all calendar views, but a different one on the single event view.
I created a new template (page-test.php) in my child theme and added the lines below on top of this template file and I’ve chosen for this template in the event settings. The single event page returns a blank page.
<?php /* Template Name: page-test */ ?>
<?php
if (tribe_is_event() && is_single()) {
get_template_part('page-test');
return;
}
?>
I tried this the other way around as well, so adding these lines on my default template (page.php). But again, single view returns blank.
Please help me out 🙂 Thanks!