Author: Frank Wazeter Author URL: https://wazeter.com
WordPress 5.8 marks a big step towards Full Site Editing and using Block Themes vs. traditional (classic) themes powered primarily by PHP template files. However, using currently experimental features in production is extremely risky due the developmental nature. This code shows how a WordPress theme can support and mimic Gutenberg Plugin's templating system for the block editor/template editor, while not having a dependency on the Gutenberg Plugin itself. Most existing references or documentation have a dependency of some kind on the Gutenberg plugin to make it work.
If full site editing is only fully available in testing, why implement features now in a WordPress classic theme?
The future is undeniably wrapped around full site editing - that everything can be manipulated through blocks and corresponding