1 of 22

FIVE new features

for developers

in WordPress 6.6

JuanMa Garrido

2 of 22

JuanMa Garrido

Full time contributor in WordPress

Developer Relations

Sponsored by Automattic

3 of 22

Above all… more design options

4 of 22

5 of 22

Section Styles

(a.k.a. style variations for groups of blocks)

6 of 22

  • Variations for groups of blocks

Section Styles

7 of 22

  • Support styling inner elements and blocks
  • Registered across multiple block types at the same time
  • Registered via .json under /styles folder
    • “title”, “blockTypes”, “slug”
    • theme.json schema

Section Styles

8 of 22

Color and typography presets

(a.k.a. custom color and typography-only global style variations)

9 of 22

  • Registered via .json under /styles folder
    • Only color or typography settings
    • theme.json schema

Color and typography presets

10 of 22

  • Will appear under:
    • Global Styles > Typography
    • Global Styles > Colors > Palette.

Color and typography presets

11 of 22

Block Pattern Overrides

(a.k.a. partially synced patterns)

12 of 22

Block Pattern Overrides

13 of 22

  • It internally leverages Block Bindings and and content-only editing

  • Limitations
    • The number of supported blocks and attributes is limited
    • There is currently no opt-in mechanism for custom blocks.
    • Synced Patterns are only stored in the database and cannot be packaged as pattern files in your theme.

Block Pattern Overrides

14 of 22

15 of 22

16 of 22

New options defaultFontSizes and defaultSpacingSizes (true by default)

theme.json v3

17 of 22

The default fontSizes and spacingSizes presets in been changed to match how other theme.json presets work → from always overriding the default presets to requiring defaultFontSizes or defaultSpacingSizes to be false in order to override the default presets.

theme.json v3

18 of 22

Unified Extensibility between the post and site editors

19 of 22

  • Same Slots for both post editor and site editor
  • @wordpress/editor package (or wp-editor script handle)
    • Previously wp.editSite and wp.editPost

Unified Extensibility between �the post and site editors

20 of 22

Unified Extensibility between �the post and site editors

21 of 22

But wait! There is more…

Check the WordPress 6.6 Field Guide to learn more about developer-related changes included in WordPress 6.6.

22 of 22

Thank you!