You can create a custom ajax action or add a custom parameter to your post request and catch it on init action callback.
In that ajax action/init callback you can use wp_signon function to check if the credentials are ok and return proper response.
I would write some code but I’m on mobile and would take too much.
You can see here an example made with ajax http://fellowtuts.com/wordpress/wordpress-ajax-login-and-register-without-a-plugin/
Related Posts:
- Disable Or Redirect WP-login.php
- login_enqueue_scripts does not ovewrite the default styles
- Modify wp-login.php labels: Username to Email
- How to change “Registration complete. Please check your e-mail.” in wp-login.php
- How to use wp-login.php page only for logout?
- change register url on wp-login page
- Can’t access wp-admin
- How do you add a custom link to the wordpress login page?
- wp-login.php register/lost password links to buttons?
- How to trigger a login form notice message?
- A child theme version of wp-login
- reset password label text change
- Add text on wordpress admin login page
- Is it possible to remove the version number from the wp-login.php page?
- wp_login_form() redirect not redirecting users < admin
- Login redirect on wp theme
- Can’t log in. Log in button missing [closed]
- Require WP login for outside access
- Modify WP-Login Page With Javascript?
- if username or password is incorrect wp-login returns a blank page
- Where is the email content for retrieve_password_message stored?
- What is the CODEX intercept for wp-login.php?action=lostpassword
- Call header and footer on login page
- Prevent redirect on custom wordpress login form
- Replace standard Login and Register form for Woocommerce [closed]
- How to destroy sessions after a user logout [closed]
- How to add required attribute to wp_login_form fields?
- WordPress “remember me” – How should it work?
- Changing the title of “
- Log In & Log Out Code In Header
- How to fix Sign In option in WordPress
- How can I redirect on a url after successful registration?
- I lock the site’s contents, click on a post, redirect to login, enter uname+password but fail to redirect to article
- How to access the actual input html of the login form
- Creating a custom login on site.
- Login page wordpress tagline remove [duplicate]
- Adding line break in esc_html__
- Copying My account/Login/Register button outside header
- Issue with cookies in wp-login
- Add content in wp login page
- Is it possible to check if password is correct in wp_authenticate_user?
- Modify login page after clicking “login” button, and before it arrives at redirect
- how to add security questions on wp-registration page and validate it
- How to enable “remember me” checkbox in login forms by default?
- custom login query for custom login form?
- WordPress reCAPTCHA Problem
- Customizing WordPress Login URL
- It is possible that to get data in wp_login.php to your own php file in wordpress?
- Using gettext on wp-login.php won’t change “Back to site name” text
- Add video to wordpress login page
- I wanna create a custom login form template
- Add custom field in wp_login_form()
- Retrieve password only by login. Users with same email
- wp-login.php not returning error messages / or gives 404
- Registration page background color covering 1 screen not covering full page
- Custom error messages for login and lost password forms
- Custom login form
- is_email() VS sanitize_email()
- Adding “Remember Me” in custom login
- How to keep always logged in development environment
- Validating a new user registration field
- send users logging in from wp-login.php directly to home page of site, rather than dashboard
- Comment form vaildation
- Do I have to have a nonce for a custom comment field?
- How to retain the values from dropdown category lists after wrong form submission?
- Attach to wp-login.php and xmlrpc.php
- Remove type attribute from script added by wp_localize_script
- Remove ‘rel’ attributes from the_category() output
- How to auto login after registration? [duplicate]
- Why can’t /wp-login.php be load balanced?
- Settings API – sanitize_callback is not called and it leads to an incorrect behavior
- Best Practice for Validating and Sanitizing Data
- How to validate custom field on lost password form before the user id field?
- Login error redirecting to wp-login page
- CSS style button For WP Login Function in page template
- Password reset – Disabled for LDAP accounts
- Replace dash with space in username on login
- Autologin only working the second time
- Multiple options pages validation for a plugin
- wp-admin – 404 after custom login form
- Redirect already logged in users away from a page to a specific page base on user role
- Shrink down register_settings on Settings API
- Auto login between word press subdomain and a .net website
- WordPress error on log out ‘Not Permitted’ and can’t log out
- How to use a newly registered setting with a checkbox and the default value ‘true’
- Enqueue stylesheet in plugin for wp-login.php
- Forcing frontend login with UI switch
- WordPress is creating nonce as a logged in user but verifying it incorrectly
- How do I sanitize the str_replace function in javascript variables
- Safely store code(html/js..) into database
- Where this validating message come from?
- How to add custom regex validation to WPForms password field
- When i try to open Localhost/wordpress/wp-admin . An Error appears ” Registration Has been Disabled” . No login page is shown in the browser
- How do I change the language of the login page to Arabic?
- Login form does not store/remember/suggest users password
- Custom password set/reset link in same URL format as default does’t work
- Change the default WordPress image on the dashboard login to a custom image [duplicate]
- WordPress Failed to Login (DB Error)
- Hide wp-login.php but not the widget
- Contact Form 7: custom validation [closed]