My events page is set up so List is the default view. When I switch to Photo View and click on a Title,I go to the “Detail” page. But the “Back link” (« All Courses & Workshops) takes me to the /events page but in the default List View. How can I get it to return to Photo View?
This is the code on single-event.php:
<p class="tribe-events-back">
<a href="<?php echo esc_url( tribe_get_events_link() ); ?>"> <?php printf( __( '« All %s', 'the-events-calendar' ), $events_label_plural ); ?></a>
</p>
I can manually add /photos/ but it doesn’t seem like I should have to. (Note: I’m not using the “Detail” page for List View so hardcoding is an option, it just doesn’t feel like I should need to).
Thanks,
Mad Dog