mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-28 21:52:15 +08:00
Update to Kirki 4.0.22
This commit is contained in:
parent
4ff905c2c6
commit
a02e711106
493 changed files with 29670 additions and 39886 deletions
|
@ -0,0 +1,16 @@
|
|||
# control-background
|
||||
|
||||
The background control is a pseudo-control for the Kirki framework. The control itself doesn't exist, it it a proxy for more basic controls. It adds controls for the following properties:
|
||||
|
||||
* background-color
|
||||
* background-image
|
||||
* background-repeat
|
||||
* background-position
|
||||
* background-size
|
||||
* background-attachment
|
||||
|
||||
In addition to the above visible controls, a hidden control is added which contains the value for the sum of the above sub-controls saved as an array.
|
||||
|
||||
The control is only useful when using the Kirki API (which is just a proxy for the WordPress-Core Customizer API) and can not be used as-is using the customizer API directly.
|
||||
|
||||
If you are using the customizer-api directly, you can see what the control does by examining the code it contains in `src/Field/Background.php` and extrapolating the fields you need to use directly from there.
|
Loading…
Add table
Add a link
Reference in a new issue