Skip to content

Commit

Permalink
Update theme-support.md (#23310)
Browse files Browse the repository at this point in the history
@mkaz adding theme supports available in the latest release
  • Loading branch information
itsjusteileen authored Jun 19, 2020
1 parent c33a5a5 commit 6f9217d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/designers-developers/developers/themes/theme-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,3 +353,19 @@ To make the content resize and keep its aspect ratio, the `<body>` element needs
```php
add_theme_support( 'responsive-embeds' );
```

## Experimental — Cover block padding

In the Guteberg plugin 8.3, Cover blocks can provide padding controls in the editor for users. This is not avaialble by default, and requires the theme to opt in by declaring support:

```php
add_theme_support('experimental-custom-spacing');
```

## Experimental — Link color control

In the Guteberg plugin 8.3, link color control is available to the Paragraph, Heading, Group, Columns, and Media & Text blocks. This is not avaialble by default, and requires the theme to opt in by declaring support:

```php
add_theme_support('experimental-link-color');
```

0 comments on commit 6f9217d

Please sign in to comment.