Support

Home Forums Event Espresso Premium Show price in event url

Show price in event url

Posted: December 10, 2013 at 10:05 am

Viewing 2 reply threads


Breakwater School

December 10, 2013 at 10:05 am

Hello,

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?

Thank you for your help,
Ashleigh


Breakwater School

December 10, 2013 at 10:06 am

I need the price to show up on pages like this (just a link from a table using the event url that I got from the event overview listing): http://breakwaterschoolregistration.org/?page_id=18&ee=208


Sidney Harrell

December 10, 2013 at 1:31 pm

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.

Event Espresso