Login & Register Shortcodes
MovieEngine login register shortcode: Use [movie_engine_login] and [movie_engine_register] to add sign-in and sign-up forms to any page, giving visitors a clear way to join and access your streaming site. The Authentication system allows users to securely create accounts and log in to access protected content such as premium movies, watchlists, playlists, and subscriptions.
These shortcodes provide fully styled frontend forms for login and registration, eliminating the need to use the default WordPress login pages.
π¦ Available Shortcodes
| Shortcode | Description |
|---|---|
movie_engine_login | Displays user login form |
movie_engine_register | Displays user registration form |
π 1. Login Shortcode (movie_engine_login)
Displays a frontend login form for users.
π Basic Usage
[movie_engine_login]
π¦ Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
redirect | string | β | Redirect URL after successful login |
custom_class | string | β | Add custom CSS class |
βοΈ Features
- Secure login form
- Username / Email support
- Password field
- Remember me option
- Error handling (invalid login, wrong password)
- Redirect after login
- AJAX support (if enabled in theme/plugin)
π Behavior Notes
- Automatically detects if the user is already logged in
- If logged in β can redirect or show a message
- Works with:
- Membership system
- Pay-per-view
- User dashboard
πΉ Example
[movie_engine_login redirect="/dashboard"]
π 2. Register Shortcode (movie_engine_register)
Displays a frontend registration form for new users.
π Basic Usage
[movie_engine_register]
π¦ Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
redirect | string | β | Redirect URL after successful registration |
custom_class | string | β | Add custom CSS class |
βοΈ Features
- User registration form
- Username field
- Email field
- Password creation
- Password confirmation
- Validation (email exists, password match)
- Automatic login after registration (optional behavior)
- Redirect after signup
π Behavior Notes
- Prevents duplicate email registration
- Works with the WordPress user system
- Can integrate with:
- Referral system
- Membership plans
- Welcome notifications
πΉ Example
[movie_engine_register redirect="/dashboard"]
π Authentication Flow
User visits the login/register page
β
User logs in or creates an account
β
User redirected to dashboard or previous page
β
Access granted to protected content
π Access Integration
These shortcodes are required for:
- Membership system
- Pay-per-view access
- Watchlist & history
- Referral system
- User dashboard
π― Best Practice Setup
Create Pages
- Login Page β add:
[movie_engine_login]
- Register Page β add:
[movie_engine_register]
Navigation Integration
Use with:
[movie_engine_user_menu]π Automatically shows login/register for guests
π¨ Styling
- Fully styled by plugin
- Supports dark/light UI
- Customizable via:
custom_class- CSS overrides
β οΈ Important Notes
- Requires WordPress user registration to be enabled
- Ensure:
- Settings β General β βAnyone can registerβ is ON
- Email notifications depend on WordPress configuration
π Related Shortcodes
movie_engine_user_menuβ user menumovie_engine_dashboardβ user dashboardmovie_engine_watchlistβ saved content
π Use Cases
- OTT platform login system
- Membership websites
- Subscription-based access
- Content restriction systems
MovieEngine login register shortcode explained
The [movie_engine_login] shortcode displays a frontend login form with username or email support, a password field, a remember me option, error handling, and a redirect after login, while [movie_engine_register] displays a frontend registration form with username, email, password creation and confirmation, validation, optional automatic login after registration, and a redirect after signup. Both shortcodes accept redirect and custom_class parameters, so you can send users to a page such as /dashboard and add custom styling.
For a complete setup, create a login page with [movie_engine_login] and a register page with [movie_engine_register], then use [movie_engine_user_menu] in navigation so guests automatically see login and register options. Remember that WordPress user registration must be enabled, with Settings, General, Anyone can register set to ON, and that the forms work with membership, pay-per-view, watchlists, history, and user dashboards.
Frequently asked questions
What is the MovieEngine Login & Register Shortcodes page about?
This guide covers the MovieEngine Login & Register Shortcodes shortcode or group, with usage and parameters.
Where can I use this shortcode?
You can use it on pages, posts, widgets, or templates where shortcodes are supported.
Where do I start with MovieEngine shortcodes?
Start with Shortcodes Overview, then follow the linked shortcode guides in this section.
Related guides
Tip: for more MovieEngine guides, visit the MovieEngine website.
