Support

Home Forums Event Espresso Premium Adding 'day of week' in date

Adding 'day of week' in date

Posted: November 6, 2012 at 2:54 pm

Viewing 18 reply threads


Ben

November 6, 2012 at 2:54 pm

Is it possible to have the day of the week appear from the date selected for the event?

e.g. Thursday, March 7, 2013


Josh

  • Support Staff

November 6, 2012 at 5:20 pm

Hi there,

In most cases, Event Espresso will display dates as they are set in the WordPress > Settings > General Date settings.


Dean

November 7, 2012 at 12:49 am

Use the custom date setting l F j, Y


Ben

November 7, 2012 at 2:04 pm

The custom date setting of l F j, Y gives me this result.
2013-03-07T00:00:00+00:000000000031201303


Mila Baumberg

November 7, 2012 at 2:31 pm

I added this to event list display.php for the day of week:

(wrap in php tags)

echo date('l', strtotime( $start_date ));
  • This reply was modified 12 years, 1 month ago by Mila Baumberg. Reason: code sample doesn't show up


Ben

November 7, 2012 at 3:08 pm

Thanks, where will I find the file event list display.php?


Dean

November 7, 2012 at 11:38 pm

Worked fine, here http://d.pr/i/UfqM – the date just needs to be changed in the WordPress General settings


Ben

November 8, 2012 at 10:06 am

I’ve done it in the general settings, going straight to it, and via the link in espresso. See here for the date that is showing – http://www.societyofanaesthetistsinradiology.org/events/

Date: 2013-03-07T00:00:00+00:000000000031201303


Dean

November 9, 2012 at 12:05 am

Is it possible to get your login details in order to look into this?

If so, please send them via https://eventespresso.com/contact/

Choose the “I am sending login info as requested” option and fill out the form

NOTE: login details need to be Admin level.


Ben

November 12, 2012 at 3:42 am

Any update please? I have submitted my login details. Thanks Dean.


Dean

November 12, 2012 at 4:42 am

Hi,

Sorry for the delay in responding. I have received the login details however they do not work. Could you please resubmit valid login credentials?

Thanks


Ben

November 12, 2012 at 4:51 am

Thanks Dean. Resubmitted, as requested.


Dean

November 12, 2012 at 5:29 am

Hi,

OK I see the issue, when entering the custom date codes and saving, instead of it saving correctly, it inputs the word “custom”.

I have set your date to the default, however you need to speak to the design of your custom admin panel as that is causing the issue by not allowing the setting to save correctly.


Ben

November 12, 2012 at 5:32 am

Thanks Dean, custom admin panel, you mean the designer of the ‘THEME’ i’m using?


Dean

November 12, 2012 at 5:55 am

YEs indeed, though the theme has customised the full Admin Panel at the back, in my mind without need except for a looks thing. However I am certain this is causing the issue. On a basic install where the dashboard is not changed, changing the date is not an issue.


Ben

November 13, 2012 at 10:30 am

Hi Dean,

i’ve updated my theme to display (l, F j, Y) date style. However, the date at the bottom of my event – http://www.societyofanaesthetistsinradiology.org/events/ is only (F j, Y). Where can this be changed please?


Dean

November 13, 2012 at 11:21 am

Hi

It’s in your WordPress settings. Go to Settings > General and its in the date section there.


Ben

November 13, 2012 at 11:26 am

Yes, I’ve tried that, and it shows up an error with a long date every time. I’ll update to the new version, but I can’t see it changing.
It’s really odd because of got it working on the home page, after putting it in the content-single.php file.


Dean

November 13, 2012 at 12:03 pm

Hardcoding it will work of course, have you tested it with the twentyeleven theme? If it works fine with that then your theme is to blame for it.

Viewing 18 reply threads

The support post ‘Adding 'day of week' in date’ 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