Title: Total User Count Shortcode
Author: Morgan Hvidt
Published: <strong>8. juni, 2018</strong>
Last modified: 6. april, 2024

---

Søg plugins

![](https://ps.w.org/total-user-count-shortcode/assets/banner-772x250.png?rev=2351347)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/total-user-count-shortcode/assets/icon-256x256.png?rev=2351347)

# Total User Count Shortcode

 Af [Morgan Hvidt](https://profiles.wordpress.org/morganhvidt/)

[Download](https://downloads.wordpress.org/plugin/total-user-count-shortcode.zip)

 * [Detaljer](https://da.wordpress.org/plugins/total-user-count-shortcode/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/total-user-count-shortcode/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/total-user-count-shortcode/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/total-user-count-shortcode/#developers)

 [Support](https://wordpress.org/support/plugin/total-user-count-shortcode/)

## Beskrivelse

Total User Count Shortcode provides a simple way to display the number of registered
users on your WordPress site. It’s a lightweight plugin with no admin screen, offering
a straightforward shortcode: `[total_user_count]`.

### Features:

 * **Display Total Users**: Use `[total_user_count]` to show the total number of
   users.
 * **Filter by Role**: Specify a user role to display counts for, e.g., `[total_user_count
   role="customer"]` for WooCommerce customers.
 * **Combine Roles**: Tally multiple roles together, e.g., `[total_user_count role
   ="subscriber, author"]`.
 * **Support for Custom Roles**: Works with custom user roles added by other plugins.

### Common WordPress User Roles:

 * subscriber
 * author
 * editor
 * contributor
 * administrator
 * customer (WooCommerce)

### Social Proof:

Showcase your site’s popularity by displaying the number of users anywhere on your
site using the shortcode.

## Skærmbilleder

 * [[
 * Total User Count Shortcode display on page
 * [[
 * Total User Count shortcode for WordPress user roles.

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/` directory, or install the
    plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Use the shortcode `[total_user_count]` in your posts, pages, or widgets to display
    the user count.
 4. No further configuration is needed.

## FAQ

### Can I use the shortcode anywhere?

Yes, the shortcode can be placed in any post, page, or widget area, and within any
content like paragraphs or headings (H1, H2, etc.).

## Anmeldelser

![](https://secure.gravatar.com/avatar/a4babfd10111b95936a6bea8d17e03f91cc74cc6f0a0654a3c120f2199d114d5?
s=60&d=retro&r=g)

### 󠀁[Grazie!](https://wordpress.org/support/topic/grazie-24/)󠁿

 [Betty_](https://profiles.wordpress.org/betty_/) 11. november, 2023

Ti ringrazio per questo plugin semplice e leggero, era proprio quello che cercavo!

![](https://secure.gravatar.com/avatar/ac08174333f565d534e5f882929a8e42a37075d619304b054b9ebc585abe3483?
s=60&d=retro&r=g)

### 󠀁[Вывод зарегестрированных пользователей](https://wordpress.org/support/topic/%d0%b2%d1%8b%d0%b2%d0%be%d0%b4-%d0%b7%d0%b0%d1%80%d0%b5%d0%b3%d0%b5%d1%81%d1%82%d1%80%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%bd%d1%8b%d1%85-%d0%bf%d0%be%d0%bb%d1%8c%d0%b7%d0%be%d0%b2%d0%b0%d1%82%d0%b5/)󠁿

 [imbattleman](https://profiles.wordpress.org/imbattleman/) 29. september, 2023

Отличный плагин. Выводит количество зарегистрированных пользователей. Остальные 
функции не тестировал.

![](https://secure.gravatar.com/avatar/c9c22a8ceb313de2515bbae5206b1aad857b5f4dedfa466bcdc220a009c52da7?
s=60&d=retro&r=g)

### 󠀁[Worked Great!](https://wordpress.org/support/topic/worked-great-243/)󠁿

 [TMoney](https://profiles.wordpress.org/tylermowreader/) 23. februar, 2022

Easy peasy! Works as designed. Thank you!

![](https://secure.gravatar.com/avatar/a72905b41e0041b2deb835d39975a8faa0882155ee4cd10ef549a30330b6fb42?
s=60&d=retro&r=g)

### 󠀁[Amazingly simple, Good and fast support](https://wordpress.org/support/topic/amazingly-simple-good-and-fast-support/)󠁿

 [Safeunderdark](https://profiles.wordpress.org/safeunderdark/) 10. november, 2020
1 svar

I encountered a problem and got my answer within 15 minutes. Now that is fast! Unfortunate
some themes do not support shortcodes everywhere, but that is not this plugin’s 
fault. Problem was fixed within 30 minutes! How is that for service 😀 Good and 
simple plugin

![](https://secure.gravatar.com/avatar/255c9dbe08c30302dfd6dcaac4a7b16d2d1693042cd9b16ea036511822fc6ad1?
s=60&d=retro&r=g)

### 󠀁[Works like a charm](https://wordpress.org/support/topic/works-like-a-charm-1528/)󠁿

 [killjack](https://profiles.wordpress.org/killjack/) 21. september, 2019 1 svar

Very useful

![](https://secure.gravatar.com/avatar/9974321912e81db92d4afbec916f481bb554fbc41a268d20937d41dd5c7c8ea6?
s=60&d=retro&r=g)

### 󠀁[Works Perfectly 9th June 2019](https://wordpress.org/support/topic/works-perfectly-9th-june-2019/)󠁿

 [designserve](https://profiles.wordpress.org/designserve/) 9. juni, 2019

Brilliant! So easy! 9th July 2019. Latest WordPress, Buddypress, Multisite, PHP7.1
Thank you!

 [ Læs alle 8 anmeldelser ](https://wordpress.org/support/plugin/total-user-count-shortcode/reviews/)

## Bidragsydere & udviklere

“Total User Count Shortcode” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

 *   [ Morgan Hvidt ](https://profiles.wordpress.org/morganhvidt/)

[Oversæt “Total User Count Shortcode” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/total-user-count-shortcode)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/total-user-count-shortcode/),
tjek [SVN repository](https://plugins.svn.wordpress.org/total-user-count-shortcode/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/total-user-count-shortcode/)
via [RSS](https://plugins.trac.wordpress.org/log/total-user-count-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.1.2

 * Count (sum) multiple user roles within one shortcode.
 * Tested and ready for WordPress 6.5
 * Ready for PHP 8.3

#### 1.1.1

 * Tested and ready for WordPress 5.6

#### 1.1.0

 * New: support for getting specific user role counts e.g [total_user_count role
   =”subscriber”]
 * Tested and ready for WordPress 5.5

#### 1.0.5

 * Tested and ready for WordPress 5.3

#### 1.0.4

 * Tested and ready for WordPress 5.2

#### 1.0.3

 * Tested and ready for WordPress 5.1

#### 1.0.1

 * Tested with Gutenberg and WordPress 5.0

#### 1.0.0

 * Total User Count Shortcode goes live on WordPress.org

## Meta

 *  Version **1.1.2**
 *  Senest opdateret **2 år siden**
 *  Aktive installationer **300+**
 *  WordPress-version ** 5.0 eller højere **
 *  Testet op til **6.5.8**
 *  PHP-version ** 7.0 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/total-user-count-shortcode/)
 * Tags
 * [roles](https://da.wordpress.org/plugins/tags/roles/)[user count](https://da.wordpress.org/plugins/tags/user-count/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/total-user-count-shortcode/advanced/)

## Bedømmelser

 4.5 ud af 5 stjerner.

 *  [  7 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/total-user-count-shortcode/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/total-user-count-shortcode/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/total-user-count-shortcode/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/total-user-count-shortcode/reviews/?filter=2)
 *  [  1 1-stjernet anmeldelse     ](https://wordpress.org/support/plugin/total-user-count-shortcode/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/total-user-count-shortcode/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/total-user-count-shortcode/reviews/)

## Bidragsydere

 *   [ Morgan Hvidt ](https://profiles.wordpress.org/morganhvidt/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/total-user-count-shortcode/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://morganhvidt.com/donate)