Total User Count Shortcode

Plugin Banner

Total User Count Shortcode

by Morgan Hvidt

Download
Description

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.

  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.
  1. Total User Count Shortcode display on page

    Total User Count Shortcode display on page

  2. Total User Count shortcode for WordPress user roles.

    Total User Count shortcode for WordPress user roles.

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.).

Grazie!

By Betty_ on November 11, 2023

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

Вывод зарегестрированных пользователей

By imbattleman on September 29, 2023

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

Worked Great!

By TMoney (tylermowreader) on February 23, 2022

Easy peasy! Works as designed. Thank you!

Amazingly simple, Good and fast support

By Safeunderdark (safeunderdark) on November 10, 2020

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

Works like a charm

By killjack on September 21, 2019

Very useful

Works Perfectly 9th June 2019

By designserve on June 9, 2019

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

Doesn't work

By d1plom4t on December 24, 2018

This Plugin doesn't work. It doesn't show up in backend and the shortcode has no effect.

Works perfect

By Dabrem (bigsexy0413) on December 8, 2018

This plugin works perfect and everywhere I want it to show, it shows! Thanks!

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
Back to top