描述
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.
用法
Place this shortcode in page, post or text widget where you’d like to display users.
[users_order users=2 section=section_name]
参数
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.
模版
Place this shortcode in any template parts of your theme.
<?php echo do_shortcode('[users_order users=3 section=Section1]'); ?>
屏幕截图
安装
Installation
- Upload “custom_users_order” to the “/wp-content/plugins/” directory.
- Activate the plugin through the “Plugins” menu in WordPress.
如何使用
- 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 .
- 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
评价
贡献者及开发者
更新日志
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.