Page template versus single event
-
What ever template I choose under Settings > Display > Events template.. that template is also being used for the single-event.
I’ve copied the files under src > views to mytheme/tribe-events/..
I have a page-tour.php (with list view)
And I copied single-event.php (no changes).If I choose page-tour.php it shows that template on both:
1. Tour page (with events slug tour)
2. Single-eventThe body class of single event both has ‘single’, ‘single-tribe_events’ but also ‘tribe-events-page-tour’ > how can a single event have a page template instead of the single-event.php template?
Changing it to default-template.php does make the single event show up, but my list on the events list page then is gone.
What am I doing wrong?
- The topic ‘Page template versus single event’ is closed to new replies.