Skip to content

Add-on for the Hybrid Core framework that provides customizer controls and settings.

License

Notifications You must be signed in to change notification settings

themehybrid/hybrid-customize

Repository files navigation

Hybrid\Customize

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.

About

Add-on for the Hybrid Core framework that provides customizer controls and settings.

Resources

License

Stars

Watchers

Forks

Packages

No packages published