Posted: September 20, 2014 at 2:19 pm
|
I recently migrated this site to a new server and am using quick localisation to update the text. However, this plugin is no longer working Here is what I have in the fields: Old: Event Registration Any ideas? |
Hi Susan, Is it this text your are trying to change? – http://take.ms/ho4I6 If so that is the page title and is output via your sites theme, you’ll notice clicking the ‘Dance Registration’ linke takes you to /event-registration/ If you go to Dashboard -> Pages, you’ll find ‘Event Registration’ there. Can you tell me what shortcode is currently in use within that page please? |
|
|
That works thanks – the shortcode is [ESPRESSO_EVENTS] A couple other questions for you: 1. How do I remove the words “Available Tickets” in the grey table at http://www.bostonassemblies.com/events/dover-sherborn-2/ 2. How do I change the words “Attendee Information” to “Student Information” at http://www.bostonassemblies.com/registration-checkout/?ee=_register Thanks, Susan |
Hi Susan, Both of those can be changed by using a plugin like Quick Localization or using a gettext filter. Examples of both are available here: https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#plugins — |
|
|
i did install the quick localization plugin, but the text didn’t change. Here is what I have in the fields: Old: Event Registration |
Hi, Try this: Old: Event Registration Or try this in your child theme’s functions.php file or a site specific plugin (https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/): function mycustom_filter_gettext_dance( $translated, $original, $domain ) { // This is an array of original strings // and what they should be replaced with $strings = array( 'Event Registration' => 'Dance Registration' ); // See if the current string is in the $strings array // If so, replace its translation if ( isset( $strings[$original] ) ) { // This accomplishes the same thing as __() // but without running it through the filter again $translations = get_translations_for_domain( $domain ); $translated = $translations->translate( $strings[$original] ); } return $translated; } add_filter( 'gettext', 'mycustom_filter_gettext_dance', 10, 3 ); — |
|
The support post ‘Changing 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.