• Hi there,

    I must be missing something – we can’t seem to get the timezone to show correctly.

    Ideally, using the #_EVENTTIMES placeholder, I would like to show the time and timezone for the event area, using g:i a T. It will only show the default WP EDT.
    Timezone support is set to Yes in Settings.

    I have tried – re-saving settings, Clearing cache for site and browser, Setting the Timezone within the event itself, setting timezone directly in the Database.

    I also tried to use #_12HSTARTTIME – #_12HENDTIME but since there is no timezone setting that does not work for us.

    https://heartofthehealer.org/events/full-moon-drumming-and-shamanic-journeying-albany-ca/

    Any advice is helpful, thanks in advance!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    I’ve reported this as a Bug on EM. Hopefully it will be fixed on the next release.

    You could however use this small snippet to display the timezone: Place the code on your theme’s functions.php. Then you can use the placeholde #_EVENTTIMEZONE to display timezone

    add_filter( 'em_event_output_placeholder', 'em_display_timezone_custom_placeholder', 1, 3 );
    function em_display_timezone_custom_placeholder( $replace, $EM_Event, $result ){
        if( $result == '#_EVENTTIMEZONE' ){
    		if( isset( $EM_Event->event_timezone ) ) {
    			$replace = $EM_Event->event_timezone;
    		}
        }
        return $replace;
    }
    Thread Starter squinx

    (@squinx)

    Thank you timrv!

    Any way to show something like Eastern Daylight Time vs America/New_York?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Time Zone doesn’t update’ is closed to new replies.