Linux 软件免费装
Banner图

Clean Login – Frontend Login, Registration & Profile Forms

开发者 hornero
carazo
更新时间 2026年12月1日 07:22
捐献地址: 去捐款
PHP版本: 5.5 及以上
WordPress版本: 7.2
版权: GPLv2 or later
版权网址: 版权信息

标签

login custom login page frontend login password reset front end registration

下载

1.11.2 1.11.3 1.12.2 1.12.2.1 1.12.3 1.12.3.2 1.12.4 1.12.4.1 1.12.4.2 1.12.4.6 1.12.4.7 1.12.4.8 1.14.1 1.14.2 1.11.1 1.12 1.12.5 1.12.8.3 1.111 1.12.4.3 1.12.6.2 1.12.6.3 1.12.8.2 1.12.9 1.12.6.4 1.13 1.20.1 1.11 1.12.4.4 1.12.7 1.14.4 1.18 1.18.1 1.22.1 2.0.4 1.12.3.1 1.12.4.5 1.13.8 1.13.9 1.10.3 1.13.5 1.14.5 1.14.6 1.10.5 1.12.5.1 1.12.6.6 1.12.9.1 1.13.2 1.13.3 1.13.4 1.13.7 1.14.3 1.15 1.16 1.16.1 1.17 1.10 2.0 2.0.2 1.10.1 1.10.2 1.12.1 1.12.6.1 1.12.8 1.13.1 1.13.6 1.19 1.10.4 1.12.6.5 1.14 1.20 1.21 1.22.2 2.0.1 2.0.3

详情介绍:

Try it on a free demo site: https://demo.tastewp.com/clean-login Create a custom login page, a front end registration form, a password reset page and a user profile page where users edit their profile, all on the pages of your own site instead of wp-login.php. Add a block or a shortcode to any page and the form appears with the look of your theme. The forms find each other and link to each other on their own, and wp-login.php and wp-admin can send your visitors to your new login page. ✅ Tested with WordPress 7.2 ✅ More than 5,000 active installations ✅ 100% free, no premium version, no locked features 🆕 New in 2.0 🔑 Login 📝 Registration 🔒 Password and profile 🛡️ Control the dashboard 🧩 Blocks or shortcodes Every form is a block in the "Clean Login" category of the block editor, and also a shortcode: Copy any template to your-theme/clean-login/ to change its HTML. Your changes survive the updates. 🔌 Works with your plugins 💬 What users say
"I needed a lightweight plugin with some straightforward redirects and the option for users to create their own (strong) passwords. I'm really happy with this solution." — Maarten Visman "It's simply fast and clean and it works every time!" — grabe "I needed a simple plugin for login and logout and this plugin solved my purpose. Most importantly they added the Logout feature on my request and without any delay." — anjanphukan
Credits Clean Login was created by Alberto Hornero in 2014 and is maintained by Codection. More plugins by Codection

安装:

  1. Install Clean Login from Plugins → Add New, or upload the ZIP file, and activate it
  2. Create a page and add the Login form block (or the [clean-login] shortcode). Publish it
  3. Do the same with the forms you need: Register form ([clean-login-register], enable "Anyone can register" in Settings → General), Restore password form ([clean-login-restore]), Edit profile form ([clean-login-edit]) and Change password form ([clean-login-change-password])
  4. Go to Settings → Clean Login. The status table shows the page of each form, and the forms already link to each other
  5. Choose the options you need: CAPTCHA, redirections, admin bar, dashboard access, standby role…
  6. Optional: enable Login page redirection to send wp-login.php and wp-admin to your login page. The checks run first, and it is not enabled while any of them fails. If you ever get locked out, add define( 'CLEAN_LOGIN_DISABLE_LOGIN_REDIRECT', true ); to wp-config.php
The Clean Login status and links widget shows the user status and the links to the form pages in any widget area.

屏幕截图:

  • Registration form with first and last name, CAPTCHA and terms and conditions
  • Every form is a block, with a live preview in the editor
  • Profile editor on the front end
  • Change password form with the strength meter
  • Forgot password form
  • Logged-in preview with the links to the profile and to log out
  • Settings: the page of each form and the options
  • Checks before sending wp-login.php and wp-admin to your login page

升级注意事项:

2.0
  • Blocks for every form and an optional redirection of wp-login.php and wp-admin to your login page. Nothing changes until you enable the redirection in Settings → Clean Login
1.0
  • First installation

常见问题:

How do I create a custom login page?

Install Clean Login, create a new page, and add the "Login form" block (or the shortcode [clean-login]) to its content. Publish the page — that's it. Your custom frontend login form is live.

Can I use blocks instead of shortcodes?

Yes. Every form has its own block in the "Clean Login" category of the block editor: Login form, Register form, Restore password form, Edit profile form, Change password form and Logout link. The editor shows a live preview of each form. Pages with blocks are detected exactly like pages with shortcodes, so the forms link to each other and the plugin status in Settings → Clean Login shows them. The forms are still configured in Settings → Clean Login; shortcode attributes such as role, template, show_email or text are only available with the shortcodes for now.

Can I send wp-login.php and wp-admin to my login page?

Yes. Go to Settings → Clean Login and enable "Login page redirection". Visitors who open wp-login.php, or wp-admin without being logged in, are sent to your login page and, after logging in, back to the page they wanted to open. Before enabling it the plugin checks that no other plugin, theme or server rule hides or redirects wp-login.php, and it is not enabled while any check fails. Logout, password reset links, password protected posts and the "session expired" box of the dashboard keep using wp-login.php. In a multisite network it is set per site.

