這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Custom Users Order

外掛說明

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.

  1. Quick and easy drag and drop for rearranging of users.
  2. Set the number of users to display in front-end.
  3. Choose the users of specific roles to be displayed.
  4. 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.

<?php echo do_shortcode('[users_order users=3 section=Section1]'); ?>

螢幕擷圖

  • After activating the plugin it will be hooked in Users Menu.
  • Section Listing. Here you can Add/Edit and Delete the sections.
  • Users Listing. Here you can order users by simple drag and drop functionality. Also feature has been provided to choose the users of a specific roles to be displayed.
  • Frontend display.

安裝方式

Installation

  1. Upload “custom_users_order” to the “/wp-content/plugins/” directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.

How to Use

  1. Place shortcode [users_order users=3 section=section_name] in wordpress page, post or text widget, where in the “users” parameter you can pass the number of users and name of the section in “section” parameter you want to display in frontend. 5 users will be displayed by default .
  2. Place the code <?php echo do_shortcode('[users_order users=3 section=section_name]'); ?> in template files, where in the “users” parameter you pass the number of users and name of the section in “section” parameter you want to display in frontend. 5 users will be displayed by default .

常見問題集

Having problems, questions, bugs & suggestions

Contact us at http://www.satvikinfotech.com

使用者評論

2017 年 5 月 12 日
This plugin is only capable of adding groups of users to sections by role as opposed to being able to add individual users to sections regardless of role. If you just want to group users by role and order them then this works fine. There are also some undefined variable warnings being printed.
閱讀全部 6 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Custom Users Order〉的開發相關工作。

參與者

將〈Custom Users Order〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

v1.0

  • Initial release version.

v1.1

  • User can add different list of users.
  • User can select different users from specific roles.

v4.0

  • Tested up to latest version.

v4.1

  • fixed some bugs.