[wordpress插件] Custom Users Order自定义用户订单

wordpress 插件 文章 2020-04-10 07:20 413 0 全屏看文

AI助手支持GPT4.0

评分
84
描述

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. 快速轻松地拖放以重新排列用户。

    3. Set the number of users to display in front-end.
    4. 设置要在前端显示的用户数。

    5. Choose the users of specific roles to be displayed.
    6. 选择要显示特定角色的用户。

    7. User can add different list of users.
    8. 用户可以添加不同的用户列表。

    Usage

    用法

    Place this shortcode in page, post or text widget where you’d like to display users.

    将此简码放置在您要显示用户的页面,帖子或文本小部件中。

    [users_order users=2 section=section_name]

      [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.

    自定义用户订单插件支持“ users”参数,您可以在其中传递要显示在前端的用户数,“ section”参数可以在其中传递要在前端显示的部分的名称。

    For example if you want to display 3 users from Section1 at a time then place the following code:

    例如,如果您想一次显示Section1中的3个用户,则放置以下代码:

    [users_order users=3 section=Section1]

      [users_order users = 3 section = Section1]

    By default it displays 5 users.

    默认情况下,它显示5个用户。

    Templates

    模板

    Place this shortcode in any template parts of your theme.

    将此简码放置在主题的任何模板部分中。

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

    ?>

    ?>

安装步骤

Installation

安装

    1. Upload “custom_users_order” to the “/wp-content/plugins/” directory.
    2. 将“ custom_users_order”上传到“ / wp-content / plugins /”目录。

    3. Activate the plugin through the “Plugins” menu in WordPress.
    4. 通过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

      2. 在wordpress页面,帖子或文本小部件中放置简码[users_order users = 3 section = section_name],在“ users”参数中,您可以传递用户数和想要在“ section”参数中的部分名称

        display in frontend.

        在前端显示。

        5 users will be displayed by default .

      3. 默认情况下,将显示5个用户。

      4. Place the code

      5. 放置代码 <?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.

        模板文件中的?> ,在“ users”参数中传递用户数和要在前端显示的“ section”参数中的节名称。

        5 users will be displayed by default .

      6. 默认情况下,将显示5个用户。

下载地址
https://downloads.wordpress.org/plugin/custom-users-order.zip
-EOF-

AI助手支持GPT4.0