Developed with ❤️ in Iran. 🇮🇷
JAY Login & Register is not just a login plugin; it is a
complete authentication and access control ecosystem for WordPress.
While it creates a seamless
Mobile OTP (One-Time Password) login and registration flow compatible with Digits, its true power lies in its
Advanced Content Restriction capabilities. Whether you are selling courses, running a membership site, or simply want to grow your user base, JAY allows you to lock specific parts of your content and unlock them effortlessly via an inline AJAX form or smart redirects.
Why JAY Login & Register?
- Beyond Basic Login: Don't just verify users; engage them. Lock exclusive content inside your blog posts and reveal it instantly after a quick SMS/Email verification.
- Editor Friendly: Now featuring a native Gutenberg Container Block and smart Classic Editor buttons for protecting content without coding.
- Maximum Compatibility: Works perfectly with Gravity Forms, Elementor, and WooCommerce, ensuring scripts load correctly even after AJAX login.
🌟 NEW: Advanced User Panel & Profile Builder
Transform how users interact with their profiles. We have added a powerful
Drag & Drop Form Builder for the user panel:
*
Custom Fields: Create unlimited fields (Text, Select, Radio, Checkbox, Date).
*
Smart Conditional Logic (The Killer Feature):
*
Server-Side Logic: Show/Hide fields based on existing User Meta keys (e.g., show "Vendor Settings" only if the user has the 'is_vendor' meta).
*
Client-Side Logic: Show/Hide fields instantly based on other fields' values (e.g., show "Military Service Status" only if "Gender" is "Male").
* Supports complex
AND/OR logic groups.
*
Native Avatar Upload: Users can upload profile pictures directly to the WordPress Media Library (compatible with standard WordPress functions like
get_avatar).
*
Jalali Date Picker: Full support for Persian dates in profile fields.
*
Secure Validation: All conditional logic is re-validated on the server to prevent tampering via Inspect Element.
Key Features
- Protect Specific Content Sections (Shortcode): Use the
[jay_content_lock] shortcode to restrict access to portions of your content within posts and pages, independent of the full-page meta box settings. Choose between two modes:
- Redirect Mode: Shows a blurred preview and prompts non-logged-in users to log in by redirecting them to the main login page. After successful login, they are returned to the original page, and the specific locked section can be highlighted.
- Inline Mode: Displays a compact login/registration form directly within the content area where the shortcode is placed. This allows users to authenticate seamlessly without navigating away from the current page, unlocking the content immediately upon success.
- Enhanced Editor Experience (New):
- Gutenberg Container Block: A dedicated "Content Lock" block that allows you to drag and drop other blocks (images, forms, text) inside it effortlessly.
- Smart Classic Editor: Simply click on any existing shortcode to edit its settings instantly. No need to select the text manually.
- Advanced Compatibility: Solves loading issues with complex plugins like Gravity Forms or Elementor inside locked content by using smart page reloading.
Advanced User Data Collection (New)
- Custom Fields Builder: Easily add unlimited custom fields to your registration form directly from the settings. Supports:
- Text Inputs
- Dropdown Selects
- Radio Buttons
- Checkboxes
- Custom Username Support: Allow users to choose a unique "Username" during registration with live AJAX availability checking.
- Smart Login: Users can now log in using their Mobile Number, Email, or Username seamlessly.
Core Login & Registration Features
- Smart Login & Registration: Automatically detects if a user's mobile number is new (directing to registration) or existing (directing to login).
- Digits Plugin Compatibility: Seamlessly recognizes and logs in users previously registered with the Digits plugin.
- Optional Identity Verification: Enable or disable the requirement for users to provide a National ID or Passport number during registration, with built-in duplicate ID prevention. The system intelligently asks for this information only once.
- Password & Phone Management: Logged-in users can easily change their registered mobile number or update their password through a dedicated shortcode.
- Profile Details: Option to enable "First Name" and "Last Name" fields in the final registration step to collect user details.
Advanced Security & Anti-Fraud
- Multiple CAPTCHA Options: Choose from four levels of protection to prevent bot attacks:
- Disabled: No CAPTCHA.
- Simple Math CAPTCHA: A basic math question (addition, subtraction, multiplication, division).
- Invisible Honeypot: An invisible security trap for bots that doesn't interrupt the user experience.
- Google reCAPTCHA v3 (Recommended): The most secure, invisible option to intelligently identify bots without user friction.
Social & Gateway Support
- Google Social Login: Enable one-click login and registration using Google accounts. This provides a fast, secure, and password-free authentication method, automatically creating an account for new users or logging in existing ones based on their email.
- Bale OTP (Safir API): A cost-effective alternative to SMS. Users who have the Bale messenger app can choose to receive their verification code directly in the app.
- Eitaa Social Login: Seamless and automatic login/registration for users coming from Eitaa Mini Apps. Provides a frictionless experience with secure authentication using the official Eitaa SDK.
- Multi-Gateway SMS Support: Natively integrates with popular Iranian SMS providers:
- iPPanel (and providers like FarazSMS, ModirPayamak, Taban SMS)
- Kavenegar
- SMS.ir
- melipayamak
-
Voice OTP Support: In addition to SMS, deliver verification codes via automated voice calls using the Kavenegar gateway.
Advanced Email & SMTP Features
-
Email OTP for Login & Registration: Allow users to register and log in securely using a one-time password sent to their email. The registration flow now requires email verification before password creation for enhanced security.
- Built-in SMTP Mailer: Configure the plugin to send emails directly via SMTP for maximum reliability and deliverability, bypassing the default WordPress mail function.
- Customizable Email Templates: Full control over the subject and body of the OTP email using a rich text editor and helpful shortcodes.
- Test Email Functionality: Easily send a test email from the settings panel to verify that your SMTP configuration is working correctly.
Advanced Brute-Force Protection:
- Protect against OTP and CAPTCHA guessing attacks with configurable settings for:
- Maximum failed attempts.
- Lockout duration (in minutes).
- Blocking method (by phone number, IP address, or both).
- Hide wp-login.php: Secure your site by completely hiding the default WordPress login page and redirecting all access to your custom login page.
- Secure by Design: Built with WordPress security standards in mind, utilizing nonces in all AJAX communications and proper data sanitization.
- Configurable OTP Settings: Customize the length of the OTP code and its validity period (in minutes), complete with a resend timer on the form.
Powerful Admin & User Management
- Admin Area Access Control: Restrict access to the WordPress dashboard (/wp-admin) based on specific user roles.
- User Switching: For administrators and support staff, easily switch to any user's account to view the site from their perspective without needing their password.
- Customizable User Columns: Take full control of the "Users" table in the admin area:
- Adds sortable "Mobile Number" and "Jalali Registration Date" columns.
- Allows hiding of default WordPress columns.
- Allows creating new custom columns based on any user meta key.
Seamless User Experience (UX)
- Smart Redirects: Automatically redirects users back to the page they were trying to access before logging in, creating a seamless and uninterrupted browsing experience.
- Modern & Customizable Form: A beautifully designed, modern form with an optional logo that can be uploaded from the settings panel.
- Custom Landing Page: Set a specific default page to redirect users to after they log in or register.
- Custom Logout URL: Create a user-friendly logout link (e.g., yoursite.com/logout).
-
Logged-in Welcome: Users who are already logged in see a welcoming message with a countdown and an automatic redirect to their dashboard, instead of the login form.
Powerful Content & Access Control
-
Content Protection Meta Box: A powerful meta box on the post/page editor allows you to restrict access to content based on:
- Whether the user is logged in.
- Specific user roles.
- Whether the user has a specific meta key in their profile.