Skip to content
  • Log In
  • Register
WordPress.org

🌏🌍🌎 (Emoji)

  • 🎨
  • 🔌
  • News
  • Support
  • About
  • Get WordPress
Get WordPress

Plugins

  • My Favorites
  • Beta Testing
  • Developers

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Download

ZM Ajax Login & Register

By Zane Matthew
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

With ZM Ajax Login & Register, you can create a custom login and registration page. No need for any custom post types, just create a normal WordPress page, add your own custom logo, text, and use the following shortcode [ajax_login], [ajax_register].

From the settings you can assign login and register modal boxes to menu items, and add a redirect URL. By assigning the login and register modals to menu items users will be able to click menu items, will display a single login or register form in a modal without any post content. Once the users login they can be redirected to a custom page, for example: “dashboard”, or “welcome”.

Now your visitors can login or register from the page you’ve set-up.

Each form has pre-set styling options and uses AJAX. From the settings you can choose either; stacked (default) or wide styling. Additional styling you can be achieved by adding your custom CSS or using one of the available hooks.
Feel free to contact us and will add any additional hooks you need. The forms use AJAX to verify that the username and email are valid and are not already in use.

If you’ve enabled the Facebook login or register, from your settings, the Facebook button will display in the form. Each user that logins with Facebook will be register as a “subscriber” and their Facebook profile picture will be used as their avatar.

Features

  • Facebook login support
  • Redirect users to a custom URL or page after login, such as; “Dashboard” or “Welcome”
  • AJAX verification for username and email accounts
  • Choose between different styles: stacked (default) or wide
  • Advanced usage includes: Assign login and register modals to menu items, support for custom CSS, several hooks are available as well
  • Now available in Russian thanks to artbelov, Spanish and French thanks to Thomas G

Additional Features

Interested in more features? View our Pro Version, which includes the following:

  • Force user login – Create your own private site
  • Independent Redirect – Send existing users to a “dashboard” page, or new users to a “welcome” page.
  • Free dedicated support for 1-year
  • Additional features to come!

Integrations

ZM AJAX Login Register works well with the following plugins

  • Goodbye Captcha

Translations

ZM AJAX Login & Register is available in the following languages. Thanks to the respective contributors:

  • Albanian via shpberisha
  • Brazilian Portuguese via PageLab Pull Request
  • Chinese (front end only), via Pull Request
  • Croatian via Fran
  • French via @jukd
  • Hebrew via Yehuda
  • Italian via @FilippoAceto
  • Polish via Abdul
  • Persian via Behzad
  • Romanian via Sandu
  • Russian (Russian) via artbelov
  • Russian (Ukraine)
  • Scottish Gaelic via Steven Kellow
  • Serbian via ogi
  • Spanish via dvk

Interested in contributing a translation? Please reach out to us via:

  • Send us a tweet
  • Submit a Pull Request via GitHub
  • Direct contact

Usage

Note your site will need to be open to registration.

Shortcode

The following implies for creating a login or register page.

  1. Create a page
  2. Add the following shortcode [ajax_login] or [ajax_register]
  3. Publish the page

Facebook Integration

  1. Create a Facebook App
  2. Add your Facebook App ID
  3. Add the URL your Facebook App is associated with

Additionally we’ve created AJAX Login & Register WordPress Plugin help videos to aid in the process

Dialogs/Modals

Note your page must support custom menus

  1. Create a menu item; such as “login” you can set the URL to # if need be
  2. Assign a unique class name to the menu item. If you do not see the “class name section”, click on the “Screen options” in the upper corner and check the box for “CSS Classes”
  3. Copy/paste the class name you just assigned to the menu item
  4. Save the changes for the new menu item
  5. Visit the settings page from the WordPress Admin (Settings –> Ajax Login & Register)
  6. Paste the CSS class name in the appropriate field, either “Login Handle” or “Register Handle”
  7. Save the settings

Additionally you can assign a URL to a page the user is redirected to once logged in. The default is the site home page.

Support

Please use the following resources for support.

  • Dedicated Support Forum
  • GitHub Repository

Screenshots

  • Login modal with Facebook enabled
  • Registration modal with Facebook enabled
  • Login page (used with shortcode)
  • Registration page (alternate layout, used with shortcode)
  • Registration modal (alternate style)
  • Settings

