Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reyhoun/acf-background
Background field include all background css attribute and compatible with Reyhoun SassWatcher plugin.
https://github.com/reyhoun/acf-background
Last synced: 27 days ago
JSON representation
Background field include all background css attribute and compatible with Reyhoun SassWatcher plugin.
- Host: GitHub
- URL: https://github.com/reyhoun/acf-background
- Owner: reyhoun
- Created: 2014-08-19T13:49:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-02T09:42:16.000Z (almost 8 years ago)
- Last Synced: 2024-08-03T17:10:30.149Z (4 months ago)
- Language: PHP
- Size: 445 KB
- Stars: 26
- Watchers: 5
- Forks: 4
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-acf - Background - provides a field containing the all background css attribute. (Third-Party Add-Ons)
README
# ACF Background Field
![enter image description here](http://reyhoun.com/lab/acf-background.png)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 files
* `acf-background.php`: Main plugin file that includes the correct field file based on the ACF version
* `acf-background-v5.php`: Field class compatible with ACF version 5
* `acf-background-v4.php`: Field class compatible with ACF version 4
* `readme.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
1. Copy the `acf-background` folder into your `wp-content/plugins` folder
2. Activate the Background plugin via the plugins admin page
3. Create a new field via ACF and select the Background type
4. 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