🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
WP-UserOnline icon
aktiv gepflegt Getestet mit WP 7.1 #1 in online

WP-UserOnline

Enable you to display how many users are online on your WordPress site with detailed statistics.

Aktive Installationen10K+10K + Stufe
Downloads · 30d2.2K▼ -5.3% vs prev. 30d
Wertung4.6/538 reviews
Gesundheits-Score88/100Ausgezeichnet
Downloads aller Zeiten990.6KSince Jan 2006
Unterstützung gelöst1 / 1100% in den letzten 2 Monaten
erfordertWP 6.8PHP 8.2+
Downloads · 7d490▼ -5.2% week over week
Unser Urteil

Sichere Auswahl

Yes — WP-UserOnline is a safe, well-maintained plugin to use in 2026. It runs on 10K+ sites, is rated 4.6/5 and was last updated 3 months ago, and scores 88/100 on our health check.

  • Bewährt im Maßstab auf 10k + aktiven Standorten
  • Von Benutzern geliebt — 4,6/5 aus 38 Bewertungen
  • Getestet mit dem neuesten WordPress (7.1)
  • Benötigt PHP 8.2 oder neuer

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

7601.5K2.3KSep 2Oct 16Nov 30
Gestern77
Täglicher Durchschnitt (1 Jahr)95
Spitzentag3,043Sep 2, 2026
Letzte 12 Monate34.5K

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where WP-UserOnline stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
online #85 7,854 Best online plugins →
useronline #1 6 Best useronline plugins →
usersonline #1 1 Best usersonline plugins →
widget >100 10,000 Best widget plugins →
wp-useronline #1 6 Best wp-useronline plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 4.046.0%
  • 2.8834.1%
  • 2.8711.1%
  • 3.06.7%
  • Andere2.2%

Bewertungsaufschlüsselung

★★★★★★★★★★ 4.6 from 38 reviews

  • 5★76.3%
  • 4★15.8%
  • 3★2.6%
  • 2★0.00%
  • 1★5.3%

About WP-UserOnline

From the official readme · v4.0.2

Beschreibung

WP-UserOnline shows how many people are on your site right now, and where they are. Members are named, guests and search bots are counted, and the whole thing refreshes itself in the background without a page reload.

Merkmale

  • A counter, a “who is browsing this page” line and a “who is browsing the site” line, each usable on its own.
  • A full users online page, listing every visitor with the page they are on, where they came from and when they arrived.
  • A sidebar widget offering any of those five combinations.
  • Every string is a template you can edit, so the wording is yours rather than the plugin’s.
  • Around three hundred search bots recognised by user agent, and a filter for adding your own.
  • One admin screen with three tabs — who is online now, the settings, the templates — plus a line in the Dashboard’s At a Glance panel.
  • A section on the WP-Stats page when that plugin is installed.

Donations

I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.

Verwendung

The simplest way is the widget. Go to WP-Admin -> Appearance -> Widgets, add the UserOnline widget to a sidebar, and pick which of the five statistics types it should show.

A classic theme can call the template tags directly instead, anywhere in sidebar.php, header.php or a template part:

<?php if ( function_exists( 'users_online' ) ) : ?>
    <p>Users online: <span id="useronline-count"><?php users_online(); ?></span></p>
<?php endif; ?>

The element ids matter: useronline-count, useronline-browsing-site, useronline-browsing-page and useronline-details are what the refresh script looks for. A figure printed outside one of them is correct when the page loads and then stays where it is.

To give visitors a page of their own listing everyone online, create a page and put the shortcode in it:

[page_useronline]

Everything the plugin has is at WP-Admin -> WP-UserOnline, on three tabs: Users Online for who is here right now, Settings, and Templates for the wording of everything the plugin prints.

Showing Users Online In A Block

One block is available in the editor, under Widgets:

  • Users Online — everyone on the site right now, grouped into members, guests and bots, with the page each of them is reading and the most-ever-online record underneath. The same listing [page_useronline] produces.

It renders on the server, so the preview in the editor is the real listing rather than an approximation, and the page updates itself while a visitor is reading it exactly as the shortcode’s does. Only one goes in a post: the listing carries its own useronline-details element and the refresh script finds it by that name.

