Skip to content

valentin-grenier/wp-boilerplate-fse

Repository files navigation

WP FSE Boilerplate

Studio Val's turn-key starter theme for WordPress Full Site Editing (FSE) — Webpack 5 + Sass, native Gutenberg blocks, modular PHP, automated setup.

Features

  • Full FSE support — templates and parts as native .html files
  • SCSS workflow — separate frontend and editor stylesheets, Webpack 5 (not wp-scripts)
  • Native Gutenberg blocks — registered client-side via registerBlockType (no block.json), scaffoldable via CLI (static or dynamic)
  • Modular PHPinc/ files split by concern: setup, security, performance, blocks…
  • Security hardened — XML-RPC off, file editor blocked, version hidden, ABSPATH guards throughout
  • Automated setup — renames theme, substitutes slugs, installs plugins, creates Git branches

Quick start

Click "Use this template" on GitHub to create your project repo, then:

git clone https://github.com/<your-org>/<your-project>.git my-project
cd my-project
./bin/setup.sh

main is the pristine base — setup.sh substitutes the placeholders, then commits and creates staging + development. (The demo branch shows an installed example.)

For prerequisites, step-by-step install, and deployment configuration see docs/setup.md.

Documentation

Guide Description
docs/setup.md Prerequisites, install steps, script options, GitHub Actions deployment
docs/blocks.md Scaffolding and authoring native Gutenberg blocks

Author

Made by Studio Valstudio-val.fr · @valentin-grenier

License

Dual-licensed: tooling and configuration under MIT, theme code under GPL-2.0-or-later (required by WordPress).

About

A modern, clean, and production-ready starter theme for building custom WordPress Full Site Editing (FSE) themes.

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Contributors