Support

Home Forums Event Espresso Premium Modifying Thank You Email Template

Modifying Thank You Email Template

Posted: September 9, 2016 at 10:49 am

Viewing 4 reply threads


RonDowell

September 9, 2016 at 10:49 am

Hi, I’m trying to modify some of the text on the thank you email that registrants receive. I cannot figure out where this template is. I can see the file directory for event-espresso-core-reg but don’t see where the templates specifically for that function might be. I’m using version 4.9.4p of EE and WP 4.5.4 (And Filezilla for SFTP!)


Tony

  • Support Staff

September 9, 2016 at 11:03 am

Hi Ron,

Please do not alter the core files (files within /event-espresso-core-reg/) as they will be lost on each update to Event Espresso and modifying core files prevents us supporting the plugin.

Generally its un-needed as either the templates can be overridden or theres is a hook in place to allow you to make changes.

Can you let me know what it is you want to change please? The method used depends on what your trying to do 🙂


RonDowell

September 9, 2016 at 11:07 am

On the thank you page, there is language under the “Congratulations” box that I need to edit. Basically it says:

Registration Details
for: Register here for (the name of the event)

So what I want to do is remove “Register here for” after the word “for” in the second line.

Thanks for your help!


RonDowell

September 9, 2016 at 12:20 pm

Actually correction in my subject line, I meant Thank You/Confirmation page, not the email!


Tony

  • Support Staff

September 9, 2016 at 5:51 pm

In this case the ‘Register here for’ is actually part of your event name, not the template.

The code that outputs that line is:

<span class="smaller-text grey-text"><?php _e('for','event_espresso');?>: </span> <?php echo htmlentities( $registration->event_name(), ENT_QUOTES, 'UTF-8' );?>

So after the ‘for:’ its just your full event name.

I looked over your site and can see you have the event name starting ‘Register here for…’ so in order to remove that text you will need to change the name of your event to no longer include it.

Viewing 4 reply threads

The support post ‘Modifying Thank You Email Template’ 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