Posted: January 8, 2016 at 8:53 am
|
How do I change the custom link “People” label that appears in the header on the People page. My menu item is called Instructors and I’d like to change “People” to “Instructors” to be consistent. |
Hi, that word can be changed by using a gettext filter: https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#custom-function It can be added to your site specific plugin or through a child theme’s functions.php file (if you are using one). — |
|
|
Thanks the Quick Localization plugin did the trick |
Hi Janet, Just a quick suggestion on improving this. The quick localization plugin stores your translations within the database, meaning that each translation need to be fetched from the DB first, which slows it down a little. It’s a useful tool, but if your comfortable with PHP you can do is using the custom gettest function at the bottom:
Each translation just goes on a new line within the $strings array, like this:
(original string on the left, translation on the right) You can continue to use the quick localization plugin if you prefer, this will just be slightly quicker. |
|
Oh and you can just place that function within your child themes functions.php file. |
|
|
I would prefer that over the plugin but it doesn’t work. |
Are those strings the same strings you used in the Quick Localization plugin? |
|
|
yes |
The support post ‘People Add-on – Change People label to something else’ 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.