[wordpress插件] ACF CSS ADD-ONACF CSS添加

wordpress 插件 文章 2020-01-26 09:00 530 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

This plugin can be used as an add-on to the Advanced Custom Fields Plugin.

此插件可以用作“高级自定义字段”插件的附件。

Helps you add a class to any of the ACF Custom Fields, including repeater, flexible content.

帮助您将类添加到任何ACF自定义字段,包括转发器,灵活的内容。

The brush icon corresponds to the ACF CSS ADD-ON feature.

画笔图标对应于ACF CSS ADD-ON功能。

You can click on this to add classes for the field.

您可以单击此按钮为该字段添加类。

Add multiple classes to the fields by seperating them with spaces.

通过使用空格将多个类添加到字段中。

Add class to options pages also.

还将课程添加到选项页面。

Arbitrary section

任意部分

Use get_field_classes(‘fieldname’) for simple fields eg.

将get_field_classes(“ fieldname”)用于简单字段,例如

text, url, password, textarea

文字,网址,密码,文本区域

Use get_sub_field_classes(‘fieldname’) for sub-fields eg.

将get_sub_field_classes(“ fieldname”)用于子字段,例如

repeater, flexible content

中继器,内容灵活

Use get_field_classes(‘fieldname’, ‘option’) for simple fields eg.

将get_field_classes('fieldname','option')用于简单字段,例如

text, url, password, textarea in options page

选项页面中的文本,URL,密码,文本区域

Use get_sub_field_classes(‘fieldname’, ‘option’) for sub-fields eg.

将get_sub_field_classes('fieldname','option')用于子字段,例如。

repeater, flexible content in options page

中继器,选项页面中的灵活内容

To add multiple classes, seperate the classes with spaces.

要添加多个类,请用空格分隔这些类。

安装步骤

From your WordPress dashboard

从您的WordPress仪表板中

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

    3. Search for “ACF CSS Add-on”
    4. 搜索以查找“ ACF CSS附加组件”

    5. Activate ACF CSS Add-on from your Plugins page.

      从“插件”页面

    6. 激活 ACF CSS插件。

      Make sure you have installed and activated Advanced Custom Fields Plugin or Advanced Custom Fields Pro Plugin.

    7. 确保已安装并激活“高级自定义字段插件”或“高级自定义字段Pro插件”。

    8. Click on any post that has ACF custom fields and start adding classes.
    9. 点击在具有ACF自定义字段的任何帖子上,然后开始添加类。

    OR

    OR

      1. Upload acfca.php to the /wp-content/plugins/ directory
      2. acfca.php 上载到 / wp-content / plugins / 目录

      3. Activate the plugin through the ‘Plugins’ menu in WordPress
      4. 通过WordPress中的“插件”菜单激活插件

      5. Click on any post that has ACF custom fields and start adding classes.
      6. 点击在具有ACF自定义字段的任何帖子上,然后开始添加类。

下载地址

https://downloads.wordpress.org/plugin/acf-css-add-on.zip

https://downloads.wordpress.org/plugin/acf-css-add-on.zip

-EOF-

AI助手支持GPT4.0