Description
CSH Login adds login, registration and password-reset forms that follow WordPress APIs.
- Login with a username or email, plus a password, and Remember Me.
- Register with a username, email and an optional password. Passwords are never emailed.
- Lost-password form using the WordPress reset email.
- Logout by shortcode or link.
- Shortcodes:
[csh_login],[csh_login_form],[csh_register_form],[csh_lost_password_form],[csh_logout]. - Respects Settings → General → “Anyone can register”.
- New accounts receive the Subscriber role.
- Redirect after login, logout and registration. Off-site redirects are rejected.
- Basic styling: logo, colors, width, alignment, radius, spacing and font size.
- Responsive on desktop, tablet and mobile.
- Translation-ready. Themes can replace labels with icons and override templates.
- Styles and scripts load only when a form or the dropdown is used.
- Works with Gutenberg, classic themes and page builders via shortcode.
Theme templates: copy files into your-theme/csh-login/.
Theme text:
add_filter( 'cshlg_logged_out_label', function () { return '<i class="icon-user"></i>'; } );
add_filter( 'cshlg_logged_in_label', function () { return '<i class="icon-logout"></i>'; } );
wp-login.php stays available. CSH Login does not disable it.
Installation
- Upload the plugin folder to
/wp-content/plugins/. - Activate CSH Login.
- Open the CSH Login menu to style the form or create the login pages.
FAQ
How do I put the form in a page?
Use [csh_login_form], [csh_register_form] or [csh_lost_password_form]. The Pages tab can create those pages for you.
Can my theme change “Login / Register” to an icon?
Yes. Filter cshlg_logged_out_label and cshlg_logged_in_label, or cshlg_login_link_html.
Does this plugin send passwords by email?
No. If the visitor does not choose a password, WordPress sends its standard link to set one.
Screenshots
Changelog
2.0.0
- Rebuilt the plugin around WordPress login, registration and password-reset APIs.
- Added nonces, rate limiting, safe redirects and a fixed Subscriber role.
- Stopped emailing plain-text passwords.
- Added per-form shortcodes, theme template overrides and icon-ready labels.
- Load one stylesheet and one script only when a form is needed.
1.0
- First public release.



