[wordpress插件] Advanced Custom Fields: Range Field高级自定义字段:范围字段

wordpress 插件 文章 2020-01-27 06:20 599 0 全屏看文

AI助手支持GPT4.0

评分

100

100

描述

This is an add-on for the Advanced Custom Fields WordPress plugin, that allows you to

这是高级自定义字段 WordPress插件的附加组件,可让您

add a jQuery Range Slider field type.

添加一个jQuery Range Slider字段类型。

http://jqueryui.com/slider/

http://jqueryui.com/slider/

Read more here: https://github.com/viriava/acf-field-range

在此处了解更多信息:https://github.com/viriava/acf-field-range

安装步骤

This add-on can be treated as both a WP plugin and a theme include.

此附加组件可以被视为WP插件和主题包含。

Plugin

插件

    1. Copy the ‘acf-range’ folder into your plugins folder
    2. 将“ acf-range”文件夹复制到您的插件文件夹中

    3. Activate the plugin via the Plugins admin page
    4. 通过“插件管理”页面激活插件

    Include

    包含

      1. Copy the ‘acf-range’ folder into your theme folder (can use sub folders).

      2. 将“ acf-range”文件夹复制到主题文件夹中(可以使用子文件夹)。

        You can place the folder anywhere inside the ‘wp-content’ directory

      3. 您可以将文件夹放置在“ wp-content”目录内的任何位置

      4. Edit your functions.php file and add the code below (Make sure the path is correct to include the acf-range.php file)

        编辑您的functions.php文件并添加以下代码(请确保路径正确以包含acf-range.php文件)

        add_action(‘acfegister_fields’, ‘my_register_fields’);

        add_action('acf / register_fields','my_register_fields');

        function my_register_fields()

        function my_register_fields()

        {
            

        {
            

        include_once(‘acf-range/acf-range.php’);

        include_once(‘acf-range / acf-range.php’);

        }

        }

下载地址

https://downloads.wordpress.org/plugin/acf-range-field.1.1.4.zip

https://downloads.wordpress.org/plugin/acf-range-field.1.1.4.zip

-EOF-

AI助手支持GPT4.0