开发者 |
hiren1612
hikebranding nidhiparikh |
---|---|
更新时间 | 2020年11月24日 19:37 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 5.6 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[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=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 .Contact us at http://www.satvikinfotech.com