Finally, I found out that the code has separate registration and login pages via separate links in the header.
You will need to edit 2 files in the child theme:
functions.php andform-login.php
I added txt files for code
1) functions.php : you want to create a registration link in the header, which links to the login page, and also sets up an action indicating that you clicked register. So:
$aux_links_output .= ''. __("Login", "swiftframework") .''. "\n";
becomes the following:
$aux_links_output .= ''. __("Login", "swiftframework") .''. "\n"; $aux_links_output .= ''. __("Register", "swiftframework") .''. "\n";
2) form-login.php code: Here you want to create an if, else statement. If you press the register, then go to the registration page, go to the login page:
<?php if( isset( $_GET['action']) && $_GET['action'] == "register") : ?>
Section for registration
<?php else : ?>
Section for login form
<?php endif; ?>
Be careful with wrappers.
thanks
source share