Support

Home Forums Event Espresso Premium Registration Confirmation Page Information

Registration Confirmation Page Information

Posted: July 9, 2013 at 6:25 pm


WASUPYoga

July 9, 2013 at 6:25 pm

Hi guys —

Is there any way to get the date of the event added to the Registration Confirmation page?

Thanks!


Dean

July 9, 2013 at 11:53 pm

Hi,

In the confirmation_display.php file, I would add the following below the event name table row

            <tr>
                <th scope="row" class="header">
					<?php _e('Event Date:','event_espresso'); ?>
                </th>
                <td>
                    <span class="event_espresso_value"><?php echo date('d/m/Y', strtotime($event->start_date)); ?></span>
                </td>
            </tr>

This adds the Event date label and the events Start Date.

You can change the date format (d/m/Y) to your preferred local format using these codes http://php.net/manual/en/function.date.php


WASUPYoga

July 10, 2013 at 12:37 pm

Thanks — worked like a charm!

The support post ‘Registration Confirmation Page Information’ 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