Download the PHP package getolympus/olympus-color-field without Composer
On this page you can find all versions of the php package getolympus/olympus-color-field. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download getolympus/olympus-color-field
More information about getolympus/olympus-color-field
Files in getolympus/olympus-color-field
Download getolympus/olympus-color-field
More information about getolympus/olympus-color-field
Files in getolympus/olympus-color-field
Vendor getolympus
Package olympus-color-field
Short Description Color field, this component is a part of the Olympus Dionysos fields.
License MIT
Homepage https://github.com/GetOlympus/olympus-dionysos-field-color
Package olympus-color-field
Short Description Color field, this component is a part of the Olympus Dionysos fields.
License MIT
Homepage https://github.com/GetOlympus/olympus-dionysos-field-color
Please rate this library. Is it a good library?
Informations about the package olympus-color-field
Dionysos Color Field
This component is a part of the Olympus Dionysos fields for WordPress.
It uses the default WordPress color field.
Field initialization
Use the following lines to add a color field
in your WordPress admin pages or custom post type meta fields:
Variables definitions
Variable | Type | Default value if not set | Accepted values |
---|---|---|---|
title |
String | 'Color' |
empty |
default |
String | empty | Hex color code |
description |
String | empty | empty |
settings |
Array | see Field initialization | see WordPress reference |
Retrive data
Retrieve your value from Database with a simple get_option('my_color_field_id', '')
(see WordPress reference).
Release History
0.0.13
- Use default
getVars
Zeus-Core method. No need to override it anymore
0.0.12
- New Olympus components compatibility
- Change repository to be a part of Dionysos fields
0.0.11
- FIX: json encoder in twig source file
Contributing
- Fork it (https://github.com/GetOlympus/olympus-dionysos-field-color/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
Built with ♥ by Achraf Chouk ~ (c) since a long time.
All versions of olympus-color-field with dependencies
PHP Build Version
Package Version
No informations.
The package getolympus/olympus-color-field contains the following files
Loading the files please wait ....