Support

Home Forums Event Espresso Premium Time zone is located next to venue

Time zone is located next to venue

Posted: April 11, 2023 at 3:27 pm

Viewing 11 reply threads


Justin

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:
WordPress Version: 6.1.1
PHP Version: 7.4.33.2
MySQL Version: 5.7.40
Event Espresso Version: 5.0.3.p


Garth

  • Support Staff

April 11, 2023 at 4:12 pm

Did you get this adjusted? I see the Datetime and ical button above the tickets and venue now.


Justin

April 13, 2023 at 7:52 am

Unfortunately not. I have check this in other browsers and others check too. Here is a screenshot of what we are seeing.
Screenshot of ticket


Tony

  • Support Staff

April 13, 2023 at 3:39 pm

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?


Garth

  • Support Staff

April 13, 2023 at 4:55 pm

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?


Justin

April 14, 2023 at 8:17 am

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.

WordPress timezone

Event details

Venue details

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.


Tony

  • Support Staff

April 14, 2023 at 8:25 am

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.

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 FHEE__espresso_list_of_event_dates__datetime_html
on your site?

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.

There is nothing within Event Espresso’s settings to add/change this, its not from EE itself.


Justin

April 14, 2023 at 9:26 am

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.

Time zone added below venue


Tony

  • Support Staff

April 14, 2023 at 10:23 am

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 functions.php file for the above filter or the CDT string.


Justin

April 14, 2023 at 10:33 am

Thank you for your response. I will look to see if a change to the functions.php file.


Justin

April 19, 2023 at 2:55 pm

A co-worker was able to locate it and was able to adjust it.


Tony

  • Support Staff

April 19, 2023 at 3:12 pm

Awesome, I’m glad you found it.

Out of curiosity where was the code?

Viewing 11 reply threads

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.

Event Espresso