The latest version of WordPress has made one key change that we need to be aware of before jumping into the next lesson.
When we are creating a new block theme folder (and files) in the next lesson, please note that in addition to the index.php
and style.css
files, you’ll also need to create an empty file in the root of the folder named theme.json
Without the empty theme.json
file in the root of your theme folder the in-browser Admin Editing Screen for your block theme will appear to be completely empty. Don’t worry, later in this chapter you’ll learn how to actually include options in your theme.json
file, but for now, in the next lesson, you can simply create the new file and leave it entirely blank to make sure that your Editing screen loads properly.