標籤: UserPro
-
作者帖子
-
Userpro 常用簡碼列表使用方法:創建一個新頁面,填入頁面名稱,複製以下簡碼到頁面中。部分簡碼只顯示特定內容,請根據自己的需要調整簡碼內容即可。
前台發佈文章
[userpro template=publish post_meta="custom_url" post_meta_labels=" 自定義網址 (Post Meta)"]
水平顯示在線用户
[userpro template=online no_style=true disable_name_hooks=true online_mode=horizontal max_width="100%"]
垂直顯示在線用户
[userpro template=online no_style=true disable_name_hooks=true]
僅註冊會員可以查看內容
[userpro_private] 這裏的內容訪客看不到 [/userpro_private]
僅驗證帳户可以查看內容
[userpro_private restrict_to_verified=1] 內容限制為僅驗證帳户...[/userpro_private]
僅特定角色可以查看內容,subsriber 表示訂閲者
[userpro_private restrict_to_roles=subscriber] 只有特定角色可以查看此內容...[/userpro_private]
顯示最新會員,3 表示每頁顯示 3 個
[userpro template=list list_per_page=3]
按用户顯示文章,abc 表示某用户的用户名,4 表示顯示 4 個文章
[userpro template=postsbyuser user=abc postsbyuser_num=4]
顯示指定的幾個用户,3 表示每頁顯示 3 個,abc,def,ghi 表示 3 個用户的用户名
[userpro template=list list_per_page=3 list_showbio=1 list_showsocial=0 no_style=true list_users="abc,def,ghi"]
只顯示驗證帳户,3 表示每頁顯示 3 個帳户
[userpro template=list list_per_page=3 list_verified=1 list_thumb=80 list_heading=" 已驗證帳户"]
顯示自定義會員列表,50 表示會員頭像大小,28 表示每頁顯示 28 個,100% 表示寬度為 100%
[userpro template=memberlist memberlist_v2=0 memberlist_pic_size=50 memberlist_pic_topspace=0 memberlist_pic_sidespace=0 memberlist_pic_rounded=0 memberlist_paginate=0 memberlist_show_name=0 memberlist_popup_view=1 memberlist_withavatar=1 search=0 per_page=28 memberlist_width=100%]
多種模板顯示會員列表,4 表示每頁顯示 4 個
[userpro template=memberlist per_page=4]
V1 風格會員列表,6 表示每頁顯示 6 個
[userpro template=memberlist memberlist_v2=0 per_page=6]
用户面板
[userpro_dashboard]
顯示指定用户,abc 表示某用户的用户名
[userpro template=card user=abc]
顯示文章作者,abc 表示某用户的用户名
[userpro template=card user=abc]
前台完整個人資料,abc 表示某用户的用户名,100% 表示最大寬度
[userpro template=view user=abc max_width=100%]
簡潔的個人資料,abc 表示某用户的用户名
[userpro template=card user=abc]
簡單的個人資料,abc 表示某用户的用户名
[userpro template=view header_only=true user=test]
註冊
[userpro template=register]
找回密碼
[userpro template=reset]
登錄
[userpro template=login]
-
作者帖子
- 哎呀,回覆話題必需登錄。