Rendering it records nobody. Previewing the block in the editor does not add you to the figures you are previewing, however many times the preview refreshes — visitors are recorded when a page is loaded, not when the listing is drawn.

The shortcode still works and is not going anywhere. [page_useronline] behaves exactly as it always has, and a page already containing it needs no change. The block calls the same code the shortcode calls, so the two render identically — use whichever suits the page.

WP-CLI

wp useronline list
wp useronline list --format=count
wp useronline count

The command reads and never writes. The table maintains itself — every visit purges rows that have timed out — and the admin screen offers no destructive action, so neither does the command.

REST API

GET  /wp-json/useronline/v1/count
POST /wp-json/useronline/v1/visit
count reports how many are online now, the record and its date, and records nobody — so a monitoring script polling it does not appear in the figure it is reading. `visit` is the heartbeat: it records the caller and answers with one of the four views, given a `mode` of `count`, `browsing-site`, `browsing-page` or `details`, plus the `page_url` they are on.

Neither route takes a nonce, and that is deliberate. A nonce cannot authenticate a logged-out visitor: anonymous nonces come from one session every such caller shares, so requiring one would prove nothing while breaking every visitor who is not signed in. A page_url that does not resolve to this site is ignored, and a heartbeat writes nothing but the caller’s own row.

These routes are an addition. The admin-ajax.php wp_useronline action is unchanged and still supported.

Installation

  1. Install and activate the plugin. Counting starts immediately.
  2. Show it where you want it: add the UserOnline widget to a sidebar, add the block, put [page_useronline] on a page, or call the template tags from your theme.
  3. Go to WP-Admin -> WP-UserOnline for the timeout, the naming and the rest of the options.

Änderungsprotokoll

Requires WordPress 6.8 and PHP 8.2. Every filter is renamed, with no deprecation shims. Code hooking an old name stops running, silently: useronline_bots is now wp_useronline_bots useronline_buckets is now wp_useronline_buckets useronline_custom_template is now wp_useronline_custom_template useronline_page is now wp_useronline_page useronline_display_user is now wp_useronline_display_user useronline_trust_proxy is now wp_useronline_trust_proxy USERONLINE_TRUST_PROXY is now WP_USERONLINE_TRUST_PROXY. Left unrenamed in wp-config.php, the plugin stops trusting the proxy and every visitor reports the same IP address. See the FAQ. One screen, three tabs, under a WP-UserOnline menu of its own. index.php?page=useronline and options-general.php?page=useronline-settings are both gone. Everything is at admin.php?page=wp-useronline, which opens on Users Online; the settings are at &tab=settings and the templates at &tab=templates. Bookmarks and any code linking to the old addresses need updating. Every tab now requires manage_options. Users Online previously needed only list_users, which included editors on many sites. To restore that: add_filter( 'wp_useronline_capability', function ( $capability, $context ) { return 'useronline' === $context ? 'list_users' : $capability; }, 10, 2 ); Settings migrate on the first admin page load. useronline becomes wp_useronline_options, useronline_most becomes wp_useronline_most, and the two upgrade markers move into wp_useronline_version. Code reading the old rows directly will find them gone. wp_useronline_most is no longer autoloaded. Update all seven WP-Stats plugins together. WP-Stats, WP-UserOnline, WP-Polls, WP-PostRatings, WP-EMail, WP-PostViews and WP-DownloadManager shared one unprefixed stats_display row. Each now keeps its own copy and deletes the shared row once it has read it, so whichever you update first takes it from the rest. A missing row means "show", so a block you had switched off may reappear — switch it off again under WP-UserOnline -> Settings -> WP-Stats, on the Settings tab. Classes are renamed to WP_UserOnline_*: UserOnline is WP_UserOnline, UserOnline_Template is WP_UserOnline_Template, and so on. The template tags — users_online(), get_users_online(), get_users_browsing_site(), get_most_users_online() and the rest — the [page_useronline] shortcode, and the useronline-count, useronline-browsing-site, useronline-browsing-page and useronline-details element ids are unchanged. Custom JavaScript. useronline.js is now js/wp-useronline.js, its localised object is wpUserOnlineL10n rather than useronlineL10n, and the admin-ajax action is wp_useronline rather than useronline.

