Comblock Login
Secure frontend login/logout with user dashboards, session management, and role-based access control for WordPress sites.
Plugin info
Maintenance & Compatibility
Maintenance score
Actively maintained • Last updated 32 days ago
Is Comblock Login abandoned?
Likely maintained (last update 32 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
The Comblock Login plugin implements a complete and secure authentication system on the frontend for WordPress. Through dedicated shortcodes, you can easily insert login and logout forms, user information displays, and the option to log out of all active sessions on your site’s content. The login process is strictly managed: user-entered data is sanitized, security is ensured through nonce verification to prevent CSRF attacks, and authentication is performed using native WordPress functions, with support for secure session storage and cookie management.
Logout not only allows you to securely end the current session, but also offers the advanced global logout feature, which ends all active user sessions on all devices, increasing security in case of compromise or accidental sharing of credentials. Custom dashboards, based on dedicated post types, are protected by access controls that limit visibility to authorized users only, redirecting other users to configured login pages, with failed attempts logged to improve security monitoring.
Features
- Registration of the shortcode for the login form, logout button, logout button for all devices, and display of logged-in users.
- Secure login management with nonce verification and input sanitization.
- Custom redirects to the dashboard after login and to the login page after logout.
- Creation of multiple dashboards by configuring which user roles can access them.
- Logout functionality from all devices simultaneously.
- Logging of errors related to access and permissions.
Usage
-
Use the shortcode
[comblock_login]to display the login form. You can insert this shortcode into any page or post.
Simple example (only required attribute):
[comblock_login dashboard-post-id="8"]
Complete example (with all optional attributes):
[comblock_login id="subscriber-login" class="subscriber-form-login" dashboard-post-id="8" privacy-page-id="2"]
Where:dashboard-post-idis mandatory and represents the ID of a Dashboard post type created in the back office.id,class, andprivacy-page-idare optional, whereprivacy-page-idrefers to the privacy policy page ID.
-
Use the shortcode
[comblock_logout]only within thedashboardpost type to display the logout link.
Simple example (without optional attributes):
[comblock_logout]
Complete example (with optional attributes):
[comblock_logout id="logout-link" class="btn-logout"] -
Use the shortcode
[comblock_disconnection]within thedashboardpost type to display the disconnection link.
Simple example:
[comblock_disconnection]
Complete example:
[comblock_disconnection id="disconn-link" class="btn-disconnect"] -
Use the shortcode
[comblock_user_info]within thedashboardpost type to display user information.
Simple example (only required attribute):
[comblock_user_info fields="display_name,user_email"]
Complete example (with title and all attributes):
[comblock_user_info title="my-section-title" fields="display_name,user_email"]
Thefieldsattribute contains user meta fields separated by commas. Note that some meta fields cannot be used for security or privacy reasons.To address this, the plugin provides two filters hooks:
comblock_login_user_ban_fieldsallows you to add meta fields that you shouldn’t use.comblock_login_user_info_allowed_fieldspermits extending the list of meta fields that are allowed for searching and displaying user metadata.
These hooks enable developers to customize which user data can be displayed via the shortcode while maintaining control over security and privacy.
Security
The plugin implements the following security mechanisms:
- Nonce verification for all critical login and logout actions to protect against CSRF.
- Sanitization of input from login forms to prevent injection.
- Authentication via WordPress’ secure
wp_signon()function. - Strict session cookie management with SSL support.
- Granular control of access permissions based on user roles defined for each dashboard.
- Complete destruction of user sessions upon logout from all devices.
Installation
- Upload the plugin folder to the
/wp-content/plugins/directory. - Activate the plugin via the ‘Plugins’ menu in WordPress.
- Configure the dashboards, the user roles that can access them, and the login page to which users will be redirected.
- Insert the shortcodes into pages or posts to display the login, logout, etc. forms.
Frequently Asked Questions
Review feed
Changelog
1.0.0
- Initial version with login, logout, multiple dashboards, and integrated security management.


