跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Chout – Custom Login Page

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

Chout – Custom Login Page

作者:Chout
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

Custom Login Page allows you to easily customize the appearance of your WordPress login page. Impress your clients or brand your website right from the login screen.

With this plugin, you can:

  • Customize the Login Logo:
    • Upload your own logo.
    • Set a custom URL for the logo link (defaults to your site’s homepage).
    • Define a specific height for your logo.
    • The width is automatically calculated based on the height, which helps prevent image distortion, maintain the correct aspect ratio, and ensure the link area is not exceeded.
  • Format Login Page Content:
    • Set a custom background image for the entire page.
    • Choose a fallback background color if not using an image.
  • Customize the Login Form:
    • Change the form’s background color and adjust its opacity.
    • Set a custom border width, color (with opacity), and border radius for the form.
    • Modify the text, background and border colors for input fields.
    • Customize link colors (normal and hover states).
  • Format Login Button:
    • Change the background color and text color for the login button (normal and hover states).
    • Hide Elements:
      • Option to hide the “Privacy Policy” link.
      • Option to hide the language switcher (if present).
      • Option to hide the “Back to [Site Name]” link.
    • Protect Login with Google reCAPTCHA:
      • Choose reCAPTCHA v2 Checkbox or reCAPTCHA v3 Score.
      • Enter the site key and secret key directly in the Customizer.
      • Select the light or dark theme for the reCAPTCHA v2 checkbox and v3 badge.
      • Adjust the v3 score threshold.
    • Visual Customizer Workflow:
      • Easy-to-use interface under Appearance > Customize > Custom Login Page.
      • Shows a sample login screen in the Customizer preview.
    • Uses the WordPress Media Uploader for image selection.
    • Includes a color picker for easy color selection.
    • Reset to default options directly inside the Customizer.
  • Lightweight and Secure:
    • Clean code following WordPress standards.
    • Properly sanitizes all inputs and escapes outputs.
  • Translation Ready: This plugin is ready for translation.
    • A .pot (Portable Object Template) file named err-custom-login-page.pot is included in the languages/ folder. Translators can use this file to create new language packs.
    • The text domain used is err-custom-login-page.

This plugin provides a simple yet powerful way to transform your standard WordPress login page into a branded and visually appealing entry point for your website.

External Services

This plugin can connect to Google reCAPTCHA, a service provided by Google LLC, when the site administrator enables Google reCAPTCHA in the Customizer and enters a Site Key and Secret Key.

Google reCAPTCHA is optional. If it is disabled, or if the required keys are not configured, this plugin does not load Google reCAPTCHA scripts and does not send reCAPTCHA verification requests to Google.

When Google reCAPTCHA is enabled:

  • The WordPress login screen loads the Google reCAPTCHA API script from https://www.google.com/recaptcha/api.js.
  • The visitor’s browser communicates with Google to display the reCAPTCHA v2 checkbox or the reCAPTCHA v3 badge and to generate a reCAPTCHA response token.
  • During a login attempt, the plugin sends the reCAPTCHA response token, the configured Secret Key, and the visitor IP address if available to Google’s verification endpoint at https://www.google.com/recaptcha/api/siteverify.
  • The configured Site Key is displayed in the browser as required by Google reCAPTCHA. The configured Secret Key is stored in WordPress options and is used only for server-side verification.
  • This plugin does not store the visitor’s reCAPTCHA response token or Google’s verification response.

Google may collect and process visitor data as described in Google’s own policies. Site owners should review those policies before enabling reCAPTCHA.

Service: Google reCAPTCHA – https://www.google.com/recaptcha/

Terms of Service: https://policies.google.com/terms

Privacy Policy: https://policies.google.com/privacy

Support

If you have any issues or suggestions, please use the plugin’s support forum on WordPress.org or contact the author via their Author URI.

Donations

If you find this plugin useful and would like to support its development, please consider making a donation. Thank you!

屏幕截图

Customizer Settings: The visual Customizer section where you can adjust the login page options.
Customizer Settings: The visual Customizer section where you can adjust the login page options.
Customized Login Page Example: An example of a login page customized with a new logo, background and colors.
Customized Login Page Example: An example of a login page customized with a new logo, background and colors.

