Support

Home Forums Event Espresso Premium Event List widget Mod EE4

Event List widget Mod EE4

Posted: January 22, 2016 at 11:12 am

Viewing 4 reply threads


pking1

January 22, 2016 at 11:12 am

Hello Event Espresso Team,

I was curious if there is a way to mod the Events list widget for EE4 to look like the image below:

Event list mod


pking1

January 22, 2016 at 11:15 am

I’m very sorry I grabbed the wrong image, please see correct image below:
Event List Mod


Josh

  • Support Staff

January 22, 2016 at 2:00 pm

The widget can be customized to look like what you have there in the screenshot, and to do so will require PHP, HTML, and CSS skills. A good recommended starting point is to use a custom widget plugin so you don’t modify any core files, this way you’ll avoid losing any customizations. Here’s a link to a sample custom widget plugin:

https://gist.github.com/joshfeck/27a285c4285a6c986053


pking1

February 1, 2016 at 1:08 pm

Josh,

Thank you for the assistance with this. I’m curious if you are able to help me split up the date and time into two separate pieces?

I see the call for the date and time is:

echo espresso_list_of_event_dates( $event->ID(), $date_format, $time_format, FALSE, NULL, TRUE, TRUE, $date_limit );

However when I try to slip up the date and time it doesn’t seem to work.
Your assistance is greatly appreciated.

Thanks!


Josh

  • Support Staff

February 1, 2016 at 1:42 pm

Hi there,

One way to split those up is build out your own espresso_list_of_event_dates() template tag, where the dates and times are split up between divs or whatever HTML markup you want to add.

Viewing 4 reply threads

The support post ‘Event List widget Mod EE4’ 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