Step 1: Basic Theme Structure – FSE Theme Development

Anatoliy DovgunAnatoliy Dovgun
1 min read

Step 1: Basic Theme Structure

Create the fundamental folder structure for a Full Site Editor (FSE) theme following WordPress best practices.

Code Snippet:

cd wp-content/themes/starry
mkdir -p {assets/{css,js,images},inc,parts,patterns,styles,templates}

What This Creates:

  • assets/ – Static files (CSS, JS, images)

  • inc/ – PHP includes and functions

  • parts/ – Template parts (header, footer, etc.)

  • patterns/ – Block patterns

  • styles/ – Theme style variations

  • templates/ – HTML template files

Next Step:

After creating the structure, we’ll add the essential theme files (style.css, theme.json, functions.php).


Resources & References

0
Subscribe to my newsletter

Read articles from Anatoliy Dovgun directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Anatoliy Dovgun
Anatoliy Dovgun