There are 2 methods to include Kirki in your theme.
- Recommend (or require) the installation of Kirki as a plugin
- Embed Kirki directly in your theme
Require the official Kirki plugin
A word of caution for themes on wordpress.org:
If your theme will be distributed via wordpress.org you cannot require the installation of plugins but you can recommend them. That means that the theme will still have to work when Kirki is not installed, for which we have already built a fallback PHP Class you can use in your themes here.
Embed in your theme
Though we do not recommend embedding Kirki in your theme, it is still possible to do so. You can simply copy the plugin in your theme and then include the main plugin file – for instance – from your themes