I can’t login to wordpress dashboard without SSH
Check wordpress Login Trouble codex step by step. I hope you didn’t make any change which affect to code(i.e. Add new plugin, .htaccess code change). Let me know if you still facing same.
Check wordpress Login Trouble codex step by step. I hope you didn’t make any change which affect to code(i.e. Add new plugin, .htaccess code change). Let me know if you still facing same.
You will need to mix PHP + Javascript to do that. PHP to check if user is logged in and load login/register form, and javascript to show it in the modal way. There is a plugin that seems to do that, maybe you can get some results with it: https://wordpress.org/plugins/simplemodal-login/
Although users have access to go to /wp-admin/, they will not have access to do anything on there. There is no security risk involved to being able to have access /wp-admin/ for WooCommerce users. If you’d like however, you can setup an Apache protected directory with a password to /wp-admin/ that requires an additional user … Read more
Your form action point to the url in which the login form is displayed, and this is many times not the desired behavior when you write your own login form. You should let the login end point handle the login. The result should be something like <form …. action=”<?php echo esc_url( site_url( ‘wp-login.php’, ‘login_post’ ) … Read more
if ( strlen( $_POST[‘pass1’] ) < 3 ) { //passwords so small $redirect_url = home_url( ‘member-password-reset’ ); $redirect_url = add_query_arg( ‘error’, ‘password_reset_mismatch1′, $redirect_url ); } I see here that you’re checking if password length is less than 3. I guess you have to change 3 to 8: if ( strlen( $_POST[‘pass1’] ) <= 8 ) … Read more
In short, the $post global isn’t setup at the wp_loaded state. See: When and Where is global $post Set and Available? for detailed information. So use another hook, like template_redirect.
here is the solution : add_filter(‘gform_user_registration_login_args’,’registration_login_args’,10, 1); function registration_login_args( $args ) { $args[‘login_redirect’] = rgpost(‘login_redirect’) ? rgpost(‘login_redirect’) : RGForms::get(‘HTTP_REFERER’, $_SERVER); return $args; }
The only way to do this is completly custom coded solution. WordPress doesn’t support this (and never will), and I have never heard of the plugin that can do this. This is not a simple thing to do, and would incolve great deal of changesvto the login process.
I was looking at the wp-login.php file and noticed that there’s an action location : <?php do_action(‘login_footer’); ?> available… to use. So add_action(‘login_footer’, ‘my_addition_to_login_footer’); function my_addition_to_login_footer() { echo ‘<div style=”text-align: center;”><a href=”#”>link</a></div>’; }
You could change the whole text by adding first parameter to your comment_form function. According to the Codex, the code below might help: $comments_args = array( // change the must log in text and link url ‘must_log_in’=> ‘<p class=”must-log-in”>’ . sprintf( __( ‘You must be <a href=”https://wordpress.stackexchange.com/questions/131398/%s”>logged in</a> to post a comment.’ ), YOUR_CUSTOM_LOGIN_PAGE_URL ) … Read more