4.0.2

  • NEW: A wp_useronline_needs_scripts filter, for code that renders the counters where WP-UserOnline cannot see it coming. The refresh script loads only when something on the page has rendered a counter or a listing, and it is enqueued from wp_footer — the one pass. Markup fetched over admin-ajax.php or the REST API into a page that shows none of its own reaches neither, so its numbers never refreshed. Returning true from the filter is how such a page asks for the script.

  • CHANGED: WP_UserOnline_Template::needs_script() and request_script() are now needs_scripts() and request_scripts(), plural, matching every other name the plugin uses for its front end assets. Neither was ever documented, but they are public, so a theme or plugin calling one by name needs the s.

4.0.1

  • NEW: A Settings link on the plugin’s row of the Plugins screen, opening the Users Online screen’s Settings tab.
  • FIXED: The address of a visitor arriving over IPv6 linked to a lookup that cannot read one. Every such visitor’s link answered “Malformed Domain or IP”, which is most of the detailed listing on a site whose host has IPv6 switched on. The lookups now go to ipinfo.io, which answers for IPv4 and IPv6 alike
  • NEW: wp_useronline_ip_lookup_url filters where an address is looked up, so a site can send it somewhere else — or return an empty string and keep the address as plain text with no link at all. See the FAQ
  • FIXED: Every page view read the whole table twice — dropping the visitor’s previous row and counting what their address holds both filter on columns the table’s only key does not start with. Keys on user_ip and user_id cover both now, and an existing install gains them on upgrade, so the per-request bookkeeping stops scanning the table as a busy site’s list grows

