[wordpress插件] Flexible Content Extended for Advanced Custom Fields扩展了高级自定义字段的灵活内容

wordpress 插件 文章 2020-01-26 14:40 518 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

Extends the ACF Flexible Content Field by transforming the layout list into a modal with image previews.

通过将布局列表转换为带有图像预览的模式来扩展ACF灵活内容字段。

Editing the fields layouts also happens in a modal for a better editing user experience.

编辑字段布局也可以以模态进行,以提供更好的编辑用户体验。

Image Conventions

图像约定

    • The size of the image should be 730 x 300.
    • 图片大小应为730 x 300。

    • They should be named based on the layout’s name (text_block) with underscores converted to dashes (text-block.jpg).
    • 应根据版面名称( text_block )命名,并将下划线转换为短划线( text-block.jpg )。

    Image Location

    图片位置

    Images should be placed in your theme.

    图像应放置在主题中。

    By default, images are located here: THEME/lib/admin/images/acf-flexible-content-extended.

    默认情况下,图像位于以下位置: THEME / lib / admin / images / acf-flexible-content-extended

    Also note that you can filter this path, but it MUST be in your theme:

    还请注意,您可以过滤此路径,但必须必须在您的主题中:

    `php

     `php

    add_filter( ‘acf-flexible-content-extended.images_path’, $path );
        

    add_filter('acf-flexible-content-extended.images_path',$ path);
        

    `

    `

    NOTE: The path should not have a trailing beginning or trailing slash!

    注意:路径中不应包含尾随的开始或结尾的斜杠!

    Additionally, you could filter all keys and/or images:

    此外,您可以过滤所有键和/或图像:

    `php

     `php

    add_filter( ‘acf-flexible-content-extended.images’, $images );
        

    add_filter('acf-flexible-content-extended.images',$ images);
        

    `

    `

    Issues & Feature Requests

    问题和功能请求

    If you identify any errors or have an idea for improving the plugin, feel free to open an issue or create a pull request.

    nofollow“>问题或创建提取请求

    Please provide as much info as needed in order to help resolving or approve your request.

    请根据需要提供尽可能多的信息,以帮助解决或批准您的请求。

安装步骤

This plugin works only if the ACF Pro >= 5.7.O plugin is installed and activated.

仅当安装并激活了 ACF Pro> = 5.7.O 插件时,此插件才起作用。

p>

>

Requirements

要求

    • ACF Pro >= 5.7.O
    • ACF Pro> = 5.7.O

    • WordPress 4.7+ because of get_theme_file_uri()
    • WordPress 4.7+,因为 get_theme_file_uri()

    • Tested up to WP 5.3
    • 经过WP 5.3测试

    • Browser Support:

    • 浏览器支持:

        • Last 2 Firefox major versions
        • 最近2个Firefox主要版本

        • Last 2 Safari major versions
        • 最近2个Safari主要版本

        • Last 2 Edge major versions
        • 最后2个Edge主要版本

        • Last 2 Chrome major versions
        • 最近2个Chrome主要版本

      • PHP 5.6+
      • PHP 5.6 +

      From your WordPress dashboard

      从您的WordPress仪表板中

        1. Visit Plugins > Add New
        2. 访问插件>添加新内容

        3. Search for “Flexible Content Extended for Advanced Custom Fields”
        4. 搜索“扩展了高级自定义字段的灵活内容”

        5. Activate Flexible Content Extended for Advanced Custom Fields from your Plugins page
        6. 激活扩展了“插件”页面中“高级自定义字段”的灵活内容

        7. Add images to your theme in THEME/lib/admin/images/acf-flexible-content-extended or customize the path using add_filter( 'acf

          THEME / lib / admin / images / acf-flexible-content-extended 中将

        8. 添加图像到主题中,或使用 add_filter('acf

          -flexible-content-extended.images_path', $path );

        9. -flexible-content-extended.images_path',$ path);

下载地址

https://downloads.wordpress.org/plugin/acf-flexible-content-extended.zip

https://downloads.wordpress.org/plugin/acf-flexible-content-extended.zip

-EOF-

AI助手支持GPT4.0