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
Change Registration Button Text on /event-registration/ page | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Change Registration Button Text on /event-registration/ page

Change Registration Button Text on /event-registration/ page

Posted: July 15, 2013 at 7:13 pm

Viewing 2 reply threads


Nick Pierno

July 15, 2013 at 7:13 pm

I’m trying to change the button text to something like “More info”. I’ve tried the Peodit method, but Poedit wouldn’t save the file because there were “20 errors found”. I don’t want to go changing a bunch of stuff on that file because I don’t know what I’m doing with language files.

I’d be satisfied with just knowing what template file contains that text or something, or any other suggestions you might have.

Thanks!


Josh

July 15, 2013 at 8:42 pm

Hi Nick,

While you could do a find/replace directly in the template files, this could become a lot of work to maintain down the road. What I usually do is use a function to “translate” strings like this one. A function like this one can be placed in the WP theme’s functions.php file or the Event Espresso custom files add-on’s custom-functions.php file:

https://gist.github.com/joshfeck/4962940

lines 6,7 are where you can add your own strings using a format like this:

'Register' => 'More info',


Nick Pierno

July 16, 2013 at 4:43 pm

This worked perfectly. In retrospect I should have already tried this since I’d seen it mentioned in other posts but I was apprehensive. Thanks for your help and patience!

Viewing 2 reply threads

The support post ‘Change Registration Button Text on /event-registration/ page’ 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