I need the price to show up on the event url (I am manually linking it from a schedule). Is there a way to change this in the template? If so, what template would that be and what changes do I need to make?
You could change it in the template, registration_page_display.php change line 44 from:
<?php echo espresso_format_content($event_desc); //Code to show the actual description. The WordPress function "wpautop" adds formatting to your description. ?>
to:
<?php echo espresso_format_content($event_desc); //Code to show the actual description. The WordPress function "wpautop" adds formatting to your description.
do_shortcode('[EVENT_PRICE event_id=' . $event_id . ']); ?>
You would want to add some formatting text around it, obviously. This displays only the first price. Multiple prices is doable, but a requires a little more code.
Viewing 2 reply threads
The support post ‘Show price in event url’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.