Krevil User Registration & Login
·
A lightweight, developer-friendly plugin to create a dynamic registration form (with custom fields) and optional auto‑login—via a simple shortcode.
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
- Select:
