{"id":86926,"date":"2018-06-08T01:55:50","date_gmt":"2018-06-08T01:55:50","guid":{"rendered":"https:\/\/en-au.wordpress.org\/plugins\/total-user-count-shortcode\/"},"modified":"2024-04-06T01:59:27","modified_gmt":"2024-04-06T01:59:27","slug":"total-user-count-shortcode","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/total-user-count-shortcode\/","author":15799839,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.2","stable_tag":"trunk","tested":"6.5.8","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"Total User Count Shortcode","header_author":"Morgan Hvidt","header_description":"Display the total amount of users in your WP with the [total-user-count] shortcode","assets_banners_color":"8e85d5","last_updated":"2024-04-06 01:59:27","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/morganhvidt.com\/donate","header_plugin_uri":"","header_author_uri":"https:\/\/morganhvidt.com","rating":4.5,"author_block_rating":0,"active_installs":300,"downloads":5974,"num_ratings":8,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"morganhvidt","date":"2018-12-28 02:34:09"},"1.0.2":{"tag":"1.0.2","author":"morganhvidt","date":"2018-12-28 02:34:09"},"1.0.4":{"tag":"1.0.4","author":"morganhvidt","date":"2019-08-13 08:40:24"},"1.0.5":{"tag":"1.0.5","author":"morganhvidt","date":"2019-11-01 05:09:05"},"1.1.2":{"tag":"1.1.2","author":"morganhvidt","date":"2024-04-06 01:59:27"}},"upgrade_notice":[],"ratings":{"1":1,"2":0,"3":0,"4":0,"5":7},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2351347,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2351347,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2351347,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2351347,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.0.4","1.0.5","1.1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2351347,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2351347,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Total User Count Shortcode display on page","2":"Total User Count shortcode for WordPress user roles."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[226301,1915,226300,157744,20556],"plugin_category":[58],"plugin_contributors":[156050],"plugin_business_model":[],"class_list":["post-86926","plugin","type-plugin","status-publish","hentry","plugin_tags-all-users","plugin_tags-roles","plugin_tags-tally","plugin_tags-total-users","plugin_tags-user-count","plugin_category-user-management","plugin_contributors-morganhvidt","plugin_committers-morganhvidt"],"banners":{"banner":"https:\/\/ps.w.org\/total-user-count-shortcode\/assets\/banner-772x250.png?rev=2351347","banner_2x":"https:\/\/ps.w.org\/total-user-count-shortcode\/assets\/banner-1544x500.png?rev=2351347","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/total-user-count-shortcode\/assets\/icon-128x128.png?rev=2351347","icon_2x":"https:\/\/ps.w.org\/total-user-count-shortcode\/assets\/icon-256x256.png?rev=2351347","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/total-user-count-shortcode\/assets\/screenshot-1.png?rev=2351347","caption":"Total User Count Shortcode display on page"},{"src":"https:\/\/ps.w.org\/total-user-count-shortcode\/assets\/screenshot-2.png?rev=2351347","caption":"Total User Count shortcode for WordPress user roles."}],"raw_content":"<!--section=description-->\n<p>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: <code>[total_user_count]<\/code>.<\/p>\n\n<h3>Features:<\/h3>\n\n<ul>\n<li><strong>Display Total Users<\/strong>: Use <code>[total_user_count]<\/code> to show the total number of users.<\/li>\n<li><strong>Filter by Role<\/strong>: Specify a user role to display counts for, e.g., <code>[total_user_count role=\"customer\"]<\/code> for WooCommerce customers.<\/li>\n<li><strong>Combine Roles<\/strong>: Tally multiple roles together, e.g., <code>[total_user_count role=\"subscriber, author\"]<\/code>.<\/li>\n<li><strong>Support for Custom Roles<\/strong>: Works with custom user roles added by other plugins.<\/li>\n<\/ul>\n\n<h3>Common WordPress User Roles:<\/h3>\n\n<ul>\n<li>subscriber<\/li>\n<li>author<\/li>\n<li>editor<\/li>\n<li>contributor<\/li>\n<li>administrator<\/li>\n<li>customer (WooCommerce)<\/li>\n<\/ul>\n\n<h3>Social Proof:<\/h3>\n\n<p>Showcase your site's popularity by displaying the number of users anywhere on your site using the shortcode.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Use the shortcode <code>[total_user_count]<\/code> in your posts, pages, or widgets to display the user count.<\/li>\n<li>No further configuration is needed.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20use%20the%20shortcode%20anywhere%3F'><h3>Can I use the shortcode anywhere?<\/h3><\/dt>\n<dd><p>Yes, the shortcode can be placed in any post, page, or widget area, and within any content like paragraphs or headings (H1, H2, etc.).<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Count (sum) multiple user roles within one shortcode.<\/li>\n<li>Tested and ready for WordPress 6.5<\/li>\n<li>Ready for PHP 8.3<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Tested and ready for WordPress 5.6<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>New: support for getting specific user role counts e.g [total_user_count role=\"subscriber\"]<\/li>\n<li>Tested and ready for WordPress 5.5<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Tested and ready for WordPress 5.3<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Tested and ready for WordPress 5.2<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Tested and ready for WordPress 5.1<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Tested with Gutenberg and WordPress 5.0<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Total User Count Shortcode goes live on WordPress.org<\/li>\n<\/ul>","raw_excerpt":"Display the total amount of users in your WP with the [total_user_count] shortcode plugin","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/86926","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=86926"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/morganhvidt"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=86926"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=86926"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=86926"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=86926"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=86926"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=86926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}