Installation

  1. Install the plugin via WordPress or download and upload the plugin to the /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create a page called “login” or “register”
  4. Add the shortcode [ajax_login] or [ajax_register] (make sure your site is set to “anyone can register”) to any post or page

FAQ

Installation Instructions
  1. Install the plugin via WordPress or download and upload the plugin to the /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create a page called “login” or “register”
  4. Add the shortcode [ajax_login] or [ajax_register] (make sure your site is set to “anyone can register”) to any post or page
How do I disable registration?

From the WordPress admin click on Settings –> General and uncheck “Anyone can register”

Why does the Facebook button not load?

Ensure that you have the setting “Enable Facebook Login” checked.

Facebook login isn’t working?

Please check your settings in WordPress Admin -> Settings -> AJax Login & Register with the settings found
here: https://developers.facebook.com/apps/YOUR_APP_ID/summary

Additionally you can view our AJAX Login & Register WordPress Plugin help videos

I’ve added the shortcode, yet I see a message that says “Registration is currently closed.”?

Your seeing this message because your site is not open for registration. In order to open your site for registration, do the following:

Note the following does not apply to WordPress Networking. For WordPress Networking please consult your Network admin.

  1. Log into your WordPress admin
  2. Click on “Settings”
  3. Click on “General”
  4. Click the checkbox for “Anyone can register”
  5. Click “Save”

Reviews

Explain setup for FB

tdechangy ❄️1️⃣2️⃣ 21, 2018
Hi, I've made my FB dev account with a login app. I used my app ID but nothing happens. The FB popup opens, I had to agree the login but the login doesn't work. After that I wans't asked to accept the popup anymore. It loaded and disappeared instantly. I tried using the SDK that I put in the body but it didn't change anything. Can you please show a step by step process ? Waiting to read you soon.

HTTP works – HTTPS unfortunately don’t work

julieklein 🌸5️⃣ 21, 2017 1 reply
Worked beautifully for Facebook and Regular Logins over HTTP but as soon as I switched over to HTTPS it Logins fine but won't allow me into the Dashboard settings. Project seems dormant and without SSL support; sadly it's no good to me anymore.

Stay away from this poorly coded hack

nodwsp ❄️2️⃣ 3, 2017
This spaghetti of redundant code and obsolete dependencies has inspired me to create my own plugin. How can WP authorize such low quality aberrations?

Registration page showing the showing error

juneed 🍂 9️⃣ 3, 2016
When i try to open registration page it is showing the below error User registration is currently not allowed, can you tell if you any suggestions.

Works as advertised!

oxygensmith 🍂 9️⃣ 3, 2016
It works as advertised and I appreciate that it's easy to customize. I do notice that some themes have issues with this plugin. But, I really appreciate the author's work and upkeep on this plugin while keeping it free.

does not work

BiomeDigital 🍂 9️⃣ 3, 2016
it does not work, will not log in. Obviously just forgotten about and not updated.
Read all 40 reviews

Contributors & Developers

“ZM Ajax Login & Register” is open source software. The following people have contributed to this plugin.

Contributors
  • Zane Matthew
  • Diana

“ZM Ajax Login & Register” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “ZM Ajax Login & Register” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.0.1

  • Adding Swedish translation, #123
  • Bug: Fixed issue where additional styling (textarea CSS) did not show, #124
  • Adding Polish translation, #125

2.0.0

  • Settings page is now tabbed based.
  • Settings are now optimized.
  • Enhancement: Clicking outside of a dialog now closes the dialog

1.1.1

  • Translation: Adding Ukrainian
  • Translation: Adding simplified Chinese via Pull request
  • Enhancement: Facebook Avatar support pull #109
  • Enhancement: New (translatable) Facebook login button
  • Enhancement: Utilizing less user meta pull #107

1.1.0

  • Security fix to prevent a local file inclusion vulnerability, and XSS attacks.

