Description
Ace Login Block allows you to replace the default WordPress login page with a custom page of your choosing, all designed and managed within the block editor. This lets you create a branded login experience for your users while leveraging the flexibility and ease of Gutenberg.
Features include:
- Replace the default WordPress login page with a custom block-based design.
- Full integration with the block editor, giving you complete control over the login page layout.
- Allow the default WordPress login functionality for POST requests to ensure smooth login submissions.
- Customize redirects and add additional fields or branding elements to the login page.
- Prevent further execution of the default
wp-login.php
after your custom login template loads.
Ace Login Block provides a seamless way to craft unique, branded login experiences while ensuring compatibility with WordPress’s login handling.
Source
The source code for this plugin, including unminified JavaScript and CSS, is available on GitHub:
GitHub Repository
License
This plugin is licensed under the GPLv2 (or later) as it is required to follow WordPress.org repository rules.
Blocks
This plugin provides 3 blocks.
- Acemedia Username Block
- Acemedia Password Block
- Acemedia Remember Me Block
Installation
This section describes how to install the plugin and get it working.
- Upload the plugin files to the
/wp-content/plugins/ace-login-block
directory, or install the plugin through the WordPress plugin screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Navigate to the «Ace Login Block» settings and select the page to use for your custom login page.
FAQ
-
How do I customize my login page?
-
Once the plugin is activated, go to the «Ace Login Block» settings in your WordPress dashboard and select the page you want to use as your custom login page. You can then use the block editor to design the page.
-
Will WordPress still handle logins?
-
Yes, WordPress will continue to handle all login submissions via POST requests, ensuring that authentication continues to work normally. Ace Login Block simply replaces the display of the login page with your custom page design for GET requests.
-
Can I add custom fields to my login page?
-
Yes, you can add custom blocks, text, images, or any other elements within the block editor to fully customize the layout of your login page.
-
What happens if I disable the plugin?
-
If you disable Ace Login Block, WordPress will revert to the default
wp-login.php
page for login access.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Ace Login Block” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Ace Login Block” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.426.0
Release Date: 2024-12-05
* Fixed the selector for the form submission button.
0.425.0
Release Date: 2024-11-11
* Allows users to be redirected based on role-specific settings, even if no custom login page is set.
0.424.0
Release Date: 2024-11-11
* Ensures login block functionality is only active when a custom login page override is set.
* Prevents interference with the default WordPress login process when no override page is configured.
0.423
Release Date: 2024-10-12
* New Feature: Implemented dynamic login redirects based on user roles, allowing specific redirect URLs for each role within the settings.
* Enhancement: Updated ace-login-block.php to handle dynamic redirects, ensuring users are sent to the appropriate page after logging in based on their role.
* Enhancement: Modified package-lock.json and package.json to include new dependencies required for the updated functionality.
* Enhancement: Enhanced src/block.json to support role-based page listings, making it easier to manage page options for each role.
* Enhancement: Updated src/login-block.js to dynamically list available pages per role, improving the settings interface for selecting redirect URLs.
* Important Note: Ensure that roles are properly configured in the WordPress admin to utilize the dynamic redirect feature effectively.
0.422
Release Date: 2024-10-12
* New Feature: Introduced a custom login block structure to fully control the layout of the form using native block interactions.
* New Feature: Added new blocks for the username and password input fields.
* Enhancement: Dynamic form action URL is now set using localized data from PHP.
* Enhancement: Added nonce handling to the login form for improved security.
* Enhancement: Improved reliability of redirect handling after login.
* Bug Fix: Resolved an issue with form submission not being detected as a POST request.
* Bug Fix: Fixed redirection issues caused by interception from the custom page template.
* Bug Fix: Improved logout handling to ensure users are correctly redirected after logging out.
* Important Note: Ensure the logout link includes the correct action=logout parameter and nonce.
0.421
Release Date: 2024-10-11
* Bug Fix: Resolved issues with form redirection that affected login functionality in v0.420.
* Enhancement: Added a new option to allow users to show the «Show Password» toggle in the login block.
0.420
Release Date: 2024-10-11 (Pre-Release)
* Initial Release: First release of the Ace Login Block plugin.
* Key Features:
– Custom Login Page: Replace the default wp-login.php form with a page created in the block editor.
– Post Request Handling: Securely handles login form submissions.
– Seamless Template Loading: Automatically loads the selected custom page template.
– Block Editor Integration: Customize your login page using blocks.
– Debugging: Debug messages included to assist with development.
* Important Note: Known issues with form redirection in this version, recommended to use v0.421 for better performance.