WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
9.92k stars 3.96k forks source link

Templates: allow replacing theme templates with custom templates #61256

Open liviopv opened 1 month ago

liviopv commented 1 month ago

What problem does this address?

The template replacing/swapping option only works with templates bundled in the theme. User might want to design their own templates and use them to replace theme defaults using the options shipped in recent GB versions and WordPress 6.5

What is your proposed solution?

The "Transform Into:" option available in the inspector sidebar for Templates should surface custom templates.

annezazu commented 2 weeks ago

Ah ha. Just ran into this with template parts and I assume it's the same problem. +1 to this cc @scruffian