Support » Plugins and Hacks » [Plugin: Sidebar Login] Patch for custom login fields
5 years ago
Hello, me again. I really like Sidebar Login, so here’s another augmentation to make it more flexible.
I’ve created a (separate) plugin to add a custom checkbox to the standard WP login form, using the login_form filter (which the user must check to login).
Sidebar Login can automatically include my custom field by adding one line of code: do_action('login_form');
I placed this on line 150 of sidebar-login.php (version 2.3.2), just before the ‘rememberme’ (the same place the WP standard login form calls for the login_form action).
Can this simple and useful update make it into the next Sidebar Login version? Many thanks for this convenient plugin.