Login With Ajax

Wordpress Plugin
Download latest - 4.1

Developers

netweblogic

Download Stats

Today 109
Yesterday 173
Last Week 1,299
All Time 654,103
Banner 772x250

Login With Ajax is for sites that need user logins or registrations and would like to avoid the normal wordpress login pages, or add AJAX effects to the regular login pages. This plugin adds the capability of placing a login widget in the sidebar with smooth AJAX login effects.

Some of the features:

  • AJAX-powered logins, no screen refreshes!
    • Login
    • Registration
    • Remember/Reset Password
  • "AJAXify" the regular WP Login form
    • Create a better login experience in the default WP login form with AJAX effects for logins, password recovery and registration.
  • Many ways to display and customize your login form:
    • Gutenberg Blocks
    • Full-site editor compatible
    • Widgets (classic and blocks)
    • Shortcode
    • Template Tags
    • PHP API
  • Flexible templates and options
    • Multiple templates to choose from
    • Including Modal/Pop-Up login forms
    • Responsive and Accessible!
    • Choose a base color for each individual login form.
    • Individual display options via all display methods (e.g. Gutenberg Blocks, Shortcode etc.)
    • Create your own upgrade-safe templates, or override our own ones.
  • Custom Login/Logout redirections
    • Redirect users to custom URLs on Login and Logout
    • Redirect users with different roles to custom URLs
    • WPML - Language-specific redirects
  • Modify registration email templates
  • Other Features
    • Disable CSS styling (via shortcode or PHP display methods)
    • SSL-compatible
    • Fallback mechanism, will still work on javascript-disabled browsers
    • Compatible with Wordpress, MultiSite, BuddyPress and many other plugins
  • Developer Friendly
    • Multiple PHP and JS hooks
    • Overridable CSS and JS files
    • Easy-to-customize and overridable template files
    • Well-documented

First released in 2009, the oldest login plugin for WordPress, regularly maintained and updated since then!

Pro Add-On Features

As of version 4.0, we now offer a Pro add-on which extends Login With AJAX with multiple new features:

  • Security Features - Harden the security of your login forms
    • 2FA - Two-Factor Authentication
    • reCaptcha (v2, v2 Invisible and v3)
    • Login limiter
  • 3rd Party Page Builder Blocks/Widgets/Modules
    • Divi
    • Elementor
  • More on the way!

Getting Help/Support

Version 4 is a major overhaul of the plugin, which has remained largely unchanged for 11 years yet remained a staple tool for logins to WordPress! Changes include a complete rewrite of login templates updated to modern stadnards and practices, as well as new WP features such as Gutenberg Blocks.

If you're stuck, we strongly suggest visiting our Documentation Site which contains exensive information and advice on setup and troubleshooting.

If you have any problems with the plugin after reading our Troubleshooting, please visit our freely supported community forums, or Go Pro for premium support.


Releases (45 )

Version Release Date Change Log
4.1 2022-05-15
4.0 2022-05-15
  • Major rewrite, see our migration guide for more information.
  • Improvements to JS and minified JS production files
  • Adding SCSS and minified versions of all CSS
  • Overhaul of templates
  • Added /wp-content/plugin-templates/login-with-ajax/ as a login template directory
  • Added legacy mode for supporting previous templates
  • Added AJAXification of the default WP login, registration and password recovery forms.
  • Added block editor support (gutenberg, widgets, FSE)
  • Changed spinner to SVG
  • Added base color palette picker for native templates
  • Many other minor improvements to code
3.1.11 2022-04-01
  • replaced deprecated JS functions due to jQuery 3.5 transition in WordPress 5.6-7
3.1.10 2020-04-05
  • fixed bug where login via wp-admin is not possible when %LASTURL% is the default redirect action
3.1.9 2020-01-24
  • added precautionary security sanitization/escaping of input data on admin pages and settings,
  • added USERNICENAME for login redirects for url-friendly usernames
  • fixed styling of template dropdown in admin page
  • fixed invalid/confirmed status boxes getting class/style names confused on login failures/success attempts
  • changed wp_redirect usage to wp_safe_redirect for extra security precaution
  • changed use of site_url with wp_login_url where appropriate allowing for better plugin compatibility
