Posted: February 3, 2014 at 7:27 am
|
Is there a way that I can edit the: I guess that it can be edited in the template files but my concern is that when the plugin updates the edited text will be overwritten. If there is a way of achieving this, please let me know. Thanks in advance. |
|
Hi Dan, It depends on what you are wanting to do. If you just want to edit the text then you could go the language file route: https://eventespresso.com/wiki/how-to-change-wording-with-poedit/ Other than that, then it’s actually a function edit main.php event_espresso_additional_attendees. It is a pluggable function so you could copy the function ot a custom_functions.php file in the uploads/espresso folder or to a custom plugin and edit it there. |
|
Hey thanks Dean – the custom_fuctions.php file sound interesting to me – I have created a custom_functions.php file with the edited event_espresso_additional_attendees function in it. Where exactly do i put it in the uploads espresso folder? I tried copying the structure of the plugin so I put it in uploads/espresso/includes/functions but no joy… Any ideas? |
|
I have also simply put it in the uploads/espresso folder not updating the text?? |
|
You can add the code to one of the following: |
|
Hey thanks for the reply. This is driving me nuts – not sure what I am doing wrong. I won’t have any issues with the theme being updated as it is my own theme but either way, I can not get the text to change even if I call the desired function in my themes functions.php or in a file called custom_functions.php in uploads/espresso. Do I have to let event espresso know that the function is to be called from uploads/espresso instead of the normal location? |
Have you tried clearing your browser and/or file cache (if using a cache plugin)? |
|
The support post ‘Edit 'Add more attendees' 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.