[WordPress] 外掛分享: WP Login Form

WordPress 外掛 WP Login Form 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「WP Login Form」是 2017-08-10 上架。
  • 目前有 8000 個安裝啟用數。
  • 上一次更新是 2025-04-17,距離現在已有 17 天。
  • 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
  • 有 12 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

naa986 |

外掛標籤

form | user | login | member | membership |

內容簡介

WordPress 登入表單:能幫您在 WordPress 網站的前端建立一個簡單的登入表單,您可以使用短碼將其加入文章、頁面或側邊列等位置。

如何為 WordPress 建立自訂的登入頁面?

若您希望透過預設選項建立登入表單或自訂登入頁面,您只需要使用以下短碼:

[wp_login_form]

然而,您也能透過傳遞其他參數來自訂短碼。

redirect

使用絕對 URL,以便成功登入後導向使用者進入其他頁面。例如:

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

預設將導向表單提交頁面。

form_id

自訂登入表單的 ID。例如:

[wp_login_form form_id="myloginform"]

預設 ID 為 “loginform”。

label_username

自訂使用者名稱/電子郵件欄位的標籤。例如:

[wp_login_form label_username="Login ID or Email"]

預設為 “Username or Email Address”。

label_password

自訂密碼欄位的標籤。例如:

[wp_login_form label_password="Login Password"]

預設為 “Password”。

label_remember

自訂「記住我」欄位的標籤。例如:

[wp_login_form label_remember="Remember"]

預設為 “Remember Me”。

label_log_in

自訂表單提交按鈕的標籤。例如:

[wp_login_form label_log_in="Submit"]

預設為 “Log In”。

id_username

自訂使用者名稱欄位的 ID。例如:

[wp_login_form id_username="wp_user_login"]

預設 ID 為 “user_login”。

id_password

自訂密碼欄位的 ID。例如:

[wp_login_form id_password="wp_user_pass"]

預設 ID 為 “user_pass”。

id_remember

自訂「記住我」欄位的 ID。例如:

[wp_login_form id_remember="login_rememberme"]

預設 ID 為 “rememberme”。

id_submit

自訂表單提交按鈕的 ID。例如:

[wp_login_form id_submit="login_form_submit"]

預設 ID 為 “wp-submit”。

remember

是否於 WordPress 登入表單中顯示「記住我」勾選框。例如:

[wp_login_form remember="0"]

預設為 “1”(是)。

value_username

自訂使用者名稱輸入欄位中的暫存區。例如:

[wp_login_form value_username="Your Username"]

預設為 NULL。

value_remember

指定是否預設勾選「記住我」欄位。例如:

[wp_login_form value_remember="1"]

預設為 “0”(否)。

lost_password

是否於表單中顯示「忘記密碼」連結。例如:

[wp_login_form lost_password="0"]

原文外掛簡介

WP 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.
WP Login Form Add-ons

Force Redirect
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 plugin page

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Login Form」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.5 |

延伸相關外掛(你可能也想知道)

  • WPS Hide Login 》中文, WPS Hide Login 是一個非常輕量的外掛,讓您輕鬆且安全地更改登入表單頁面的網址。它不會真正地重命名或更改核心檔案,也不會添加重寫規則。它只是攔截...。
  • Security Optimizer – The All-In-One Protection Plugin 》透過精心挑選且易於配置的功能,SiteGround Security 外掛提供了您所需的一切來保護您的網站並預防多種威脅,例如暴力破解攻擊、登錄錯誤、資料外洩等等。, ...。
  • Loginizer 》Loginizer 是一個 WordPress 外掛,可幫助您對抗暴力攻擊,當 IP 地址達到最大重試次數時,該外掛會阻止其登錄。您可以使用 Loginizer 將 IP 地址列入黑名單...。
  • Limit Login Attempts 》此外掛可限制正常登入及使用驗證 cookies 登入的次數。, WordPress 預設允許使用者無限次數嘗試登入,無論是透過登入頁面或是傳送特殊 cookies 皆可。這讓密...。
  • LoginPress | wp-login Custom Login Page Customizer 》LoginPress 外掛提供了很多自訂欄位,可以更改 WordPress 登入頁面的版面配置。您可以完全修改登入頁面的外觀和感覺,即使是登入錯誤訊息、忘記密碼錯誤訊息...。
  • WP Ghost (Hide My WP Ghost) – Security & Firewall 》Hide My WP Ghost 是一個 WordPress 安全外掛,透過強大且易於使用的功能,提供最佳的安全解決方案。它可以在不改變任何目錄或檔案的情況下,將網站的安全性...。
  • WPS Limit Login 》繁體中文, 限制通過登錄頁面和使用權限Cookie可能的登錄嘗試次數。, WordPress 默認情況下允許通過登錄頁面或發送特殊 Cookie 的方式進行無限制的登錄嘗試。...。
  • Login Lockdown & Protection 》Login LockDown 記錄每次失敗的登入嘗試的 IP 位址和時間戳記。如果在短時間內來自相同 IP 範圍的嘗試次數超過一定數量,那麼該 IP 位址的所有登入請求都會被...。
  • Custom Login Page Customizer 》Custom Login Page Customizer 外掛可讓您輕鬆地從 WordPress Customizer 自訂您的登入頁面!在儲存之前,您可以預覽自訂的登入頁面變更!太棒了,對吧?, , ...。
  • All In One Login — WordPress Login Security Plugin to Protect and Customize WP Admin 》Change wp-admin login 是一個輕量級的外掛程式,可讓您輕鬆且安全地更改 wp-admin,讓它變成您想要的東西。它不會重新命名或更改核心檔案,只是攔截頁面請求...。
  • WP fail2ban – Advanced Security 》Fail2ban是您可以實施來保護 WordPress 網站的最簡單和最有效的安全措施之一。, WP fail2ban 提供 WordPress 與 fail2ban 之間的連接:, Oct 17 20:59:54 foo...。
  • Theme My Login 》曾經希望您的 WordPress 登入頁面與網站的其餘部分相匹配嗎?現在您的願望成真了!「Theme My Login」讓您可以繞過預設的 WordPress 標誌登入頁面,該頁面與...。
  • Login No Captcha reCAPTCHA 》此外掛新增了 Google 無人類驗證功能的勾選框,可應用於您的 WordPress 和 Woocommerce 登錄、忘記密碼及使用者註冊頁面,讓人類使用者輕鬆透過勾選框登入,...。
  • WP-Members Membership Plugin 》8211; allows you to restrict file downloads to registered users only, with customizable download links., MailChimp Integration – integrates W...。
  • WP Hide & Security Enhancer 》WP-Hide 推出了最簡單的方法,完全隱藏 WordPress 核心文件、登錄頁面、佈景主題和外掛程式的路徑,使其不會顯示在前端,這是 Site Security 的一個巨大改進...。

文章
Filter
Apply Filters
Mastodon