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
Display events as 'free event' instead of 0.00 in event meta | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Display events as 'free event' instead of 0.00 in event meta

Display events as 'free event' instead of 0.00 in event meta

Posted: July 31, 2012 at 4:59 pm

Viewing 2 reply threads


Runemester

July 31, 2012 at 4:59 pm

Hi,

I would like to change the default pricing display for free events – from the digits ‘0.00’ to a short text description. In other words – if the event has a price of 0.00 assigned it outputs the text ‘free event’ instead of the digits. Is this possible without manipulating with core files?

Thanks
Rune


Josh

August 1, 2012 at 5:48 pm

Try modifying event_list_display.php to this:

<div class="event-meta">
             <p id="p_event_price-<?php echo $event_id ?>" class="event_price"><span class="section-title"><?php  echo __('Price: ', 'event_espresso'); ?></span> <?php echo event_espresso_get_price($event_id);?></p>


Runemester

August 2, 2012 at 10:49 am

Thanks a lot! Works like a charm – keep it up ;)

Viewing 2 reply threads

The support post ‘Display events as 'free event' instead of 0.00 in event meta’ 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