Contributors: bradmkjr
Donate link: http://bradknowlton.com/
Tags: wp-login.php, shortcode, login, wp-login, authentication
Requires at least: 4.7.3
Tested up to: 4.7.4
Stable tag: 1.3.0
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
This plugin utilizes the shortcode [login_form] to present users with login form, lost password recovery and password reset fields on the front end of a WordPress site.
This plugin utilizes the shortcode [login_form] to present users with login form, lost password recovery and password reset fields on the front end of a WordPress site. The plugin heavily filters login and authentication urls to keep visitors from being sent to wp-login.php. It does not prevent a user from going directly to wp-login. The plugin blocks all non administrators from accessing the dashboard by doing a redirect to the homepage.
This plugin is designed for use with Gravity Forms by Rocketgenius, Inc., presenting a visitor a standard login box in place of forms which are restricted to logged in users only. It can also be used with other plugins that show content for non-logged in users, such as User Status Shortcode By Story Block Media.
A few notes about this plugin:
- Plugin not tested with WordPress Network
- Password reset and password recovery are all done on the page with the shortcode
Installation is very basic:
- Upload the plugin files to the
/wp-content/plugins/wp-front-end-login
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress
- Insert [login_form] shortcode on page or post.
All login and authentication logic is indentical to functions used in wp-login, just adjusted to work in a shortcode.
This plugin has not been tested with other login and security plugins, such as recaptcha or simple math. Feedback is welcome for any success or failures with other login plugins.
This plugin only loads the admin forms css, not the complete login css collection. This seems to work well with most themes during testing.
[missing image]
[missing image]
- Submitted to WordPress Plugin Archive
- Refactored plugin to minimize use of global variables
- First working version with login functionality.
- Initial version, using
wp_login_form()
function
Removed global variables, replaced with private Class variables.