How to add Typography customizer setting with the Kirki Toolkit

This tutorial goes over how to add settings to the WordPress customizer that will allow users to change the typography of the WordPress theme using the Kirki Toolkit.

In the last tutorial, I go over how to add the Kirki Toolkit with the TGM Plugin Activation library. This tutorial will now use the Kirki toolkit to add typography settings in the WordPress customizer.

The follow code is the markup used in the video to add the Typography settings to the WordPress customizer:

Update Notice in the markup below wrapped the Kirki settings with if ( class_exists( 'Kirki' ) ) { ... }. This makes sure the plugin is installed and the Kirki class exists before trying to run the code.