Support

Home Forums Multiple Event Registration Add-on Event time not displaying on single event pages when Registration forms disabled

Event time not displaying on single event pages when Registration forms disabled

Posted: September 13, 2019 at 10:44 am

Viewing 3 reply threads


Darlene Drouin

September 13, 2019 at 10:44 am

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?


Tony

  • Support Staff

September 16, 2019 at 6:21 am

Hi there,

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:

Before: https://monosnap.com/file/JmRZCepsf1p1G2l9T3U6YigjQEVENo

After: https://monosnap.com/file/leeA9iK5I5WJykwLPktyeDwJl35rXm


Darlene Drouin

September 23, 2019 at 9:14 am

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?


Tony

  • Support Staff

September 23, 2019 at 2:19 pm

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.

Event Espresso