ACF CSS ADD-ON

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. The brush icon co

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tag

ACF CSS ADD-ON

Description

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.
The brush icon corresponds to the ACF CSS ADD-ON feature. 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. text, url, password, textarea
Use get_sub_field_classes(‘fieldname’) for sub-fields eg. repeater, flexible content
Use get_field_classes(‘fieldname’, ‘option’) for simple fields eg. text, url, password, textarea in options page
Use get_sub_field_classes(‘fieldname’, ‘option’) for sub-fields eg. repeater, flexible content in options page
To add multiple classes, seperate the classes with spaces.