Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
How do I add event time to confirmation display? | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium How do I add event time to confirmation display?

How do I add event time to confirmation display?

Posted: September 10, 2012 at 9:43 pm

Viewing 2 reply threads


Mark Taylor

September 10, 2012 at 9:43 pm

How can I add the event time to the confirmation display page? (templates/confirmation_display.php). I tried adding the following to line 23 with no avail:

What variable would I use instead?

Thanks

  • This topic was modified 12 years, 4 months ago by Mark Taylor.
  • This topic was modified 12 years, 4 months ago by Mark Taylor.
  • This topic was modified 12 years, 4 months ago by Mark Taylor.


Mark Taylor

September 10, 2012 at 9:50 pm

Can’t get the code to post below. Trying the tags listed below and the curly braces insert icon up above, won’t work either. Oh well. I’m copying lines 17 – 22 of the confirmation_display.php page. Of course, changing the variable to: start_time or $start_time $event->start_time; to no avail.

Any ideas?

  • This reply was modified 12 years, 4 months ago by Mark Taylor.


Dean

  • Support Staff

September 11, 2012 at 1:58 am

Hi Mark,

It took me a few, but by checking the includes/functions/time_date.php I came across these two that seem to work well in the confirmation_display.php

<?php echo event_espresso_get_time($event_id, $format = 'start_time'); ?>
<?php echo event_espresso_get_time($event_id, $format = 'end_time'); ?>

You will need to format them etc etc

Hope it helps

Viewing 2 reply threads

The support post ‘How do I add event time to confirmation display?’ 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 - Staging Server