I enabled the login page redirection and I cannot log in. What can I do?

Add define( 'CLEAN_LOGIN_DISABLE_LOGIN_REDIRECT', true ); to wp-config.php: wp-login.php works as usual again (in the whole network, in multisite). Fix the login page, check it in a private window and remove the line. You can also deactivate Clean Login by renaming its folder via FTP.

Can I create a custom user registration page?

Yes. Create a page with the shortcode [clean-login-register]. Make sure user registration is enabled in WordPress Settings → General → Membership.

How does the password reset / forgot password page work?

Add [clean-login-restore] to a page. Users enter their username or email and receive a reset link. If you also have a [clean-login-change-password] page set up, they will be redirected there to set their own password; if not but you have a [clean-login-edit] page, they will be redirected there; otherwise a new password is generated and shown to them.

Can users change their password from the frontend?

Yes — use [clean-login-change-password] for a focused password change form, or [clean-login-edit] for a full profile editor that also includes name, email and password fields.

Is there a password strength indicator?

Yes. The [clean-login-change-password] form includes an animated strength meter with four levels (Weak, Fair, Good, Strong).

Can I redirect users to a specific page after login?

Yes. Go to Settings → Clean Login and enable "Redirect after log in", then enter the destination URL.

Can users log in with their email address instead of username?

Yes. Enable "Use Email as Username" in the plugin settings.

Is Clean Login SEO friendly?

Yes. Login, registration and all other plugin pages are automatically marked noindex, nofollow and excluded from the WordPress sitemap, so they never pollute your site's search rankings. Compatible with Yoast SEO, RankMath and AIOSEO.

Is Clean Login compatible with WPML?

Yes — Clean Login holds an official WPML certification. The forms and blocks follow the visitor's language, and the texts typed in Settings → Clean Login are translated in WPML → String Translation (WPML String Translation is needed for them).

Is Clean Login compatible with WooCommerce?

Yes, Clean Login works alongside WooCommerce without conflicts.

Is Clean Login compatible with AJAX-based plugins and themes?

Yes, from version 1.2.6.

Can I override the form templates?

Yes. Copy any template from the plugin's content/ folder into your-theme/clean-login/ and edit it there. Your customisations will survive plugin updates.

Can I modify my Avatar?

Clean Login uses your email address to fetch your avatar from Gravatar. To manage avatars from the WordPress dashboard, use WP User Avatar.

Can I change the "Lost password?" link text?

Yes. Go to Settings → Clean Login → "Lost password link text" and enter your preferred label.

How do I add a logout link outside of the login preview?

Use the shortcode [clean-login-logout] anywhere on your site. It only renders for logged-in users and accepts an optional text attribute to customise the link label, e.g. [clean-login-logout text="Sign out"].

更新日志:

2.0.4 - 2026-11-26 2.0.3 - 2026-11-16 2.0.2 - 2026-11-16 2.0.1 - 2026-10-30 2.0 - 2026-10-28 1.22.2 - 2026-10-27 1.22.1 - 2026-10-27 1.21 - 2026-10-27 1.20.1 - 2026-10-25 1.20 1.19 1.18 1.17 1.16.3 1.16.2 1.16.1 Mandatory nonces: Strict nonce verification (clean_login_wpnonce and cl_nonce) was added to login and password recovery. Anyone overriding login-form.php or restore-form.php in their theme will get broken submissions (?sent=failed) until they manually add these hidden inputs. There are no log messages that identify what has failed. On the reset password page it just says "An error has ocurred sending the email". Note there's a typo on "occurred" too. Hook changes: The note "Hooks renamed" is too generic. For example, changing the filter cl_login_form to clean_login_login_form silently breaks custom templates based on previous versions. Please list the specific changes. 1.16 1.15 1.14.6 1.14.5 1.14.4 1.14.3 1.14.2 1.14.1 1.14 1.13.9 1.13.8 1.13.7 1.13.6 1.13.5 1.13.4 1.13.3 1.13.2 1.13.1 1.13 1.12.9.1 1.12.9 1.12.8.3 1.12.8.2 1.12.8.1 1.12.8 1.12.7 1.12.6.6 1.12.6.5 1.12.6.4 1.12.6.3 1.12.6.2 1.12.6.1 1.12.6 1.12.5 1.12.4.8 1.12.4.7 1.12.4.6 1.12.4.5 1.12.4.4 1.12.4.3 1.12.4.2 1.12.4.1 1.12.4 1.12.3.2 1.12.3.1 1.12.3 1.12.2.1 1.12.2 1.12.1 1.12 1.11.3 1.11.2 1.11.1 1.11 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10 1.9.10 1.9.9 1.9.8 1.9.7 1.9.6 1.9.5 1.9.4 1.9.3 1.9.2 1.9.1 1.9 1.8.2 1.8.1 1.8 1.7.12 1.7.11 1.7.10 1.7.9 1.7.8 1.7.7 1.7.6 1.7.5 1.7.4 1.7.3 1.7.2 1.7.1 1.7 1.6.1 1.6 1.5.1 1.5 1.4.1 1.4 1.3 1.2.8 1.2.7 1.2.6 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2 1.1.11 1.1.10 1.1.9 1.1.8 1.1.7 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0