wp-signup.php example template
You have to copy the original wp-signup.php file, do the changes you need and use it in your theme as a custom template.
You have to copy the original wp-signup.php file, do the changes you need and use it in your theme as a custom template.
The message seem to be coming from confirm_blog_signup() which is defined in wp-signup.php. Note that the site seems to be running outdated WP version and it is slightly different now. However it is bad practice to just edit core file. There doesn’t seem to be designated and/or easy way to change output there, so you … Read more
In the admin dashboard, you are able to add a new user with the email address as the user name (thus requiring them to sign in using their email address). Furthermore, when users register for an account (if you have this feature enabled in your site), they can provide their email address as their username. … Read more
Right approach in doing this signup process
You should first filter to check for valid user credentials wp_authenticate_username_password
WordPress custom ajax login not working on mobile browsers
The wpmu_validate_user_signup hook might help. Though you’d have to be careful to only apply the reCAPTCHA validation when necessary. For instance, it shouldn’t be checked during a REST API request for creating a user.
an easy way is to redirect form submitter // when form is submitted : wp_redirect($your_post_url . ‘&submitform=1’); exit; Then you can just test if “submitform” is defined to display what you want : // test submitform url setting : if (isset($_GET[‘submitform’])) echo ‘<div class=”successmessage”><p>’ . __(‘Your Success message.’) . ‘</p></div>’; endif;
You can filter the Login URL: add_filter( ‘login_url’, ‘wpse100354_my_login_url’ ); function wpse100354_my_login_url( $login_url ){ return site_url( ‘/your-login-url’ ); } Caveat: I haven’t tested this. References Codex wp_login_url() Source code Adam Brown’s reference for login_url filter Trac page for wp-includes/general-template.php
It’s relatively simple to achieve that, you need to use the is_user_logged_in() function, as follows: <div class=”fix floatleft sign_in”> <?php if(is_user_logged_in()) : ?> <a href=”http://www.chicago-plastic-surgeons.com/wp-login.php?action=logout&redirect_to=http%3A%2F%2Fwww.chicago-plastic-surgeons.com&_wpnonce=6049e0b736″>Log out</a> <?php else : ?> <a href=”http://www.chicago-plastic-surgeons.com/wp-login.php”>Sign In</a> <?php endif; ?> </div> The code asks whether the current user is logged in, and if they are show the log out … Read more