Support

Home Forums Event Espresso Premium Edit 'Add more attendees' text

Edit 'Add more attendees' text

Posted: February 3, 2014 at 7:27 am

Viewing 6 reply threads


Dan Davies

February 3, 2014 at 7:27 am

Is there a way that I can edit the:
‘Click to add more attendees? (Click to toggle, limit 24)’

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.


Dean

February 3, 2014 at 7:34 am

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.


Dan Davies

February 3, 2014 at 7:54 am

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?


Dan Davies

February 3, 2014 at 7:58 am

I have also simply put it in the uploads/espresso folder not updating the text??


Sidney Harrell

February 3, 2014 at 1:12 pm

You can add the code to one of the following:
1 – Your theme’s functions.php file. It may get overwritten the next time you update your theme.
2 – The EE custom files add-on in the custom_functions.php file.(uploads/espresso/custom_functions.php)
3 – Use this blank plugin to hold the custom function.


Dan Davies

February 3, 2014 at 1:32 pm

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?


Seth Shoultes

  • Support Staff

February 3, 2014 at 5:16 pm

Have you tried clearing your browser and/or file cache (if using a cache plugin)?

Viewing 6 reply threads

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.

Event Espresso