Add smooth ajax login/registration effects and choose where users get redirected upon log in/out. Supports SSL, MultiSite, and BuddyPress.
Due to the improvmenets necessary (specifically allowing multiple LWA widgets on one page), it was important to modify the template files to use classnames instead of ids.
If you have customized your widgets as per the instructions below, you will need make some modifications to your templates, and probably re-evaluate whether you still need custom JS if you went that far.
We've tried to minimize potential conflicts arising from this, but you should consider revising your template regarding these two points:
To force SSL, see http://codex.wordpress.org/Administration_Over_SSL. The plugin will automatically detect the wordpress settings.
You can customize the html widgets in an upgrade-safe manner by copying files and editing them within your theme. Firstly, you need to understand how Login With Ajax loads templates:
When looking for files/templates there is an order of precedence - active child theme (if applicable), active parent themes, and finally the plugin folder:
Login With Ajax loads only one CSS and JS file which contains code for all templates. The plugin checks the locations above and loads the one it finds first. The default files are:
login-with-ajax.source.js, a non-minified version of the normal JS file.
Login With Ajax then checks for template folders which are loaded according to the preference highlighted above.
widget_out.phpwill be used.
widget_in.phpwill be used
If you wanted to change some text on the default theme, you could simply copy
wp-content/themes/yourtheme/plugins/login-with-ajax/default and edit the files as needed.
If you need to change the CSS file, copy the file
wp-content/plugins/login-with-ajax/widget/widget.css over to
wp-content/themes/yourtheme/plugins/login-with-ajax/widget.css and edit accordingly.
Requires: 3.1 or higher
Compatible up to: 4.0.3
Last Updated: 2014-9-7
Active Installs: 40,000+
3 of 24 support threads in the last two months have been resolved.
Got something to say? Need help?