Support

Home Forums Event Espresso Premium EE3: Need to list all times for one event (MER)

EE3: Need to list all times for one event (MER)

Posted: August 6, 2015 at 4:00 pm


Megan Krueger

August 6, 2015 at 4:00 pm

Hi there,

I’m making a custom template for the event registration page. I am hooking into social_display_buttons to add event details and a button (and skipping the registration form because we are using MER).

I need a way to list all the available times here. For an event with multiple times, the EVENT_TIME shortcode is only pulling the first time. I need a way to show all times. The user does not need to be able to select (they will select on the next cart page); I just need to print the time options for reference so the buyer can decide if this is the event they want to purchase.

I have variables set up for both the event ID and the event page ID.

Any help would be appreciated. Thanks!


Dean

August 7, 2015 at 4:15 am

Hi,

I think the cloesst default function you could use is event_espresso_time_dropdown() which creates a dropdown list.

See /wp-content/plugins/event-espresso/includes/functions/time_date.php

You could use that function as the basis for your own function, and output the results differently.


Megan Krueger

August 7, 2015 at 7:45 am

Great, perfect. Thank you!

The support post ‘EE3: Need to list all times for one event (MER)’ 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