Posted: April 11, 2023 at 3:27 pm
I have updated to version 5.03 and now on the event page the time zone and ical icon are shown after the venue. How do I get that to move up? When inspecting with Chrome DevTools it shows in this class: class=”ee-event-datetimes-li-venue” so I am lost in location of what I need to change. Here is the event page: https://events.education.ne.gov/events/2023-nemtss-summit-transformations-through-coherence/ System information: |
|
Did you get this adjusted? I see the Datetime and ical button above the tickets and venue now. |
|
Unfortunately not. I have check this in other browsers and others check too. Here is a screenshot of what we are seeing. |
|
Hmm, ok. So the problem is the hook in use for the iCal there and I’m assuming you have a custom function hooking in to add the timezone? Previously it worked fine without a DateTime description but with EE5 we introduced the ability to set Venues on datetimes which are then output in that same location and it throws things off, especially when using a custom function to add details such as Timezone. Right now the solution to this is to create your own version of the function used to output the datetime details, its a pluggable function which means your can override the one within EE by creating your own. But first, let’s start by confirming how you are adding the timezone into the above? |
|
The datetime information is now below the venue for me too. Did you try to adjust the template settings in Event Espresso > Events > Templates to a custom order on the event page? |
|
I have the Timezone set in the WordPress General > Settings > Timezone > Chicago. I don’t recall for sure in EE4, if there was an additional setting and I don’t see it now. I was changing the custom order on the events page to see if that was somehow affecting this. I have since went back to the settings I had when starting. |
|
Event Espresso does not output the timezone in that location but I’ve seen people use functions like this: https://gist.github.com/Pebblo/fae7eb5a8869bb11b703ad72c3eb2e1f To manually add it. Any custom functions hooking into
There is nothing within Event Espresso’s settings to add/change this, its not from EE itself. |
|
I was able to add that and it shows on a line below the venue. I can use css to hide the ical icon, but I don’t see a way to use css hide the timezone on the line with the venue. Here is a new screenshot. Is there a way to remove it somewhere else? I am fine with all of our other events showing CT so it can be across the board change. |
|
Event Espresso doesn’t output that timezone by default, something on your site is hooking in to add that in but I have no idea where that code would be. Check for any custom functions plugins and check your themes |
|
Thank you for your response. I will look to see if a change to the functions.php file. |
|
A co-worker was able to locate it and was able to adjust it. |
|
Awesome, I’m glad you found it. Out of curiosity where was the code? |
|
The support post ‘Time zone is located next to venue’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.