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
August 8, 2014 at 5:50 pm
Add New Note to this Reply
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
Add New Note to this Reply
Excellent support.
I must be doing something wrong though.
I copied the files to the location you specified and updated registration_page.php.
registration_page.php – Moved – (logic for displaying the registration form)
registration_page_display.php – Moved – (displays your registration form)
I updated the code to call a shortcode (see below).
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
Add New Note to this Reply
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
Add New Note to this Reply
Hi Aryon,
Is this now resolved or do you need further assistance with it?