wp font family <command>

Manages font families.

In this article

To list, get, create, update or delete font families, use wp post with --post_type=wp_font_family.

Examples

# Install a font family from a collection
$ wp font family install google-fonts inter
Success: Installed font family "Inter" (ID: 42) with 9 font faces.

# List installed font families
$ wp post list --post_type=wp_font_family

Subcommands

NameDescription
wp font family install

Installs a font family from a collection.

Command documentation is regenerated at every release. To add or update an example, please submit a pull request against the corresponding part of the codebase.