Title: WP Login Form
Author: Noor Alam
Published: <strong>2017 年 8 月 11 日</strong>
Last modified: 2026 年 5 月 24 日

---

搜索插件

![](https://ps.w.org/wp-login-form/assets/banner-772x250.png?rev=3044436)

![](https://ps.w.org/wp-login-form/assets/icon-256x256.png?rev=3006813)

# WP Login Form

 作者：[Noor Alam](https://profiles.wordpress.org/naa986/)

[下载](https://downloads.wordpress.org/plugin/wp-login-form.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-login-form/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-login-form/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-login-form/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-login-form/#developers)

 [支持](https://wordpress.org/support/plugin/wp-login-form/)

## 描述

[WP Login Form](https://noorsplugin.com/wordpress-login-form-plugin/) allows you
to create a simple login form for use anywhere on the front end of your WordPress
site. You can add it to a post, page or your sidebar with a shortcode.

### WP Login Form Add-ons

 * [Force Redirect](https://noorsplugin.com/wordpress-login-form-plugin/)
 * [Custom Error](https://noorsplugin.com/wordpress-login-form-custom-error/)

### How to Create a Custom Login Page for WordPress

In order to create a login form or custom login page for WordPress with the default
options, all you need to do is use this shortcode:

    ```
    [wp_login_form]
    ```

However, there are other parameters that you can pass in the shortcode to customize
it.

**redirect**

An absolute URL to which the user will be redirected after a successful login. For
example,

    ```
    [wp_login_form redirect="https://example.com/mypage/"]
    ```

The default is to redirect back to the URL where the form was submitted.

**form_id**

Your own custom ID for the login form. For example,

    ```
    [wp_login_form form_id="myloginform"]
    ```

The default is “loginform”.

**label_username**

Your custom label for the username/email address field. For example,

    ```
    [wp_login_form label_username="Login ID or Email"]
    ```

The default is “Username or Email Address”.

**label_password**

Your custom label for the password field. For example,

    ```
    [wp_login_form label_password="Login Password"]
    ```

The default is “Password”.

**label_remember**

Your custom label for the remember field. For example,

    ```
    [wp_login_form label_remember="Remember"]
    ```

The default is “Remember Me”.

**label_log_in**

Your custom label for the form submit button. For example,

    ```
    [wp_login_form label_log_in="Submit"]
    ```

The default is “Log In”.

**id_username**

Your own custom ID for the username field. For example,

    ```
    [wp_login_form id_username="wp_user_login"]
    ```

The default is “user_login”.

**id_password**

Your own custom ID for the password field. For example,

    ```
    [wp_login_form id_password="wp_user_pass"]
    ```

The default is “user_pass”.

**id_remember**

Your own custom ID for the remember field. For example,

    ```
    [wp_login_form id_remember="login_rememberme"]
    ```

The default is “rememberme”.

**id_submit**

Your own custom ID for the form submit button. For example,

    ```
    [wp_login_form id_submit="login_form_submit"]
    ```

The default is “wp-submit”.

**remember**

Specify whether to display the “Remember Me” checkbox in the WordPress login form.
For example,

    ```
    [wp_login_form remember="0"]
    ```

The default is “1” (true).

**value_username**

Your custom placeholder attribute for the username input field. For example,

    ```
    [wp_login_form value_username="Your Username"]
    ```

The default is NULL.

**value_remember**

Specify whether the “Remember Me” checkbox in the form should be checked by default.
For example,

    ```
    [wp_login_form value_remember="1"]
    ```

The default is “0” (false).

**lost_password**

Specify whether to display a lost password link in the form. For example,

    ```
    [wp_login_form lost_password="0"]
    ```

The default is “1” (true).

**label_lost_password**

Your custom label for the lost password link. For example,

    ```
    [wp_login_form label_lost_password="Reset Password"]
    ```

The default is “Lost your password?”.

### How to Enable Google reCAPTCHA

WP Login Form supports Google reCAPTCHA v3 to protect your login form against spam
and other types of automated abuse. To enable this feature, go to “Settings > WP
Login Form” and configure these options.

 * Enable Google reCAPTCHA v3
 * Site Key

For detailed documentation please visit the [WordPress Login Form](https://noorsplugin.com/wordpress-login-form-plugin/)
plugin page

## 屏幕截图

[⌊WP Login Form Demo⌉⌊WP Login Form Demo⌉[

WP Login Form Demo

## 安装

 1. Go to the Add New plugins screen in your WordPress Dashboard
 2. Click the upload tab
 3. Browse for the plugin file (wp-login-form.zip) on your computer
 4. Click “Install Now” and then hit the activate button

## 常见问题

### Can I use this plugin to create a WordPress login form or Widget?

Yes.

### Can I embed the WordPress login form into a post/page?

Yes.

## 评价

![](https://secure.gravatar.com/avatar/a48e7152f277f558d2a4b2e5c125c9d9b1b8c3a8685e1517225c0cd6cef932f3?
s=60&d=retro&r=g)

### 󠀁[Buen plugin](https://wordpress.org/support/topic/pesima-eleccion/)󠁿

 [joelramirezleal](https://profiles.wordpress.org/joelramirezleal/) 2025 年 5 月
12 日

Básico y funcional

![](https://secure.gravatar.com/avatar/d15c240bea40646e2781d0e2fd3284c93a12ce1ab8a3a83d46da58cdb3fe5f17?
s=60&d=retro&r=g)

### 󠀁[Error Trapping](https://wordpress.org/support/topic/error-trapping-3/)󠁿

 [spchurch](https://profiles.wordpress.org/spchurch/) 2024 年 5 月 23 日

There is no error trapping if login fails, it defaults to the standard login screen
instead of looping back to retry. This seems to be an ongoing requests for a number
of years. Also there is a formatting error for lost password label and the logout
is text and not a button as per the login button. If these were fixed I would happily
give the plugin a 5 star.

![](https://secure.gravatar.com/avatar/f368443dee19183701fb4dde1fd56e046add1546aa911ce8e1be3c0c775aa757?
s=60&d=retro&r=g)

### 󠀁[Simplement WOW](https://wordpress.org/support/topic/simplement-wow/)󠁿

 [stefamoi](https://profiles.wordpress.org/stefamoi/) 2023 年 3 月 29 日

Facilite à utiliser et fonctionne très bien. 👍🏻

![](https://secure.gravatar.com/avatar/be252b70e01d577e41b2e004b959652a54e33cde56d230f33641d155dd7bbb8e?
s=60&d=retro&r=g)

### 󠀁[Poor user experience](https://wordpress.org/support/topic/poor-user-experience-5/)󠁿

 [lengyelzsombor](https://profiles.wordpress.org/lengyelzsombor/) 2023 年 3 月 12
日

The user experience is not so good

![](https://secure.gravatar.com/avatar/8589192798330ea73e9b44ebbb84f6cc658d74ca236e532bbd3da3b65b042cb8?
s=60&d=retro&r=g)

### 󠀁[Stable plugin](https://wordpress.org/support/topic/stable-plugin-7/)󠁿

 [crimsonblackbeard](https://profiles.wordpress.org/crimsonblackbeard/) 2021 年 
10 月 6 日

This plugin is rock solid, it just works out of the box without any requirements
of paying for a premium version (most others plugins require premium for having 
some extra features).

![](https://secure.gravatar.com/avatar/b54a9b81bbc7b5515e16d5d73f889853be2aa5776fce700593926ecf3d2b1f02?
s=60&d=retro&r=g)

### 󠀁[Does what it says on the tin](https://wordpress.org/support/topic/does-what-it-says-on-the-tin-415/)󠁿

 [jinwha](https://profiles.wordpress.org/jinwha/) 2020 年 3 月 13 日

Simple yet effective plugin 🙂

 [ 阅读所有13条评价 ](https://wordpress.org/support/plugin/wp-login-form/reviews/)

## 贡献者及开发者

「WP Login Form」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Noor Alam ](https://profiles.wordpress.org/naa986/)

「WP Login Form」插件已被翻译至 9 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/wp-login-form/contributors)
为本插件所做的贡献。

[帮助将「WP Login Form」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-login-form)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-login-form/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/wp-login-form/)，或通过[RSS](https://plugins.trac.wordpress.org/log/wp-login-form/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-login-form/)。

## 更新日志

#### 1.0.13

 * Added support for custom error add-on.

#### 1.0.12

 * Additional check for the settings link.

#### 1.0.11

 * Added a CSS class for the lost password link.

#### 1.0.10

 * Made some improvements in the settings area.

#### 1.0.9

 * Fixed an issue with reCAPTCHA script loading when not enabled.

#### 1.0.8

 * Added support for the force redirect option that can used to redirect all successful
   WordPress logins to a specific URL.

#### 1.0.7

 * Fixed an issue where the shortcode_tag filter was not returning any output for
   admin pages.

#### 1.0.6

 * Added support for Google reCAPTCHA v3.

#### 1.0.5

 * Added an option to customize the “Lost your password?” message.

#### 1.0.4

 * Made some security related improvements in the plugin

#### 1.0.3

 * Added an option to show/hide the “Lost your password?” link in the form.

#### 1.0.2

 * Added an option to the login form to reset a password

#### 1.0.1

 * First commit

## 额外信息

 *  版本 **1.0.13**
 *  最后更新：**2 周前**
 *  活跃安装数量 **7,000+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  语言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/wp-login-form/) 、 [Czech](https://cs.wordpress.org/plugins/wp-login-form/)、
   [Dutch](https://nl.wordpress.org/plugins/wp-login-form/) 、 [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/wp-login-form/)、
   [English (US)](https://wordpress.org/plugins/wp-login-form/) 、 [Spanish (Chile)](https://cl.wordpress.org/plugins/wp-login-form/)、
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/wp-login-form/) 、 [Spanish (Spain)](https://es.wordpress.org/plugins/wp-login-form/)、
   [Spanish (Venezuela)](https://ve.wordpress.org/plugins/wp-login-form/) 和 [Swedish](https://sv.wordpress.org/plugins/wp-login-form/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/wp-login-form)
 * 标签
 * [form](https://cn.wordpress.org/plugins/tags/form/)[login](https://cn.wordpress.org/plugins/tags/login/)
   [member](https://cn.wordpress.org/plugins/tags/member/)[membership](https://cn.wordpress.org/plugins/tags/membership/)
   [user](https://cn.wordpress.org/plugins/tags/user/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-login-form/advanced/)

## 评级

 4.6 星（最高 5 星）。

 *  [  10 条 5 星评价     ](https://wordpress.org/support/plugin/wp-login-form/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/wp-login-form/reviews/?filter=4)
 *  [  2 条 3 星评价     ](https://wordpress.org/support/plugin/wp-login-form/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wp-login-form/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/wp-login-form/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-login-form/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-login-form/reviews/)

## 贡献者

 *   [ Noor Alam ](https://profiles.wordpress.org/naa986/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/wp-login-form/)

## 捐助

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

 [ 捐助此插件 ](https://noorsplugin.com/wordpress-login-form-plugin/)