3.1.8.1 2019-05-20
  • fixed translations from translate.wordpress.org not loading properly (languages must be translated %95 or more),
  • fixed settings pages save button not working in 3.1.8 release
3.1.8 2019-05-19
  • removed langs file, as WP translate services now handle translation and updates automatically
  • updated admin area to include %LANG% hints in redirect templates and split login/logout for clearler explanations of other placeholders that can be used
  • fixed s2member redirection compatibility issues
3.1.7 2017-04-08
  • fixed XSS security vulnerability on LWA settings page allowing code injection if an authorized user follows a properly structured url to that page, this does not affect the security of the login forms, only the settings page. Kudos Neven Biruski from DefenceCode for responsible disclosure.
  • changed our hooks logout_url and login_redirect added as actions to filters which prevented functionality in some situations
3.1.6 2017-04-08
  • added Persian translation, thanks to Mohammad Akbari
  • fixed PHP 7 deprecated construct error
  • fixed deprecated get_currentuserinfo function PHP warning
  • added option to show direct links (no AJAX forms) to password recovery and registration forms
  • fixed missing text domain in widget/modal/widget_out.php
  • fixed server errors when deactivating BuddyPress whilst LWA is active
3.1.5 2016-04-25
  • fixed 4.3 password update which now sends a link for user to set password instead
  • fixed login redirect issues when using shortcode and template tags
  • added script localization via LWA JS parameter,
  • changed JS destination url to admin-ajax.php which fixes some incompatibilities with WPML
  • fixed WPML status messages not being translated upon login/registration/password-recovery
  • added and updated loads of languages, see here for full list - http://translate.netweblogic.com/projects/login-with-ajax/
  • added some minor label layout improvements for admin area labels/forms
  • added minor widget admin settings layout improvements
3.1.4 2014-09-07
  • fixed MIME type errors between HTTP <> HTTPS ajax requests,
  • added redirect shortcode attribute
3.1.3 2014-08-31
  • fixed JS/CSS file overriding problems
  • fixed class html error in widget/default/widget_in.php
  • fixed redirection issues when not using JS
  • fixed MultiSite registrations not adding user to blog with default role only 'subscriber' (props to Renato Baccaro)
  • fixed vulnerability where registration is still possible even if registration is disabled in settings (props to Kevin Niehage @weizenspreu)
  • fixed problems when trying to log in from an http page when admin ssl is enforced
  • fixed CSS to hide table borders of default widget for the twenty fourteen theme
  • added Hebrew, thanks to Menachem Shapiro
  • fixed HTML validation issues in widgets
  • added error fallback during ajax request
  • added new icons and headers for wordpress.org plugin pages
3.1.2 2013-05-20
  • updated Russian, Swedish and POT language files
  • added Afrikaans translation
  • added login_form action to divs-only and modal templates,
  • fixed php warning in login-with-ajax.php
  • fixed custom registration email not working since 3.1
  • fixed logged in 'hi' title not showing up and is now configurable in widget settings
3.1.1 2013-05-07
3.1 2013-05-05
  • fixed json_encode issue
  • overhaul of JS, now leaner and meaner
  • modified template structure to allow multiple login forms
  • added template selection to each widget
  • added title choice to widget
  • removed inclusion of wp-includes/registration.php during regsitration (not needed since WP 3.1)
  • added two new templates to choose in widgets
  • new light-weight modal using tweaked Reveal library - http://zurb.com/playground/reveal-modal-plugin
  • improved css
  • improved html structures in widget templates
  • added sainitization in widget templates
  • fixed CSRF vulnerability in admin settings page - thanks to Charlie Eriksen via Secunia SVCRP
  • moved WP Widget before/after and open/close tags out of templates and into the WP_Widget class
  • LoginWithAjax class is now completely static
  • added some MS fixes for registration, now works with BuddyPress
3.0.4.1 2012-05-07
  • fixed xss vulnerability for re-enlistment on wordpress repo, more on the way
