Elementor Auth Form
Технічне завдання: WordPress плагін авторизації та реєстрації для Elementor
by Yevhen Trychynets · github.com/byjekaco/elementor-auth-form
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/byjekaco/elementor-auth-form/archive/refs/heads/main.zipLogin and registration widget for Elementor. Submits with AJAX.
Requirements
WordPress 6.0+, PHP 8.1+, Elementor.
Install
- Put the elementor-auth-form folder in wp-content/plugins/.
- Activate Elementor, then activate this plugin.
Or upload the zip via Plugins, Add New, Upload Plugin.
Use
Edit a page in Elementor, open category Elementor Auth Form, drag the widget.
Form type: Login, Registration, or both with tabs. Optional redirect after success. Labels and messages are editable in Content.
New users get the Subscriber role and are signed in. Login works with username or email.
Structure
- plugin.php — entry point
- includes/class-core.php — Elementor check, hooks
- classes/ — assets and registration validator
- ajax/ — login (wp_signon) and register (wp_create_user)
- widgets/ — Elementor widget
- assets/ — css and js
- languages/ — .pot
Security
Nonce, sanitize_text_field / sanitize_email / sanitizeuser, esc* on output, wp_validate_redirect.
Optional Google reCAPTCHA v2: turn it on in the widget and paste the site key and secret key from https://www.google.com/recaptcha/admin
Translations
Text domain elementor-auth-form. Template: languages/elementor-auth-form.pot.