# Simplify the Editor's Typography Controls

> Hides letter spacing, text transform, text decoration, font style, font weight, line height and writing mode controls, leaving a calmer sidebar for content editors.

- Type: PHP
- Runs: Run everywhere
- Category: [Block Editor](https://wpide.com/library/category/gutenberg/)
- Tags: typography, editor, simplify
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/simplify-typography-controls/

## Code

```php
add_filter( 'wp_theme_json_data_theme', function ( $theme_json ) {
    return $theme_json->update_with( array(
        'version'  => 3,
        'settings' => array(
            'typography' => array(
                'letterSpacing'  => false,
                'textTransform'  => false,
                'textDecoration' => false,
                'fontStyle'      => false,
                'fontWeight'     => false,
                'lineHeight'     => false,
                'writingMode'    => false,
            ),
        ),
    ) );
} );
```

## Notes

Remove lines from the list to keep a control.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Simplify the Editor's Typography Controls" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