1.0.9

  • Maintenance: Removed deprecated function, #103
  • Maintenance: Removing unused options, #53
  • Translation: Added Romanian translation via (Dumitru)[http://www.vtube.ro], #100
  • Translation: Added Italian translation via Francesco D’Alia, #99
  • Translation: Adding German translation, via Jonas Meier
  • Feature: Disabled global AJAX callbacks, #98
  • Feature: Add new setting to pre-load dialog boxes, #80
  • Enhancement: Adding placeholder values for front end forms, 88
  • Compatibility: Adding better support for Limit Login Attempts, and other plugins that interact with the login, register process, [#77](https://github.com/zanematthew/zm-
  • Compatibility: Removed the not needed Facebook meta og title tag, #89
  • Bug: Disabled auto-complete for login and password field, #97
  • Bug: Better sanitizing of Facebook App ID, #96
  • Bug: Better handling of default redirect, #95
  • Bug: Fixed bug that prevented default new user notices from being sent, #92
  • Bug: Allowing for case sensitive passwords, #82
  • Bug: Addressed issue with duplicate HTML IDs, #14

1.0.8

  • Bug: Fixing broken link, #66
  • Bug: Close text in modals is now translation ready, #62
  • Bug: Fixing PHP Strict Standards issue, #56
  • Enhancement: Name spacing classes
  • Enhancement: Various UI improvements, #58
  • Enhancement: Facebook Developer and support links open in new window, updated support link
  • Enhancement: Adding plugin notices, #68
  • Enhancement: Updated various parts of the plugin description, #70
  • Translation: Adding Serbian translation via ogi, #63
  • Translation: Adding Albanian translation via shpberisha
  • Translation: Updating Russian translation via artbelov
  • Translation: Adding Brazilian Portuguese
  • Translation: Adding Persian language
  • Translation: Adding Croatian
  • Translation: Adding traditional Chinese (front end only), via Pull Request

1.0.7

  • Enhancement: Added “usage” section to the settings page, #21
  • Enhancement: Added Facebook Login instructions, #51
  • Enhancement: Improved Facebook Login set-up by updating to v2.0 SDK, #50
  • Enhancement: Facebook Login with phone number is now supported, #52
  • Enhancement: Facebook Login now saves; first name, last name, and Facebook URL with the user profile, #50
  • Enhancement: Facebook OG tags should no longer be duplicate, they can be left blank if another plugin is already implementing them #42
  • Enhancement: New users can now link to the Registration form from the Login form and existing users can link from the Registration form to the Login form, #16
  • Enhancement: Improved user registration interaction, #44.
  • Enhancement: Improved support for Login and Register dialogs on mobile devices, 46
  • Bug: Fixing bug were some users reported user name existed with Facebook Login, #48

1.0.6

  • Enhancement: Dialog/Modal is now closed if the user scrolls, issue #34
  • Enhancement: Dialog/Modal is no longer draggable, issue #35
  • Enhancement: French translation issue #33 Thanks too @jukd
  • Addressed compatibility issues with Easy-to-use issue #38
  • Fixed bug: Facebook Meta Tags issue #41
  • Enhancement: Added Spanish translation

1.0.5

  • Added Multi-Language Support.
  • Added Russian translation.
  • Created .POT file.

1.0.4

  • Added Multi-Language Support.
  • Added Russian translation.
  • Created .POT file.

1.0.3

  • When Login modal is used the Login link changes text to say “Logout” once the user is logged in, #9
  • Removing duplicate IDs #14
  • Localizing JS, https://github.com/zanematthew/zm-ajax-login-register/issues/13
  • Fixing issue where users could not register when the modal and shortcode was in use at the same time, #11
  • Bug: Fixed issue where Facebook login did not work on the registration page, #12

1.0.2

  • Improved readme.txt
  • Feature: Added WordPress networking support
  • Bug: Fixing issue when Facebook login did not work with latest WordPress
  • Bug: Shortcode now returns HTML rather than printing it
  • Security: Enhanced security for credentials when creating Facebook users

1.0.1

  • Added setting to disable/enable “keep me logged in” checkbox
  • Added filter zm_ajax_login_redirect, which allows developers to change the redirect url.
  • 3.6 Styling – z-index issue
  • 3.6 Styling – Close button no longer has default focus and default styling

1.0.0

  • Initial release

Meta

  • Version: 2.0.2
  • Last updated: 7 years ago
  • Active installations: 9,000+
  • WordPress Version: 3.5 or higher
  • Tested up to: 4.3.30
  • Languages:

    Croatian, Dutch, English (US), French (France), and Persian.

    Translate into your language

  • Tags:
    adminajaxloginmanagemodal
  • Advanced View

Ratings

See all
  • 5 stars 28
  • 4 stars 0
  • 3 stars 1
  • 2 stars 4
  • 1 star 6
Log in to submit a review.

Contributors

  • Zane Matthew
  • Diana

Support

Issues resolved in last two months:

0 out of 1

View support forum

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org

🌏🌍🌎 (Emoji)

  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
🖥 = 💌