Awesome
ACF Background Field
Background field include all background css attribute and compatible with Reyhoun SassWatcher plugin.
Structure
/css
: folder for .css files./js
: folder for .js files/lang
: folder for .pot, .po and .mo filesacf-background.php
: Main plugin file that includes the correct field file based on the ACF versionacf-background-v5.php
: Field class compatible with ACF version 5acf-background-v4.php
: Field class compatible with ACF version 4readme.txt
: WordPress readme file to be used by the wordpress repository
Compatibility
This ACF field type is compatible with:
- ACF 5
- ACF 4
- Reyhoun SassWatcher
Installation
- Copy the
acf-background
folder into yourwp-content/plugins
folder - Activate the Background plugin via the plugins admin page
- Create a new field via ACF and select the Background type
- Please refer to the description for more info regarding the field type settings
Subfields
- Repeat
- Attachment
- Size
- Position
- Clip
- Origin
- Color Picker
- RGBA Color Picker
- Upload Image
- External Image URL