WordPress / theme-experiments

Experimenting with themes made out of blocks.
GNU General Public License v2.0
546 stars 180 forks source link

Create a theme experiment to demo dynamic "FSE only" blocks used in classic themes. #194

Closed pbking closed 3 years ago

pbking commented 3 years ago

This is a VERY barebones theme created just to demonstrate a "dynamic block" being used in a classic theme.php file.

In this way a "classic theme" could begin to migrate away from using and toward using Template Tags.

Since "FSE" templates use HTML templating instead of PHP they MUST use these tags. It would be greatly beneficial for classic themes to BE ABLE to use these dynamic tags.

There has been discussion regarding these tags "being available in certain situations" (such as a user switching away from a FSE theme where those tags are used in block templates for example).

I see value in ANY theme being able to use these blocks as a way to migrate towards using the technologies available to "FSE" themes.

image