Forum Replies Created
-
AuthorPosts
-
Laura Yeffeth
ParticipantFrom the URL would be fine. I need to add something to the header for a specific event, so I’m looking for a conditional statement I can use to target the event.
September 13, 2013 at 6:40 am in reply to: Can't figure out which template to use for a single event #65775Laura Yeffeth
ParticipantYes, that helps. Thanks.
September 12, 2013 at 3:21 pm in reply to: Can't figure out which template to use for a single event #65685Laura Yeffeth
ParticipantHi Barry,
For the first question, I am simply on a single event page. I clicked through to a single event from the list of events. The URL is mydomain/event/event-slug. Shouldn’t that trigger the conditional statement for a single event? It understands that I am on a single page since is_single() is triggered, but it doesn’t understand that I am on an event page since tribe_is_event() is not.
For the second question, no, unfortunately that doesn’t help. I understand that. My point was that I have tested every single-event.php file that there is and none of them change the single event page.
I have:
{your_theme}/tribe-events/photo/single-event.php
{your_theme}/tribe-events/map/single-event.php
{your_theme}/tribe-events/day/single-event.php
There was no list folder in my latest event calendar pro installation. Where else could I possibly look?If I were to give you access to the code, would you take a look?
Laura Yeffeth
ParticipantOk, thanks everyone for the responses. It just seemed a bit counterintuitve to me that if there is a setting for what you want as the default, that it wouldn’t be applied everywhere. For now, in this particular case, I can use the URL workaround.
-
AuthorPosts
