Support

Home Forums Event Espresso Premium Event Espresso 4, Date, Month, time

Event Espresso 4, Date, Month, time

Posted: March 29, 2014 at 6:18 am

Viewing 2 reply threads


Line Fauerholm

March 29, 2014 at 6:18 am

Hello … I’m trying to get date, month and time to be displayed on the Danish way. In Event Espresso 4 On this page http://a027.web.wwi.dk/registrering/

Now it will be shown like this: Friday, October 3rd, 2014 @ 2:00 pm, and I would like it to appear like this: fredag d. 3 oktober, 2014 Kl 2:00

Is there anyone who can help me with it.

Regards Line Fauerholm


Line Fauerholm

March 29, 2014 at 6:21 am

Sorry!! I would like it to appear like this: fredag d. 3 oktober, 2014 Kl 14:00 (14:00 is 2:00 pm in danish)

Regards Line Fauerholm


Josh

  • Support Staff

March 31, 2014 at 1:36 pm

Hi Line,

This is possible if you create a child theme and copy over content-espresso_events-datetimes.php from the Event Espresso plugins’s /templates/Espresso_Arabica_2014 folder to the child theme. Then you can change line 8 to read as follows:

<?php espresso_list_of_event_dates( $post->ID, $dt_frmt = 'l \d. j F, Y', $tm_frmt = 'K\l G:i' );?>

This will change the date format that’s used to display the upcoming dates.

Viewing 2 reply threads

The support post ‘Event Espresso 4, Date, Month, time’ 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