Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
custom Post type timezone | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium custom Post type timezone

custom Post type timezone

Posted: March 12, 2013 at 3:35 am

Viewing 5 reply threads


sergio Pannella

March 12, 2013 at 3:35 am

I can not get the correct time zone for custom post type


Dean

  • Support Staff

March 12, 2013 at 4:26 am

Hi,

Could you explain a bit more please. What is wrong with the timezone? DO you have the timezone per events option set to yes? Do you have an example?


sergio Pannella

March 12, 2013 at 4:51 am

of course, i need the European (German) time zone on post type not on Registrationpage:
Wednesday March 13, 2013 – Wednesday March 13, 2013 > Dienstag 13 Marz, 2013 – Diens….
I use post type for a widget with image.
How can I configure?
http://www.pannella.de/pov_test02/news/sergio-18/
Thank You


sergio Pannella

March 12, 2013 at 4:54 am

…and this only happens with post


Dean

  • Support Staff

March 12, 2013 at 5:25 am

Right, I see what it is, the date that is displayed on the post is not a translatable string. I will get a ticket raised for that.

There is a workaround but it does involve editing a file.

Copy the event-espresso/templates/event_post.php over to uploads/espresso/templates.

Edit that file. On line 274 approx you will see

<p><?php echo date('l F j, Y',strtotime($start_date)) . " - " . date('l F j, Y',strtotime($end_date)); ?></p>

replace that with

<p><?php echo event_date_display($start_date, get_option('date_format')) . "-" . event_date_display($end_date, get_option('date_format')); ?></p>

What this will do is pull in the event start and end date based on the date format in your WordPress Settings > General options page.


sergio Pannella

March 12, 2013 at 6:21 am

many thanks now works!

Viewing 5 reply threads

The support post ‘custom Post type timezone’ 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 - Staging Server