
User Listing Page With Session Button
Manage active sessions directly from admin dashboard or through frontend shortcodes. It improves account security by allowing session control per device.
Display user sessions in a modern card-based layout on any page using the simple shortcode: [emsm_session_list].
This will show the list of active sessions for the currently logged-in user only.
This is intended to help users control their own account security.
Customize the frontend session display using the following attributes within the [emsm_session_list] shortcode:
fontawesome_enable
Enables or disables FontAwesome icons.
Accepted values: true or any other value (treated as false)
Default: true
fontawesome_version
Specifies the major version of FontAwesome to load.
Accepted values: Version string (e.g. 6.5.1)
Default: 7.0.0
fontawesome_cdn
Provides the full URL to a custom FontAwesome CSS file.
This overrides the default FontAwesome source used by the plugin.
Accepted values: Valid URL
Default: Plugin’s local asset path
limit
Defines the maximum number of session cards to display on the frontend.
Accepted values: Positive integer (e.g. 5, 20)
Default: 10
Important Note: If you provide fontawesome_cdn, also set fontawesome_version for proper loading.
Usage Example:
[emsm_session_list limit="5"]
Developers can override the plugin’s frontend templates by placing custom template files in the active theme.
This allows for complete customization of the session list display without modifying the plugin’s core files.
In your active theme’s root directory, create a new folder called:
extendmate-session-manager
Copy the template files you wish to customize from the plugin’s directory:
wp-content/plugins/extendmate-session-manager/inc/template/frontend/
to your theme’s new directory:
wp-content/themes/your-theme/extendmate-session-manager/
Edit the copied template files in your theme directory. The plugin will automatically use these custom templates instead of the default ones.
Template overrides are disabled by default. To enable this feature, use the following filter:
add_filter( 'emsm_enable_template_overrides', '__return_true' );
[emsm_session_list] to any page where you want to display session information.For detailed technical information on action and filter hooks for developers, please see the complete Hooks Reference.