Support

Home Forums Event Espresso Premium Adding day to date listings

Adding day to date listings

Posted: July 19, 2017 at 4:09 pm

Viewing 1 reply thread


Nancy

July 19, 2017 at 4:09 pm

I am getting down to the nitty gritty on the EE set up for this site. Almost there.
Thanks for all the support so far.

Can you please tell me if it is possible to add the text “each day” after the times listed in the event listing under the event date times. For example, in the listing currently we have:
July 29, 2017
10:00 am – 12:00 pm

could we get it to read:
July 29, 2017
10:00 am – 12:00 pm (each day)

or:
July 29, 2017
10:00 am – 12:00 pm
(each day)

thanks.


Tony

  • Support Staff

July 19, 2017 at 5:03 pm

Hi there,

The html output for those dates is ran through a filter before its output so yes you can add the above.

You can have either of the two options you mention using something like this:

https://gist.github.com/Pebblo/262b62d36c3a70afa3dd152e3df77b39

Add that to a custom functions plugin:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

You have 3 options within that function and you just need to switch the lines to use the output you prefer, the default looks like this – http://take.ms/5FVN8

You just comment out this like: $html .= ' (each day)'; using // at the beginning and remove the comments from another line to change the output.

So doing this – http://take.ms/Xy0I6

Look like this – http://take.ms/zHcP0

Does that help?

Viewing 1 reply thread

The support post ‘Adding day to date listings’ 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