Support

Home Forums Event Espresso Premium Change "Goes On Sale" text

Change "Goes On Sale" text

Posted: April 30, 2018 at 12:11 pm

Viewing 1 reply thread


Affinity

April 30, 2018 at 12:11 pm

Hi there,

Our client would like to change the “goes on sale” text to say something else (screenshot: https://www.evernote.com/l/AU2XzMOMyudMTKMw4zexWwNTHSQ-mqB3syA ).

For this client, the price of tickets goes up after a certain date, so they don’t want to say “goes on sale”, as their customers are thinking this means that a lower price is coming.

I saw a few others in the support forums using this plugin to change the text: https://wordpress.org/plugins/quick-localization/ , however we are not trying to translate the text, and that plugin has not been kept up to date.

Any suggestions regarding how to change the text would be appreciated.


Josh

  • Support Staff

April 30, 2018 at 12:39 pm

Hi there,

You can change the text with a filter function. e.g.

add_filter(
  'FHEE__ticket_selector_chart_template__ticket_goes_on_sale_msg',
  'your_custom_goes_on_sale_text_function_name'
);
function your_custom_goes_on_sale_text_function_name() {
  return 'something else';
}

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.

Viewing 1 reply thread

The support post ‘Change "Goes On Sale" text’ 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