安装

  1. Via WordPress Plugin Uploader:

    • Download the plugin ZIP file (err-custom-login-page.zip).
    • In your WordPress admin panel, go to Plugins > Add New.
    • Click Upload Plugin at the top.
    • Click Choose File and select the downloaded ZIP file.
    • Click Install Now.
    • Activate the plugin through the ‘Plugins’ menu in WordPress.
  2. Via FTP:

    • Download the plugin ZIP file (err-custom-login-page.zip).
    • Extract the ZIP file. You will get a folder named err-custom-login-page.
    • Upload the err-custom-login-page folder to the /wp-content/plugins/ directory on your server.
    • Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Configuration:

    • After activation, navigate to Appearance > Customize > Custom Login Page in your WordPress admin panel to customize the login page with a live sample preview.

常见问题

Where can I configure the plugin?

You can configure all options under Appearance > Customize > Custom Login Page.

How do I select an image for the logo or background?

The plugin uses the native WordPress Media Uploader. In the Customizer, open the image control for the logo or background, then choose an existing image from your Media Library or upload a new one.

What happens if I don’t set a body background image?

If no body background image is selected, the “Body Background Color (Fallback)” will be used. If that is also not set, it will default to the standard WordPress login page background color.

Can I reset the settings to default?

Yes, the Customizer section includes a “Reset All Options to Default” button. After clicking it, publish the Customizer changes to save the reset.

Which Google reCAPTCHA versions are supported?

The plugin supports reCAPTCHA v2 Checkbox and reCAPTCHA v3 Score. Both require a matching site key and secret key from Google. You can choose either the light or dark theme for the v2 checkbox and v3 badge.

Does this plugin connect to an external service?

Yes. If Google reCAPTCHA is enabled and configured, the plugin connects to Google reCAPTCHA to render the challenge or score badge and to verify login attempts. See the External Services section below for details.

Is the plugin translation ready?

Yes, the plugin is translation ready. The text domain is err-custom-login-page. A Vietnamese translation is already included. You can create your own translations using tools like Poedit.

My logo looks stretched or too small. How can I fix this?

Try adjusting the “Logo Height (px)” setting. If you leave it blank, the plugin will try to size it automatically based on the image dimensions, but for best results, provide a logo that is appropriately sized for a login page and then fine-tune with the height setting if needed. Using a PNG with a transparent background is recommended for logos.

评价

Tuyệt vời! Nhanh, nhẹ, đơn giản mà hiệu quả.

tuannguyenplv 2025 年 7 月 6 日 1 回复
Hy vọng trong tương lai tác giả sẽ ra mắt các mẫu có sẵn.
阅读所有1条评价

贡献者及开发者

「Chout – Custom Login Page」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Chout

「Chout – Custom Login Page」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Chout – Custom Login Page」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.28.1

  • Fix: Enforce reCAPTCHA after WordPress validates the username and password so failed or missing challenges block valid login attempts.

1.28.0

  • Feature: Added input field background and border color controls.
  • Feature: Added Google reCAPTCHA v2 Checkbox and v3 Score protection for the login form.
  • Feature: Added a light/dark theme selector for reCAPTCHA.

1.26.0

  • Initial public release.
  • Feature: Customize login page logo, logo URL and logo height.
  • Feature: Customize body background image and color.
  • Feature: Customize login form background color, opacity, border (width, color, opacity, radius).
  • Feature: Customize form text color, input text color, link colors (normal & hover).
  • Feature: Customize login button background and text colors (normal & hover).
  • Feature: Options to hide privacy policy link, language switcher and “back to site” link.
  • Feature: Visual Customizer settings and reset to default functionality.
  • Feature: Added Vietnamese translation.

额外信息

  • 版本 1.28.1
  • 最后更新:16 小时前
  • 活跃安装数量 10+
  • WordPress 版本 6.4 或更高版本
  • 已测试的最高版本为 7.0
  • PHP 版本 7.4 或更高版本
  • 语言

    English (US) 、 Russian 和 Vietnamese.

    翻译成简体中文

  • 标签
    custom loginloginlogin pagerecaptchasecurity
  • 高级视图

评级

5 星(最高 5 星)。
  • 1 条 5 星评价 5 星 1
  • 0 条 4 星评价 4 星 0
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

Your review

查看全部评论

贡献者

  • Chout

支持

有话要说吗?是否需要帮助?

查看支持论坛

捐助

您愿意支持这个插件的发展吗?

捐助此插件

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.