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.
还将课程添加到选项页面。 p>
Arbitrary section
任意部分 h3>
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.
要添加多个类,请用空格分隔这些类。 p>