Theme Supports

WordPress supplies hooks that allow a developer to de/activate certain features of the block editor. Within the child theme starter, certain theme supports have been active, and other deactivated. Within the child theme, the developer can un/comment the feature for the specific project within the theme-support.php file.

The WordPress Block Developer handbook provides an overview of Theme Supports and all the options available up to the latest version of WordPress.

Default active theme support

Default removed theme support

Below are some optional settings to activate

Additional settings available in future versions of WordPress

These settings cannot be activated within the setup_theme_supported_features function, due to additional configurations settings

Note: these can be set in theme.json which is usually preferred.

  • custom_units
  • editor-color-palette
  • editor-gradient-presets
  • editor-font-sizes

Options that can be switched via theme.json