[Block Themes] Consider an FSE-compatible approach to starter content #35680
Comments
22 tasks
Thinking about this... it's a tricky problem, excuse the rough notes! This is how starter content works currently:
But full site editing is different:
Perhaps we can set up a system where the theme can define a set of fake entities that the block editor loads into I'm also not sure if it will be confusing that starter content looks exactly like real content except for that it disappears when you make a change and doesn't appear in the site's frontend. I suppose we already have this problem. Still, this is a good opportunity to figure out if there is a better way to solve the problem that starter content solves. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The legacy way of providing starter content for themes relied on users visiting the customizer after a fresh install:
Gutenberg currently hides the Customizer, so that's not possible for block themes. For Twenty Twenty-Two (WordPress/twentytwentytwo#116), I'd like to at least have us set a static homepage on a fresh install of the theme, but there's no FSE-based way of making that happen.
How can we make that happen? And beyond that, the previous way of entering starter content relied on a bunch of post markup sitting inside of PHP. Is there a way we can improve that now that we're working with HTML templates?
The text was updated successfully, but these errors were encountered: