Support

Home Forums Event Espresso Premium list of filter functions to change text?

list of filter functions to change text?

Posted: September 13, 2021 at 6:43 pm


BCPTA

September 13, 2021 at 6:43 pm

Hello,
I am trying to change the word “Upcoming” to something else, and the words “on sale” to something else.

I saw this post https://eventespresso.com/topic/change-goes-on-sale-text/

Is there a list of functions somewhere? I couldn’t find this by searching documentation.

I saw other posts saying to translate from English to English. I’m really hoping for an easier way to do this since it’s so little we want to change.

When I added this code to my functions.php file the site said “There has been a critical error on this website.”

I’m not a coder and maybe that was incorrect (it seemed templated). But any guidance you can offer would be helpful, thank you.


Tony

  • Support Staff

September 14, 2021 at 9:38 am

Hi there,

Which specific ‘Upcoming’ and ‘on sale’ string are you looking to change?

To clarify in case it isn’t clear, you can’t change ALL instances of a string by using a partial translation. Meaning although you mentioned you want to change ‘on sale’, is that to change the ‘Goes on sale’ string? As you’d need to target that whole specific string and just ‘on sale’.

Copying the code from the forums can be tricky as there’s formatting here which will then throw a fatal error as above.

If you let me know the specific strings you are looking to change I’ll help point you in the right direction for doing so 🙂

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso