frozzare/papi-property-color
最新稳定版本:v1.0.0
Composer 安装命令:
composer require frozzare/papi-property-color
包简介
Color picker property for Papi
关键字:
README 文档
README
Do not use this anymore. It exists in Papi core.
Color picker property for Papi that use the Color Picker API in WordPress. Will not work for WordPress versions lower then 3.5, read more about the color picker here.
Settings
WordPress color picker support custom palettes so you can change them with the palettes option. Read more about palettes here.
Example property with palettes setting:
$this->property([ 'type' => 'color', 'title' => 'Background color', 'slug' => 'background_color', 'settings' => [ 'palettes' => ['#000', '#fff', '#000fff'] ] ])
Installation
This property requires Papi plugin.
If you're using Composer to manage WordPress, add Papi to your project's dependencies. Run:
composer require frozzare/papi-property-color
License
MIT © Fredrik Forsmo
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-05