block-theme
block-theme copied to clipboard
A starter block theme for modern WordPress developers.
This is a relic of underscores and the older way of using template parts, but it feels like FSE is not really going to use this. So I think header/footer...
Reminder to add `max-width: 100%;` in setup.php
This theme uses font-size names based on semantic elements, `h1`, `h2`, etc because marketing/design-focused clients are used to that. I think that after 6.6 and theme.json-v3, it makes more sense...
As WordPress 6.6 introduces section styles, consider adding a default example and anything else that might be useful (scaffolding support from the command line?) A useful default example could be...
We're using the wrong schema URL apparently, which is showing warnings on v2 https://make.wordpress.org/core/2024/06/19/theme-json-version-3/
Fränk Klein has a great article about using the content and wide max-widths as the default sizes for medium and large images: https://wpdevelopment.courses/articles/performant-images-in-block-themes/ Could probably use a function to generate...
I have a few utilities I've been thinking about bundling into this theme, but not sure if it's a good idea or not... open for discussion and ideas. - [...
Just curious if theres a recommended way to set up blocks using the Interactivity API with block-theme. Looks like with the current @wordpress/wp-scripts version we need to add the `--experimental-modules`...
The new addition of RTL files is triggering errors with some of the automatic enqueue stuff happening in `enqueue_block_specific_styles` See https://github.com/WordPress/gutenberg/pull/61540
Closes #250