The only way to achieve this would be through editing code/templates:
Option 1)
Edit the /wp-content/plugins/event-espresso/templates/registration_page_display.php file *** and change this
to this
It’s a bit messy code wise and only works if you have a single time, not multiple times.
Option 2)
Use a custom functions plugin to “plug” the event_espresso_time_dropdown() function found in /wp-content/plugins/event-espresso/includes/functions/time_date.php
Then you can modify the core function as needed, so it will work with multiple times and, honestly, will be just better code.
*** if you copy these files:
/wp-content/plugins/event-espresso/templates/registration_page_display.php
/wp-content/plugins/event-espresso/templates/registration_page.php
over to wp-content/uploads/espresso/templates and edit them there, then updates to the plugin won’t over write your changes.
I want to go with option 1 because we don’t use multiple times anyway. But the code below has, I think, some syntax errors I can’t figure out. Could you have another look at it?
Thanks for the updated code. That worked perfectly for me 🙂
Cheers!
Viewing 4 reply threads
The support post ‘Adding text to start time & end time’ 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.