Hybrid Theme 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.
- WordPress 4.9+.
- PHP 5.6+ (preferably 7+).
- Composer for managing PHP dependencies.
This project is only meant to work in conjunction with the Hybrid Core framework. If you're not already working with and building a theme using it, the following will be useless.
First, you'll need to open your command line tool and change directories to your theme folder.
cd path/to/wp-content/themes/<your-theme-name>
Then, use Composer to install the package.
composer require justintadlock/hybrid-theme
You need to register the service provider during your bootstrapping process. In your bootstrapping code, you should have something like the following:
$app = new \Hybrid\Core\Application();
After that point, you can register the service provider:
$app->provider( \Hybrid\Theme\Provider::class );
This is basically going to set up and ready any JS-based customizer controls.
This project is licensed under the GNU GPL, version 2 or later.
2021 © Justin Tadlock.