Posted: August 21, 2017 at 7:52 am
Hi there! I am attempting to update the text in the yellow box, on the Thank you page, using the support found here: https://eventespresso.com/topic/changing-the-important-notice-on-the-thank-you-registration-page/. Below is text that I’ve included in my theme function.php. But, it is not translating the text. What am I doing wrong? function mycustom_filter_gettext( $translated, $original, $domain ) { // This is an array of original strings // See if the current string is in the $strings array return $translated; add_filter( ‘gettext’, ‘mycustom_filter_gettext’, 10, 3 ); I was able to use the following to change the text in the button …also, in the function.php of my theme. function tw_ee_button_confirmation_text() { |
|
Hi there, When you use the translation function above you need to set the full string, within EE there is no: ‘Check your email for your registration confirmation or click the button’ It is part of this string: ‘%1$sCongratulations%2$sYour registration has been successfully processed.%3$sCheck your email for your registration confirmation or click the button below to view / download / print a full description of your purchases and registration information.’ So to translate that you would need:
|
|
Ah ha! I was trying to be slick and leave out some of the phrase. Thank you so much! |
|
You’re most welcome 🙂 |
|
The support post ‘Change Thank you 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.