4.0.0

  • FIXED: A recorded location could be a protocol-relative URL, which is an absolute one wearing a path’s clothes. https://example.com//evil.com/ parses with this site’s host, passed the host check, was stored as //evil.com/, and came out of esc_url() untouched — so the public listing carried a link to somebody else’s site. Leading slashes now collapse to one, on the submitted URL and on REQUEST_URI alike
  • FIXED: The listing withheld the location of a visitor who was in the dashboard, but published their referrer from inside the same branch without ever looking at it. Anyone who clicked a front-end link from an admin screen therefore published the whole admin URL — screen, post ID and _wpnonce — to anonymous readers, because a same-origin navigation carries the full URL under WordPress’s referrer policy. The referrer is now tested in its own right, and both tests compare against the site’s own admin path rather than the literal string wp-admin, which never matched on a site that had moved it
  • FIXED: A single address could fill the table and permanently inflate “most users ever online” — a figure with no reset anywhere — by varying its user agent on each request, which defeated the de-duplication and left one row per second standing for the whole timeout. At most twenty rows per address are kept now; wp_useronline_max_per_address raises the ceiling, or zero removes it
  • FIXED: The refresh endpoint authenticates by cookie, so a cross-site form post ran it as whoever was signed in and replaced their row with a page and title of the attacker’s choosing, published under their name. A signed-in caller now needs a nonce; a logged-out one still does not, because an anonymous nonce is shared by every anonymous visitor and proves nothing
  • NEW: A wp useronline WP-CLI command — list and count. It reads and never writes.
  • NEW: A useronline/v1 REST API for reading the counts and for the visitor heartbeat. The admin-ajax.php wp_useronline action is unchanged and still supported.
  • NEW: A Users Online block, under Widgets in the editor, showing the same listing as [page_useronline]. The shortcode is unchanged and still supported; the block is an addition beside it, calls the same code, and records nobody when it renders.
  • BREAKING: Requires WordPress 6.8 and PHP 8.2.
  • BREAKING: Every filter the plugin fires is renamed and the old names are dropped, with no deprecation shims: useronline_bots, useronline_buckets, useronline_custom_template, useronline_page, useronline_display_user and useronline_trust_proxy all become wp_useronline_*. This voids the promise made in the 3.0.0 changelog that the filters were unchanged, and is why this release is 4.0.0 rather than 3.0.1.
  • BREAKING: USERONLINE_TRUST_PROXY is now WP_USERONLINE_TRUST_PROXY. A site still defining the old name silently stops trusting its proxy and starts recording the proxy’s address for every visitor. See the FAQ.
  • BREAKING: The plugin has one screen, at admin.php?page=wp-useronline under a top-level WP-UserOnline menu, with three tabs: Users Online, Settings and Templates. The report used to be under Dashboard and the settings under Settings.
  • BREAKING: Every tab now requires manage_options. The users online listing previously needed only list_users. The new wp_useronline_capability filter puts it back, for that tab alone.
  • BREAKING: The option rows are renamed. useronline becomes wp_useronline_options and useronline_most becomes wp_useronline_most, which is no longer autoloaded. Your settings are migrated automatically on the first load after the update.
  • BREAKING: The shared, unprefixed stats_display option row is no longer read. WP-Stats integration is now a setting of this plugin’s own, and WP-Stats asks each plugin for its section through the wp_stats_sections filter rather than reading anybody’s options. Update all seven WP-Stats-aware plugins together; see the Upgrade Notice.
  • BREAKING: Every class is renamed to WP_UserOnline_*. UserOnline, UserOnline_Template, UserOnline_Options and the rest no longer exist under those names.
  • BREAKING: The refresh script is at js/wp-useronline.js rather than useronline.js, its localised object is wpUserOnlineL10n rather than useronlineL10n, and the admin-ajax action it posts is wp_useronline rather than useronline.
  • NEW: The upgrade markers live in their own wp_useronline_version option row, holding exactly plugin and db, and are written together in one update at the end of the upgrade.
  • NEW: WP-Stats integration is a setting of the plugin’s own, on the Settings tab under WP-Stats, instead of a checkbox added to the WP-Stats options page.
  • NEW: wp_useronline_capability filters the capability each tab requires, with a context saying which one is asking. The page itself is registered under the report’s capability and every tab checks its own, so widening the listing cannot hand over the settings form.
  • NEW: The templates are on a Templates tab of their own rather than below the settings. Both tabs post one setting into one option row, and the sanitiser merges what a tab submitted over what is stored, so saving one cannot blank the other.
  • NEW: The Restore Defaults behaviour is a proper enqueued script, js/wp-useronline-admin.js, rather than markup printed inside the page.
  • NEW: The JavaScript is covered by vitest and jsdom, and the PHP suite runs on the network as well as on a single site.
  • CHANGED: WP_UserOnline_Install owns the table, the migration and the markers, so install and uninstall sit beside each other and neither can drift.
  • FIXED: The upgrade markers no longer live inside the settings array. They were kept under a reserved versions key that the settings form never posted, so every save had to rescue them from the stored value by hand — which is the arrangement behind the 3.0.0 bug where the marker could not be saved at all once the settings screen had been loaded. They have a row of their own now, and the settings sanitiser has no business with them.
  • FIXED: The settings screen no longer emits an inline style attribute or an inline <script> block.
  • FIXED: The WP-Stats checkbox posts an explicit off. An unticked box posts nothing at all, and the sanitiser keeps whatever a tab did not submit, so without it the section could be switched on and never off again.
  • FIXED: The periodic refresh no longer nests the useronline-details container inside itself. The detailed report is answered as a whole container, and the refresh wrote that answer inside the container it was already in — so a page left open gained another copy of the same element id every timeout, growing a level deeper each time. Nothing errored and the figures kept updating, but the markup was invalid and any theme CSS or JavaScript keyed to #useronline-details was looking at a different element after the first refresh. The refresh replaces that container now instead of filling it.
  • NOTE: The template tags, the [page_useronline] shortcode and the useronline-count, useronline-browsing-site, useronline-browsing-page and useronline-details element ids are unchanged. Everything else that was public has moved; see the Upgrade Notice.
  • NOTE: The “on”, “url” and “referral” labels in the detailed listing carry translator context now, because a single word out of context is not enough to translate from. Those three msgids changed, so existing translations of them fall back to English until they are retranslated

Vollständiges Änderungsprotokoll auf WordPress.org →

Screenshots

