Step 1
Navigate to wp-content/themes
directory in your Development site’s file structure.
Step 2
Create a new directory named
first-block-theme
Step 3
Open the first-block-theme
directory in your IDE
Step 4
create a new file named style.css
Step 5
Add the following code to the file
/*
Theme Name: My First Block Theme
*/
Code language: JSON / JSON with Comments (json)
The header section of style.css will typically contain more information than this but the Theme Name is required in order for WordPress to identify the files in your theme directory as a theme that can be activated.