justintadlock / hybrid-customize
Additional WordPress customizer controls and settings for the Hybrid Core framework.
Installs: 1 791
Dependents: 1
Suggesters: 0
Security: 0
Stars: 13
Watchers: 5
Forks: 4
Open Issues: 3
Requires
- php: >=7.4
- themehybrid/hybrid-contracts: ^1.0 || ^2.0
- themehybrid/hybrid-core: ^6.0 || ^7.0
README
Hybrid Customize is an add-on package for the Hybrid Core WordPress theme framework that creates extra controls and settings that theme authors can use to build their themes.
The following controls are available:
- Checkbox Multiple: Displays a list of checkboxes to choose multiple values.
- Dropdown Terms: Outputs a dropdown select of a given list of taxonomy terms.
- Palette: Creates a selection of color palettes to choose from.
- Radio Image: Replaces radio buttons with custom images.
- Select Group: Displays a dropdown select that supports grouping.
- Select Multiple: Creates a multiple select box.
The following settings are available:
- Array Map: Allows you to store an array of values as a theme setting. Sanitize callback is run through
array_map()
. - Image Data: When used with the core WP image control, saves the image URL, height, width, and ID in an extra theme mod (note: only works with theme mods).
Requirements
- WordPress 4.9+.
- PHP 7.4+ (preferably 8+).
- Composer for managing PHP dependencies.
Documentation
You need to register the service provider during your bootstrapping process:
$slug->provider( \Hybrid\Customize\Provider::class );
This is basically going to set up and ready any JS-based customizer controls.
Copyright and License
This project is licensed under the GNU GPL, version 2 or later.
2008 – 2024 © Theme Hybrid.