Simple plugin for providing AJAX login/signup/forgot password popup with redirects.
Also provides a pre-defined widget for displaying links for login/signup/site admin/logout. Theme can customize templates and styles.
Code is partially based on http://fellowtuts.com/wordpress/wordpress-ajax-login-and-register-without-a-plugin/ and http://fellowtuts.com/wordpress/forgot-password-with-ajax-in-wordpress-login-and-register/
Settings provide abilities for customizing translations, and custom login/logout redirection settings.
- Install the plugin as usual
- Go to Settings -> Simple Ajax Auth and customize translations and settings
- Go to Appearance -> Widgets, add Simple Ajax Auth widget
- I want to use Advanced Text Widget and provide links
You can use following php commands to provide links to plugin’s actions manually:
These will only return content when needed, for example, simple_ajax_auth_logout_link()
won’t return anything, if user is not logged in. Registration link won’t show when user
has logged in and/or site’s user registration has been disabled.
To display one of these, do the following:
You may also use $before and $after, like this:
- ‘, ‘
If user has not logged in this would output link in middle of
tags. If link
won’t be returned, it’s still empty, even when $before and $after are used.
There are no reviews for this plugin.
Þátttakendur & höfundar
“Simple Ajax Auth” er opinn hugbúnaður. Eftirfarandi aðilar hafa lagt sitt af mörkum við smíði þessarar viðbótar.Höfundar
- Initial version