ralfhortt/wordpress-theme-boilerplate

There is no license information available for the latest version (dev-master) of this package.

A WordPress Boilerplate Theme by Ralf Hortt

dev-master 2025-08-22 06:38 UTC

README

Documentation

Every folder contains a README.md with further instructions

Installation

$ composer create-project ralfhortt/wordpress-theme-boilerplate Check INSTALLATION.md for detailed installation steps

Development

Commands

  • npm run make:block to interactively create a new json file for a block in src/themes/blocks/blockname.
  • npm run make:style to interactively create a block style in `src/themes/namespace/blockname
  • npm run make:clamp to calculate CSS clamp values for responsive design based on viewport sizes.
  • npm run build:theme to build the theme.json file from src/themes/ and copying the block styles to styles folder

Build Process

Production

  • Run npm run build for production build

Development

  • Run npm run start

Linters

Run npm run lint

Fixers

Run npm run fix for auto fixing