3.0.4 2012-02-18
  • updated russian translation
  • added japanese
  • updated iranian
  • added registration attribute to template tags/shortcode
3.0.3 2011-01-02
  • %LASTURL% now works for logins as well
  • Profile link plays nice with buddypress
  • Added fix to stop wp_new_user_notification conflicts
  • Empty logins now have an error message too.
3.0.2 2010-12-28
  • got rid of (hopefully all) php warnings
3.0.1 2010-11-28
  • Fixed unexpected #LoginWithAjax_Footer showing up at bottom
  • Fixed link problems for sub-directory blogs (using bloginfo('wpurl') now)
  • Added Albanian
  • Replace Spanish with revised version
3.0 2010-11-04
  • Option to choose from various widget templates.
3.0b3 2010-11-04
  • %LASTURL% now works for logins as well
  • Profile link plays nice with buddypress
  • Added fix to stop wp_new_user_notification conflicts
  • Empty logins now have an error message too.
3.0b2 2010-07-27
3.0b1 2010-07-27
3.0b 2010-07-25
  • Various bug fixes
  • Improved JavaScript code
  • Ajax Registration Option
2.22 2010-05-24
2.21 2010-05-23
2.2 2010-05-21

(stable - [http://downloads.wordpress.org/plugin/login-with-ajax.zip] ) = * Added Turkish and Brazilian Translation * Fixed buddypress avatar not showing when logged in * Removed capitalization of username in logged in widget * Fixed all other known bugs * Added placeholders for redirects (e.g. %USERNAME% for username when logged in) * Added seamless login, screen doesn't refresh upon successful login.

2.1.5 2010-05-11
  • Changed logged in widget to fix avatar display issue for both BuddyPress and WP. (Using ID instead of email for get_avatar and changed depreciated BP function).
  • Added Danish Translation
2.1.4 2010-02-23
  • Added Chinese Translations
  • CSS compatability with themes improvement.
2.1.3 2010-02-22
  • Added Italian Translations
  • Added space in widget after "Hi" when logged in.
  • CSS compatability with themes improvement.
2.1.2 2010-02-17
  • Added German Translations
  • Fixed JS url encoding issue
2.1.1 2010-02-16
  • Added Finnish, Russian and French Translations
  • Made JS success message translatable
  • Fixed encoding issue (e.g. # fails in passwords) in the JS
2.1 2010-02-10
  • Added translation POT files.
  • Spanish translation (quick/poor attempt on my part, just to get things going)
  • Fixed result bug on [http://netweblogic.com/forums/topic/undefined-error-on-logging-in-with-wp-29]
  • Fixed bug on [http://wordpress.org/support/topic/355406]
2.0.4 2009-12-03
2.0.3 2009-11-18
  • Fixed login_with_ajax function so it echoes correctly.
2.0.2 2009-11-06
  • Fixed bad link to profile in default widget_in.php template
2.0.1 2009-11-05
  • Removed unnecessary locate_template call in admin class initialization.
  • Resynching SVN with trunk.
2.0 2009-11-04
  • Made plugin widget available as multiple instances (using new 2.8 Widget API)
  • Profile login link now controllable at widget level
  • Fixed bug where shortcode only appears at beginning of posts
  • Other Small Bug fixes

=

1.3.1 2009-10-02
  • Small bugfix on admin page if newly installed. Changes also made to the 1.3 tag.

=

1.3 2009-10-02
  • Fixed widget template $before_widget... variables being used with shorttag and template tag functions
  • Added JSON encoding compatability for PHP4
  • Fixed bad link for non root hosted sites in template
  • Added forgot password widget
  • Added redirect capability based on user roles
  • Fixed template locating to handle child themes
  • Added Shortcode

=

1.2 2009-08-07
  • Fixed redirection issue.
  • Added link to wp-admin profile page when logged in to default widget template.

=

1.11 2009-08-06
1.1 2009-08-04
  • Fixed JavaScript for http to https support.
  • Added shortcut tag login_with_ajax()

=

1.0 2009-08-03