
內容簡介
總結:Simple User Registration & Login 是一個 WordPress 外掛,讓您可以從自訂欄位表格建立靈活的註冊表單,然後使用捷徑在任何地方呈現。它支持文本、文本區域、下拉菜單、勾選框、單選框、數字、日期、電子郵件、網址、電話,以及上傳檔案等類型,還支援基本驗證、必填標誌和用戶元數據存儲。
1. 請問 Simple User Registration & Login 外掛最大的特色是什麼?
- 答:使用 [krevil_register] 的捷徑形式來建立註冊表單,並支援多種自訂欄位設定。
2. 如何管理自訂欄位?
- 答:在 wp-admin 中管理自訂欄位,包括類型、必填、選項、驗證等。
3. 當使用者註冊成功後,他們的值會被存儲在哪裡?
- 答:在使用者元數據上存儲他們的值。
4. Simple User Registration & Login 提供了哪些安全功能?
- 答:提供 Nonces 和能力檢查以強化安全性。
5. 如何配置自訂欄位?
- 答:在 Settings » Simple user registration and login 中進行自訂欄位的配置。
6. 如何使用下拉菜單、單選框和勾選框的選項?
- 答:使用特定格式,像是 Select: value1 : Label One | value2 : Label Two。
外掛標籤
開發者團隊
② 後台搜尋「Krevil User Registration & Login」→ 直接安裝(推薦)
原文外掛簡介
Simple User Registration & Login lets you build a flexible registration form from a table of custom fields and render it anywhere using a shortcode. It supports text, textarea, select, checkboxes, radio, number, date, email, URL, tel, and file upload types—plus basic validation, required flags, and user‑meta storage.
Highlights
– Shortcode‑based form: [krevil_register]
– Custom fields managed in wp‑admin (type, required, options, validation)
– Stores values in user meta on successful registration
– Optional auto‑login after registration
– Admin email notification and user “pending approval” email
– Translatable strings (krevil-user-registration-login text domain)
– Nonces and capability checks for security
– Clean, extensible code structure
Features
Dynamic fields: Configure label, slug, type, validation, required.
Multiple input types: text, email, url, tel, number, date, textarea, select, checkboxes, radio, file.
Validation: email/url/number/date/tel patterns; required checkbox groups enforced client‑side.
Email templates: Admin/user messages customizable from the settings.
Auto‑login: Toggle in settings.
Redirect after registration: Optional URL from settings.
Security: Nonces, sanitization, capability checks.
Usage
Place [krevil_register] in a page or post.
Configure custom fields in Settings » Simple user registration and login.
For select/radio/checkboxes options, use:
Select: value1 : Label One | value2 : Label Two
Checkboxes/Radio: Label One | Label Two | Label Three
