I saw a different thread about this same topic, but I actually need to have text after the start and end times, while supporting multiple start and end times. We run a bus company with different pickup/drop off locations/times that the person registering can use.
Basically, we want it to look something like this:
Start Time: 6:00am Mass Pickup
End Time: 10:00pm Mass Dropoff
Start Time: 6:30am CT Pickup
End Time: 10:30pm CT Dropoff
etc. . .
I am using WordPress version 4.0.1, with EE version 3.1.36.6.P
When you setup multiple start/end times within an event, you’ll notice the registration page changes to use a dropdown of available times – http://take.ms/Z6Sy0
This is done using a core function which is pluggable and can overridden, however altering that function will modify all locations within EE that use that function.
Sorry that it took so long to reply, however this is something that I am still interested.
The times dropdown is exactly what I want, I just need extra text in those fields to use them for Times and Pickup locations for this current project – since they are tied together.
I am good with HTML and FTP. I know enough PhP to be dangerous 🙂
I haven’t done “pluggable” core function changes yet, do you think you can give me some guidance on what file I need and what I might need to do?
The file that has the function for the time selector is /event-espresso/includes/functions/time_date.php. The function is event_espresso_time_dropdown().
You can copy the entire function into /wp-content/uploads/espresso/custom_functions.php or into your own WordPress plugin (make sure the plugin loads before Event Espresso does though) and it will override the core function.
I can also recommend taking a look at Event Espresso 4 because it would allow for selecting different options like this one without modification and you’ll get the added benefit of being able to set a limit for each option.
Viewing 3 reply threads
The support post ‘Adding text to start time & end time 2’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.