[wordpress插件] Advanced Custom Fields: NextGen Gallery Custom Field高级自定义字段:NextGen Gallery自定义字段

wordpress 插件 文章 2020-02-07 07:40 593 0 全屏看文

AI助手支持GPT4.0

评分

100

100

描述

Welcome to the Advanced Custom Fields NextGEN Gallery Custom Field plugin page.

欢迎来到高级自定义字段NextGEN Gallery自定义字段插件页面。

As the name suggests, this script is an extension for the Advanced Custom Fields WordPress plugin.

顾名思义,此脚本是高级自定义字段 WordPress插件的扩展。

>

>

This script works only in ACF version 4.0.0.

此脚本仅在ACF 4.0.0版中起作用。

and up.

及以上。

Version 3 is currently not supported.

当前不支持版本3。

Besides that this script can be either used as a WP plugin or as a theme include.

此脚本既可以用作WP插件,也可以用作主题包含。

This plugin provides an extra field for the Advanced Custom Fields plugin to support the NextGEN Gallery plugin.

此插件为Advanced Custom Fields插件提供了一个额外的字段,以支持NextGEN Gallery插件。

This makes users able to link galleries to posts, pages and custom post types.

这使用户能够将画廊链接到帖子,页面和自定义帖子类型。

Compatibility

兼容性

This add-on will work with version 4 and up of the ACF plugin.

此插件将与版本4及更高版本的ACF插件一起使用。

Issues?

问题?

If you discover any bugs or have any feature requests, I would like to refer you to the Github Repository<

如果您发现任何错误或有任何功能请求,我想带您参考 Github存储库<

/a> of this script.

/ a>此脚本。

安装步骤

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

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

Plugin

插件

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

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

    Include

    包含

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

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

        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 nggallery-v4.php file)

        编辑您的functions.php文件并添加下面的代码(确保路径正确以包含nggallery-v4.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-nggalleryggallery-v4.php’);

        include_once(‘acf-nggallery / nggallery-v4.php’);

        }

        }

下载地址

https://downloads.wordpress.org/plugin/advanced-custom-fields-nextgen-gallery-custom-field.zip

https://downloads.wordpress.org/plugin/advanced-custom-fields-nextgen-gallery-custom-field.zip

-EOF-

AI助手支持GPT4.0