SimpleModal Login
SimpleModal Login provides a modal Ajax login, registration, and password reset feature for WordPress which utilizes jQuery and the SimpleModal jQuery
Next Milestone 1K
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Rank Changes
Downloads Growth
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
Tracked Keywords
Showing 0 of 0| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| No keyword data available yet. | ||||
Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- 1.1
- Last Updated
- Dec 15, 2014
- Requires WP
- 2.5.0+
- Tested Up To
- 4
- PHP Version
- N/A
- Author
- Noah Cinquini
Support & Rating
- Rating
- ★ ★ ★ ★ ☆ 4
- Reviews
- 33
- Support Threads
- 0
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowSimilar Plugins
Frequently Asked Questions
Common questions about SimpleModal Login
Upload the simplemodal-login folder and its contents into the wp-content/plugins/ directory of your WordPress installation
Activate SimpleModal Login from Plugins page
Implement
There are 3 options for using the SimpleModal Login features:
a) Use wp_loginout() or wp_register() in your theme. SimpleModal Login will use the loginout and register filters to add the simplemodal-login class or simplemodal-register class to the respective link.
b) Enable the Keystroke Shortcut option. Once this is enabled, you will be able to invoke SimpleModal Login using the Ctrl+Alt+L keystroke.
c) Manually add a Log In or Register link. If your theme does not use wp_loginout() and you still want to use this plugin, you can manually edit your theme and add a login link as follows:
<a href="/wp-login.php" class="simplemodal-login">Log In</a>
<a href="/wp-login.php?action=register" class="simplemodal-register">Register</a>
Configure
1) Configure the SimpleModal Login settings, if necessary, from the SimpleModal Login option in the Settings menu. You can choose from one of the available themes as well as enable/disable the keystroke shortcut.
2) The styles can be changed with the following methods:
Add a CSS file in your theme's directory and place your custom CSS there. The name of the file should be simplemodal-login-THEME.css. For example, simplemodal-login-default.css or simplemodal-login-osx.css.
Add your custom CSS to your theme's style.css stylesheet
Modify the SimpleModal Login CSS files directly in the simplemodal-login/css directory
Note: The first two options will ensure that SimpleModal Login updates will not overwrite your custom styles.
How can I redirect back to the current page after login?
The WordPress wp_loginout() function allows for an optional $redirect parameter which is the URL where the user will be sent after a logging in our logging out.
To have the user return to the page they were on, update the code to look like:
<?php wp_loginout($_SERVER['REQUEST_URI']); ?>
If you are using the Meta Widget (Appearance > Widgets), to use this feature, you may need to delete the Meta Widget and add the code to your sidebar.php file manually.
For example, after you delete the Meta Widget, open sidebar.php (in your theme) and add[1] the following code:
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
</ul>
[1] Place it wherever you'd like to display and modify the code to fit your needs.
Lastly, if you've manually added a log in link, you can change it to:
<a href="/wp-login.php?redirect_to=<?php echo $_SERVER['REQUEST_URI']; ?>" class="simplemodal-login">Log In</a>
I suggest copying one of the existing themes as a template to start with.
How can I modify the form HTML?
This is an advanced option for users familiar with HTML, PHP and WordPress.
Starting with SimpleModal Login 1.0, each form (login, register, password reset) has a filter available that allows you to modify the HTML.
The 3 available filters are:
simplemodal_login_form
simplemodal_registration_form
simplemodal_reset_form
To use the filter, you'll need to add code to your theme's functions.php file. For example:
add_filter('simplemodal_login_form', 'mytheme_login_form');
function mytheme_login_form($form) {
// $form contains the SimpleModal Login login HTML
// do stuff here
// you have to return the code that you want displayed
return $form;
}
You'd probably want to start by copying the form HTML from the appropriate function in the main plugin file and then modifying to fit your requirements.
Things you'll need to change:
Change $this->users_can_register (for login and reset forms only)
Create a $users_can_register variable in your function:
$users_can_register = get_option('users_can_register') ? true : false;
Replace $this->users_can_register with $users_can_register
Change $this->options['registration'] and $this->options['reset']
Create an $options variables in your function:
$options = get_option('simplemodal_login_options');
Replace $this->options['registration'] with $options['registration']
Replace $this->options['reset'] with $options['reset']
Here are complete working examples for each of the three filters:
simplemodal_login_form: http://pastebin.com/rm3WWWRS
simplemodal_registration_form: http://pastebin.com/bVzZBKZf
simplemodal_reset_form: http://pastebin.com/jpd1RiP9
Have a question, comments or feature requests? Be sure to let me know.