WordPress Developer Ukraine, Kyiv
Use theme.json Global Styles and Fluid Typography in WordPress Block Themes

Use theme.json Global Styles and Fluid Typography in WordPress Block The ...

theme.json global styles and fluid typography in WordPress block themes theme.json is the single configuration of a block theme: it declares the design tokens (colors, font sizes, font families, spacing), decides which design controls the editor shows, and applies default styles to elements and blocks. WordPress turns it into CSS custom properties and styles that…
Register and Use WordPress Block Patterns for Reusable Layouts

Register and Use WordPress Block Patterns for Reusable Layouts

Register and use WordPress block patterns for reusable layouts Block patterns are ready-made arrangements of blocks that an editor inserts with one click: a hero section, a testimonial grid, a pricing table. For the block editor they are what shortcodes and copy-pasted HTML were for the classic one, only better: after insertion they are normal…
Add Custom Block Patterns and Template Parts to a WordPress Theme

Add Custom Block Patterns and Template Parts to a WordPress Theme

Block patterns and template parts in a block theme A block theme ships two kinds of reusable layout. Template parts (parts/header.html, parts/footer.html) are shared areas that every template includes and that editors change in one place. Block patterns (patterns/*.php) are ready-made sections, such as a hero or a pricing table, that editors insert into a…