Hi,
I’ve successfully customised the layout of the photo display with Events Calendar Pro. I did this by copying the event.php file over to <THEME>/tribe/events-pro/v2/photo/ as described in the documentation, and customising it.
This is all fine, but I’d like to customise the template differently when I display the photo view on the site home page. For example I’ve removed the featured photo on the home page, but want to continue showing it on other photo layouts.
I tried using the standard WordPress is_front_page() to check if we’re on the site front page and hiding the featured image. if(is_front_page() ) { etc…
This doesn’t appear to have any effect when I use it within the event.php template file. Is there a better / correct way of doing this?
Thanks!