WP-UserOnline, who is on the site now, split into members, guests and bots
WP-UserOnline, who is on the site now, split into members, guests and bots
The Settings tab: the timeout, what is counted, and how a visitor is named
The Settings tab: the timeout, what is counted, and how a visitor is named
The Templates tab, holding the wording of every line the plugin prints
The Templates tab, holding the wording of every line the plugin prints
The users-online page a visitor sees, from the shortcode
The users-online page a visitor sees, from the shortcode

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best WP-UserOnline alternatives

All online plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
2 PayHere Payment Gateway PayHere Payment Gateway PayHere Payment Gateway by PayHere 2K+ ★★★★★★★★★★ 4.5 (8) Vor 1 Monat 77
3 WC Booster WC Booster WC Booster adds custom carts, quick previews, and streamlined checkout to enhance… by Eagle Vision IT 600+ ★★★★★★★★★★ 4.2 (5) Vor 2 Jahren 39
4 StreamWeasels Online Status Bar StreamWeasels Online Status Bar Display your Twitch, YouTube, or Kick live online status directly in a sticky bar at the… by JayBee 400+ ★★★★★★★★★★ 4.2 (11) Vor 2 Monaten 70
5 VereinOnline.org VereinOnline.org Zeigt VereinOnline-Inhalte in WordPress an. http://www.vereinonline.org/ by Dr. Thomas Fuessl 200+ ★★★★★★★★★★ Keine Bewertungen Vor 12 Monaten 41
6 Aircash for WooCommerce Aircash for WooCommerce We make payments even faster, safer and easier – 24/7! Simple to use and extra safe for you… by Aircash 100+ ★★★★★★★★★★ Keine Bewertungen Vor 3 Monaten 52
7 DirectPay-IPG WooCommerce DirectPay-IPG WooCommerce DirectPay Payment Gateway Plugin for WooCommerce by paymedia 80+ ★★★★★★★★★★ 5 (1) Vor 6 Jahren 32
8 PayHere Payment Gateway – Beta PayHere Payment Gateway – Beta PayHere Payment Gateway Plugin for WooCommerce by PayHere 70+ ★★★★★★★★★★ Keine Bewertungen Vor 6 Monaten 40
9 WoPo Minesweeper WoPo Minesweeper Minesweeper Game by WoPo Web 40+ ★★★★★★★★★★ Keine Bewertungen Vor 3 Jahren 24
10 WoPo Solitaire WoPo Solitaire Solitaire Game by WoPo Web 20+ ★★★★★★★★★★ Keine Bewertungen Vor 2 Jahren 24
11 Scheidungskostenrechner Scheidungskostenrechner Ein Scheidungskostenrechner Plugin für Ihre Homepage. by activewebsight 10+ ★★★★★★★★★★ 5 (1) Vor 10 Monaten 45

Fragen und Antworten

WP-UserOnline: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is WP-UserOnline free?

Yes. WP-UserOnline is free to download and use from the official WordPress.org plugin directory.

Is WP-UserOnline safe to use in 2026?

Yes — WP-UserOnline is a safe, well-maintained plugin to use in 2026. It runs on 10K+ sites, is rated 4.6/5 and was last updated 3 months ago, and scores 88/100 on our health check.

How many websites use WP-UserOnline?

WP-UserOnline is active on 10K+ WordPress websites and has been downloaded 990,600 times since it launched in January 2006. It was downloaded 2,185 times in the last 30 days.

Does WP-UserOnline work with WordPress 7.1?

Yes. The developer has tested WP-UserOnline up to WordPress 7.1.5, the latest release. It requires WordPress 6.8 or newer.

What PHP version does WP-UserOnline need?

WP-UserOnline requires PHP 8.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was WP-UserOnline last updated?

The latest version, 4.0.2, was released on September 1, 2026 (3 months ago).

Who makes WP-UserOnline?

WP-UserOnline is developed and maintained by Lester Chan.

What are the best alternatives to WP-UserOnline?

The most popular alternatives to WP-UserOnline are PayHere Payment Gateway (2K+ installs), WC Booster (600+ installs) and StreamWeasels Online Status… (400+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen