WordPress / block-theme-examples

A repository of feature examples for block themes.
50 stars 7 forks source link

Create a theme example of Twenty Twenty-Four with locked patterns #6

Open annezazu opened 11 months ago

annezazu commented 11 months ago

To help showcase how folks can curate pieces of the Site Editing experience, I am opening an issue to create a Twenty Twenty-Four with locked patterns, including content only editing. Here's the documentation for the locking APIs.

We might even take this further with a playground environment where someone can view the experience as an admin who can lock/unlock vs a lower user permissions role who doesn't have access to unlock.

I'm hoping to then use this as an example in a WordPress.org/news post highlighting curation tooling and adoption pathways to help encourage adoption and raise awareness on these features alongside broader documentation updates.

justintadlock commented 11 months ago

I put together a first pass at this in the above commit.

justintadlock commented 11 months ago

Note to self: bundle the image with the actual theme. It'd be a good way to show using a dynamic URL in the pattern file itself.

annezazu commented 11 months ago

I dig the first pass! To help demo it, I think it would make sense to throw it into a Page in the Site Editor alongside a pattern without any locking just for comparison in experiences. We can even use the Group block renaming to name each group appropriately.