> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Displaying online users on a WordPress Site

> Install WP Online Users Stats to display user status on your WordPress site. Guide for setup and configuration for admins and users.

[WordPress](https://hosting.com/hosting/platforms/wordpress-hosting) allows you to view the user on your WordPress site with the **Users** option on the left sidebar. However, the list does not display if users are online, offline, and away from the website. This article shows you how to install and configure the WP Online Users Stats plugin to view user status and their details from the WordPress Dashboard, or list them on a page or a post. This information is helpful for administrators who want to monitor or interact with their users.

## 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

* Email

* Registration date

* Status

The status information is indicated in three colors to show available, offline, and away status.

## Installing the WP Online Users Stats plugin

To install the **WP Online Users Stats** plugin, follow these steps:

1. Log in to your WordPress site with an administrator account.

2. On the **Dashboard** in the left sidebar, click **Plugins**, and then click **Add New**:\
   ![Add new plugin](https://static.hosting.com/kb/kb-wp-userstats-plugin-1.png)

3. Search for the **WP Online Users Stats** plugin, and a list of available plugins appears.

4. **Install** and **Activate** the WP Online Users Stats plugin:\
   ![WP Online Users Stats](https://static.hosting.com/kb/kb-wp-userstats-plugin-2.png)

5. After you activate the plugin,  you see the **Online Users** option on the left sidebar under **Settings**: ![Online users on sidebar](https://static.hosting.com/kb/kb-wp-userstats-plugin-4.png)

6. Click **Users Online**, and it displays the list of users connected to your WordPress site along with their email, date of registration, and status:\
   ![List of users](https://static.hosting.com/kb/kb-wp-userstats-plugin-5.png)

## How to display user details and status on a post

To view user details and status for a post, follow these steps:

1. In the left sidebar, click **Users Online**.

2. Copy the shortcode **\[wp\_online\_user]** from the top of the page:\
   ![Copy shortcode](https://static.hosting.com/kb/kb-wp-userstats-plugin-6.png)

3. Create a new post and paste the shortcode:\
   ![Create a post with shortcode](https://static.hosting.com/kb/kb-wp-userstats-plugin-7.png)

4. Click **Preview** or **Publish** the page. The page displays the username email, registration date, and status in a tabular format as below:\
   ![Preview or Publish users online page](https://static.hosting.com/kb/kb-wp-userstats-plugin-8.png)

## More information

For more information about the WP Online User Stats plugin please visit: [https://oci.wordpress.org/plugins/wp-online-users-stats/](https://oci.wordpress.org/plugins/wp-online-users-stats/)

## Related articles

* [Enabling automatic updates for WordPress plugins](/docs/enabling-automatic-updates-for-wordpress-plugins)
