kirki-framework/field-typography

Typography field for the Kirki Customizer framework.

This package's canonical repository appears to be gone and the package has been frozen as a result.

v1.0.6 2022-02-11 15:40 UTC

This package is auto-updated.

Last update: 2023-01-11 17:40:14 UTC


README

The typography field is an easy way to add multiple customizer controls in order to provide a unified experience and implementation for typography settings.

it is not a customizer control and therefore can't be used via the WordPress Customizer API. It is a shortcut for the Kirki API. If you want to achieve a similar result using the customizer API you can add separate controls for each property. For details on what controls and options are added you can take a look at the src/Field/Typography.php file.

Installation

You can install this package using Composer:

composer require kirki-framework/field-typography

Make sure you include the autoloader:

require_once get_parent_theme_file_path( 'vendor/autoload.php' );