What is the WP Online Users Stats plugin?
WP Online Users Stats is a free plugin in WordPress that shows the user status and details to the site administrator instantly without a page refresh. This plugin also allows you to display the user information on a blog post with a simple shortcode. You can view the following information with this plugin on a WordPress site:- Name
- Registration date
- Status
Installing the WP Online Users Stats plugin
To install the WP Online Users Stats plugin, follow these steps:- Log in to your WordPress site with an administrator account.
-
On the Dashboard in the left sidebar, click Plugins, and then click Add New:
- Search for the WP Online Users Stats plugin, and a list of available plugins appears.
-
Install and Activate the WP Online Users Stats plugin:
-
After you activate the plugin, you see the Online Users option on the left sidebar under Settings:
-
Click Users Online, and it displays the list of users connected to your WordPress site along with their email, date of registration, and status:
How to display user details and status on a post
To view user details and status for a post, follow these steps:- In the left sidebar, click Users Online.
-
Copy the shortcode [wp_online_user] from the top of the page:
-
Create a new post and paste the shortcode:
-
Click Preview or Publish the page. The page displays the username email, registration date, and status in a tabular format as below: