registration form not working
registration form not working
registration form not working
Restrict certain character combinations in username during registration
Backend user creation form with additional language field
UPDATED: In the header.php you have these lines: </div><!– .hm-site-title –> </div><!– .site-branding-content –> You’ll want to put your div tag for the register and login buttons between them: </div><!– .hm-site-title –> <div class=”hm-custom-login-btns”> <?php $c_user = wp_get_current_user(); if( !is_user_logged_in( $c_user->ID ) ) : echo ‘<a href=”‘ . esc_url( wp_login_url() ) . ‘” alt=”‘ . … Read more
integrating some of the suggested functions into your code: <?php $c_user = wp_get_current_user(); if( !is_user_logged_in( $c_user->ID ) ) : echo ‘<a href=”‘ . esc_url( wp_login_url() ) . ‘” alt=”‘ . esc_attr( ‘Login’, ‘textdomain’ ) . ‘”>’; echo _e( ‘Login’, ‘textdomain’ ); echo ‘</a>’; wp_register(“https://wordpress.stackexchange.com/”, ”); else : echo ‘Hello ‘ . $c_user->display_name . ‘, ‘; … Read more
Got the answer <?php $c_user = wp_get_current_user(); if( !is_user_logged_in( $c_user->ID ) ) : echo ‘<a href=”‘ . esc_url( site_url(“my-account”) ) . ‘” alt=”‘ . esc_attr( ‘register’, ‘textdomain’ ) . ‘”>’; echo _e( ‘register’, ‘textdomain’ ); echo ‘</a>’; echo ‘<a href=”‘ . esc_url( site_url(“my-account”) ) . ‘” alt=”‘ . esc_attr( ‘Login’, ‘textdomain’ ) . ‘”>’; echo … Read more
On multisite, plugins are disabled prematurely when viewing the /wp-activate.php page file
WordPress Register Form
Conditionally registering users
You can’t really eliminate usernames, they are an essential part of WordPress core. The best you could do was create a custom form and then save the data to the DB using the built-in fields. For example, you could set the email they enter to equal both the email and the username field so both … Read more