跳到內容
  • 登入
  • 註冊
WordPress.org

Hong Kong 香港中文

  • 佈景主題
  • 外掛
  • News
  • Support
  • About
  • 重要通知
  • WordPress 常見問題
  • 團隊
  • 取得 WordPress
取得 WordPress

外掛

  • 我的收藏
  • Beta測試
  • 開發者
下載

WordPress Login Form

由naa986
  • 詳情
  • 評價
  • 安裝
  • 開發
支援

描述

WordPress Login Form 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.

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

WP Login Form Add-ons

  • Force Redirect

For detailed documentation please visit the WordPress Login Form plugin page

螢幕截圖

  • 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.

評價

Stable plugin

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).

Does what it says on the tin

jinwha 2020年3月13日
Simple yet effective plugin 🙂

Finally, a login form without bullsh*t

comigo 2020年2月4日
It produces a clean markup with classes but doesn't add any CSS, allowing you to style the form to your needs.

Great plugin

Sens4 2020年1月21日
Does exactly what it says

It will still redirect even the logins failed or empty fields

masie0119 2020年1月5日
I liked your plugin, but when I tested it and submit the login form with wrong password or empty fields, it will still submit and redirect to the specific page, but the URL will have this parameter above, ?login=failed#login I hope this can be fixed in soon. Thanks

Great Plugin

andih 2019年11月17日
It is a great plugin, easy to use with the shortcodes!
閱讀全部9個評價

貢獻者及開發者

“WordPress Login Form” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者
  • Noor Alam

WordPress Login Form 外掛目前已有 7 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 WordPress Login Form 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

修改日誌

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.10
  • 最後更新:3 個月之前
  • 運作中的安裝:9,000+
  • WordPress Version: 3.0 or higher
  • 已測試到版本:6.1.1
  • 語言:

    Chinese (Taiwan)、Czech、Dutch、Dutch (Belgium)、English (US)、Spanish (Colombia)、Spanish (Spain)、及 Spanish (Venezuela).

    翻譯成你的語言

  • 標籤:
    formloginmembermembershipuser
  • 進階顯示

評分

顯示全部
  • 5星 9
  • 4星 0
  • 3星 0
  • 2星 0
  • 1星 0
Log in to submit a review.

貢獻者

  • Noor Alam

支援

最近兩個月解決了的問題:

1個中的0個

檢視支援論壇

捐贈

想要支援這個外掛的發展嗎?

贊助這個外掛

  • 關於我們
  • 最新消息
  • 寄存
  • 贊助基金會
  • Swag
  • 線上說明
  • 開發者資源
  • 共同參與
  • Learn
  • 展示網站
  • 外掛
  • 佈景主題
  • 區塊版面配置
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • 隱私權
  • Public Code
WordPress.org
WordPress.org

Hong Kong 香港中文

  • 訪問我們的 Facebook 專頁
  • 訪問我們的 Twitter 帳戶
  • Visit our Instagram account
  • Visit our LinkedIn account
代碼就是詩歌。