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
Additional Event Information on Payments Page | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Additional Event Information on Payments Page

Additional Event Information on Payments Page

Posted: February 21, 2014 at 5:32 am

Viewing 5 reply threads


Amy Bridge

February 21, 2014 at 5:32 am

HI There,

I am trying to add additional event information to the payment page. I have managed to add Event Name, Date and City, but when I try add location or address, nothing is displayed. I am not sure (appolgies for lack of incorrect usage of terms), if all the variables that I want to use have been declared on this page / function?

I have used the following to output the above information e.g. Event Name
<?php _e('Course: ', 'event_espresso'); ?></span><?php echo $event_name ?>


Josh

February 21, 2014 at 7:49 am

Hi Amy,

Venues can be tricky because depending on whether you’re using the venue manager or the old way of entering all the venue information directly into the event editor the variables will be different.

Can you let us know which template you’re editing and which method of entering venue information you’re using so we have the information we need to give you the correct information on how to add venue info to the payments page?


Amy Bridge

February 24, 2014 at 6:04 am

Hi Josh,

I think its the venue manager, new to EE so not sure what it use to look like:
http://awesomescreenshot.com/0c92ed262b (see for screen shot of the vanue manager)

I am editing the payment_page.php

Thanks in advance for the help


Josh

February 24, 2014 at 2:08 pm

Hi Amy,

Since you’re using the venue manager you can use the [ESPRESSO_VENUE] shortcode in the payment_page.php template like this:

<p><span>Location: </span><?php echo do_shortcode('[ESPRESSO_VENUE event_id="'.$event_id.'"]'); ?></p>

The above is in an example of its simplest use. There are parameters you can also use if you want to control exactly what information gets displayed:

http://staging.eventespresso.com/wiki/shortcodes-template-variables/#venue


Amy Bridge

February 24, 2014 at 11:36 pm

Thanks so much Josh, that’s perfect. I assume I can copy the payment_page to the uploads folder as well


Anonymous

February 25, 2014 at 2:56 am

Hi Amy,

Yes you can :)

Any of the files within event-espresso/templates/ should also works from uploads/espresso/templates/

Viewing 5 reply threads

The support post ‘Additional Event Information on Payments Page’ 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