內容簡介
需要 BuddyPress 外掛。
使得網頁或文章可以顯示最近登錄的會員和他們在網站上最後活躍時間的時間間隔。選項包括:如果當前登錄,則顯示發送私信連結、要顯示的會員字段等。
在 BlueFlipper Diving 有實際的展示。
所有選項:
更改顯示的成員數(默認為 5):
[hts-displaymembers count=10]
更改顯示的字段(默認為顯示名稱):
[hts-displaymembers count=10 display=user_nicename]
您可以使用 wp_users 表或 wp_usermeta 表中的任何字段,例如:
display_name
user_nicename
user_email
user_url
first_name
last_name
nickname
更改頭像的大小(默認為 50px):
[hts-displaymembers avatar_size=128]
不顯示電子郵件圖標(默認為 true):
[hts-displaymembers emailicon=false]
不顯示電子郵件鏈接(默認為 true):
[hts-displaymembers emaillink=false]
顯示調試信息(默認為 false):
[hts-displaymembers debug = true]
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Requires BuddyPress.
Allows a page or post to display the most recently logged in members with how long since they last did any activity on the site. Options include showing a link to Private Message the member if logged in, the field to display as the members name and so on.
A live demonstration is available at BlueFlipper Diving
All options:
To change the number of members shown (defaults to 5):
[hts-displaymembers count=10]
To change the displayed field (defaults to Display Name):
[hts-displaymembers count=10 display=user_nicename]
You can use any field in the wp_users table or wp_usermeta table, for example:
display_name
user_nicename
user_email
user_url
first_name
last_name
nickname
To change the size of the avatar (defaults to 50px):
[hts-displaymembers avatar_size=128]
To not display the email icon (default to true):
[hts-displaymembers emailicon=false]
To not display the email link (default to true):
[hts-displaymembers emaillink=false]
To display debug information (default to false):
[hts-displaymembers debug=true]
