Replies
Hello sir,
I will be expecting your feedback on the login attempts counter on the bp branded login using
https://wordpress.org/plugins/limit-login-attempts-reloaded/
or
https://wordpress.org/plugins/limit-attempts/I was also wondering if you can enable support for either of this 2 plugins to display limit login attempts counter on the bp branded login page for security reasons.
https://wordpress.org/plugins/limit-login-attempts-reloaded/
or
https://wordpress.org/plugins/limit-attempts/Hello,
I finally found the culprit which is a plugin called page restrict at https://wordpress.org/plugins/pagerestrict/ when I deactivated the plugin the login errors are now showing
Thanks for your patience and support
similar problem was indicated here https://stackoverflow.com/questions/31066775/how-to-retrieve-wp-error-in-custom-login-form
I have removed the custom code but the error does not show inside the theme on the page but it is showing in the url address bar as below
I removed the custom redirection code but the ?login=failed still shows in the url as indicated above
It’s quite weird that the error shows in the address bar but not in the theme
- This reply has been marked as private.
Login error message is still not showing I can’t still to get Login Error messages on the new custom page template
I was able to edit the login.php template in my child theme but I still don’t know how to enable the remember me to be checked by default
Thanks
Hello,
This code below worked for the redirect but the login errors still do not show
/** * Redirect failed login attempts to custom login page */ add_action( 'wp_login_failed', 'pippin_login_fail' ); // hook failed login function pippin_login_fail( $username ) { $referrer = $_SERVER['HTTP_REFERER']; // where did the post submission come from? // if there's a valid referrer, and it's not the default log-in screen if ( !empty($referrer) && !strstr($referrer,'wp-login') && !strstr($referrer,'wp-admin') ) { wp_redirect(get_permalink( 28880 ) . '?login=failed' ); // let's append some information (login=failed) to the URL for the theme to use exit; } }I was wondering if there is a code I can add directly to the login.php file to display its own login error message. e.g code to display (login failed: Invalid email or password)
- Tosin on May 10, 2019 at 10:20 am in reply to: [Resolved] Buddycommerce missing tabs for membership and subscription #22929
Awesome work!
I have updated the plugin and it works perfectly
Thank you very much