Decided I am going to use this site to build my first Full Site Editing WordPress theme.
So all HTML, JSON and CSS. No PHP (well some PHP obvs, it’s still WordPress. You need (for now at least) functions.php so you can add stuff like a custom CSS file and other stuff). I’m going to use this theme by Fränk Klein as a starting point, turning everything off so I can gradually turn it back on again.
I’ve been building themes since 2004, maybe even 2003. It’s going to be weird. 18/19 years of pretty much the same syntax. No idea when I’ll launch it, but sometime soon.
Sleep well sweet prince.
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php the_title(); ?> <?php the_content(); ?> <?php endwhile; ?> <?php endif; ?>