After installing Multi Event Registration and disabling the registration form on events, single event pages are no longer displaying the event time – only the event date. Is there a way to display both the start and end time on the event pages?
Yes the Event Times are tied into the setting for the Registration form.
You’ll need to copy event-espresso/templates/registration_page.php & registration_page_display.php to wp-content/uploads/espresso/templates/
Then in that new location edit the registration_page_display.php file.
To allow the time to show in the same way it does with the registration form, you’ll need to move the close } of the conditional that checks for the reg form.
Line 141 should be something like <?php } ?>, you need to move that above the <p class="event_time> element, like this:
Thanks so much, this worked. I also noticed that the cost is no longer showing up on the single events page – what other changes do I need to make to get that to work?
Remove the <?php } ?> you just moved around completely, then on line 100 you should have something like:
if ($display_reg_form == 'Y') {
Remove that.
Thats the check that only outputs the details within it if display reg form is set to true, so your removing the check wrapped around the prices (and originally the times).
Viewing 3 reply threads
The support post ‘Event time not displaying on single event pages when Registration forms disabled’ 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.