Creating custom registration and login page in wordpress

Try following Code: <?php $c_user = wp_get_current_user(); if( !is_user_logged_in( $c_user->ID ) ) : wp_register(”, “https://wordpress.stackexchange.com/”); echo ‘<a href=”‘ . esc_url( wp_login_url() ) . ‘” alt=”‘ . esc_attr( ‘Login’, ‘textdomain’ ) . ‘”>’; echo _e( ‘Login’, ‘textdomain’ ); echo ‘</a>’; else : echo ‘Hello <a href=”your_url”>’ . $c_user->display_name . ‘</a>, ‘; echo ‘ <a href=”‘ . … Read more

Placeholder text for ajax loaded conditional fields in the registration form

Yes you can add placeholder value after the AJAX is completed and is showing some conditional field. You can write these code in your custom.js file. jQuery(document).ajaxComplete(function(){ jQuery(‘#user_login’).attr(‘placeholder’, ‘User Name’); jQuery(‘#user_email’).attr(‘placeholder’, ‘User Email’); jQuery(‘#user_pass’).attr(‘placeholder’, ‘User Password’); }); You can mention the field id and then mention the placeholder text. Basically these set of code will … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)