
內容簡介
總用戶數外掛會增加一個短代碼,以顯示您的 WordPress 網站中的用戶帳戶數。沒有管理畫面,只有短代碼 [total_user_count]
新增:取得特定角色的用戶數量
現在您可以取得任何角色的用戶數量。使用以下短代碼,將 WooCommerce 顧客的數量插入到您的頁面中:[total_user_count role="customer"]
由任何外掛都可以加入自訂用戶角色。您只需確保角色名稱正確,否則將顯示「N/A」。使用此短代碼顯示註冊 WordPress 訂閱者的數量:[total_user_count role="subscriber"]
常見的 WordPress 用戶角色:
訂閱者
作者
編輯
投稿者
管理員
用於社交證明
我剛發布了「總用戶數」外掛程式。使用短代碼 [total_user_count] 在 WordPress 網站上的任何位置顯示用戶數量!試試看吧!
該外掛程式沒有管理畫面,而且簡單、輕量級,並可以正常運作。
請考慮給予五星評價!
外掛標籤
開發者團隊
原文外掛簡介
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.
