
內容簡介
Custom Users Order 外掛可根據拖放排序的能力,對管理員、編輯、作者、訂閱者、貢獻者等使用者進行排序。將短碼放在頁面、文章、文字小工具或模板檔案中即可在前端顯示。如此簡單。
快速且簡單的拖放功能,可重新排列使用者。
設置在前端顯示的使用者數量。
選擇要顯示的特定角色的使用者。
使用者可以添加不同的使用者列表。
使用方法
在您想要顯示使用者的頁面、文章或文字小工具中,請放置以下短碼:
[users_order users=2 section=section_name]
參數
Custom Users Order 外掛支持「users」參數,您可以使用此參數傳遞您想要在前端顯示的使用者數量,以及「section」參數,您可以使用此參數傳遞要在前端顯示的部分名稱。例如,如果您想一次顯示來自 Section1 的 3 個使用者,則放置以下程式碼:
[users_order users=3 section=Section1]
預設情況下,它顯示 5 個使用者。
範本
在您的佈景主題的任何範本部分中,放置以下短碼:
<?php echo do_shortcode('[users_order users=3 section=Section1]'); ?>
外掛標籤
開發者團隊
原文外掛簡介
Custom Users Order plugin will order users(admin, editor, author, subscriber, contributor) with simple Drag and Drop Sortable capability. Place a shortcode in page, post,text widget or template files to display in front-end. It’s that simple.
Quick and easy drag and drop for rearranging of users.
Set the number of users to display in front-end.
Choose the users of specific roles to be displayed.
User can add different list of users.
Usage
Place this shortcode in page, post or text widget where you’d like to display users.
[users_order users=2 section=section_name]
Parameters
Custom Users Order plugin supports the “users” parameter where you can pass the number of users you want to display in frontend and “section” parameter where you can pass the name of the section to be displayed in frontend. For example if you want to display 3 users from Section1 at a time then place the following code:
[users_order users=3 section=Section1]
By default it displays 5 users.
Templates
Place this shortcode in any template parts of your theme.
