Support

Home Forums Event Espresso Premium How can I edit the content on the Registration page?

How can I edit the content on the Registration page?

Posted: August 8, 2014 at 3:34 pm


aryon hopkins

August 8, 2014 at 3:34 pm

WordPress 3.9.2 // EE Version 3.1.36.5.P Business License
New install

http://lsa2.updatecontent.com/registration/?ee=2

I would like to replace all of the content on the Registration Page with the registration form that I am using in the header.

Which file or template do I need to edit so that the changes will be preserved after any plugin updates?

Thanks!


Lorenzo Orlando Caum

  • Support Staff

August 8, 2014 at 5:50 pm

Hello, the content that you are seeing is from the wp user integration addon. It is located in this file:

wp-content/plugins/espresso-members/members_functions.php around line 125.

The event_espresso_user_login function in the file above is then used in this template file around line 260:

wp-content/plugins/event-espresso/templates/registration_page.php

You need to copy the registration_page.php and the registration_page_display.php over to this location:

wp-content/uploads/espresso/templates

Then you can edit the registration_page.php file.


Lorenzo


aryon hopkins

August 10, 2014 at 11:01 pm

Excellent support.

I must be doing something wrong though.

  1. I copied the files to the location you specified and updated registration_page.php.
  2. registration_page.php – Moved – (logic for displaying the registration form)
    registration_page_display.php – Moved – (displays your registration form)
  3. I updated the code to call a shortcode (see below).
  4. Registration page still shows the original code instead of the login form I am using in the header right area: http://lsa2.updatecontent.com/registration/?ee=7
                        event_espresso_user_login();
                    } else {
                        //Serve up the registration form
						echo'[sp_login_shortcode]';
                    }

THANKS!


aryon hopkins

August 10, 2014 at 11:14 pm

Wait. I was totally not following your very specific instructions.


//Don't do this:
echo '[sp_login_shortcode]';
//Or this:
<?php echo do_shortcode("[sp_login_shortcode]"); ?>

//Do this:
echo do_shortcode("[sp_login_shortcode]");

Thanks for your help
Apologies for the comment above!


Dean

August 10, 2014 at 11:35 pm

Hi Aryon,

Is this now resolved or do you need further assistance with it?

The support post ‘How can I edit the content on the Registration page?’ 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