ralfhortt / wordpress-theme-boilerplate
A WordPress Boilerplate Theme by Ralf Hortt
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 5
Open Issues: 3
Language:JavaScript
Type:wordpress-theme
Requires
Requires (Dev)
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.1
- szepeviktor/phpstan-wordpress: ^2.0
This package is auto-updated.
Last update: 2025-05-16 20:03:46 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 namespace/block-name
to create a new json file for a block insrc/themes/blocks/blockname
.npm run make:style namepsace/blockname Title
to create a block style in `src/themes/namespace/blocknamenpm run build:theme
to build the theme.json file fromsrc/themes/
and copying the block styles tostyles
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