This child theme boilerplate streamlines development using a Gulp workflow to watch, concatenate, minify, and optimize files for production.
Node.js: This child theme requires Node.js 20 or later to run Gulp.
Use Node.js version 20.11.0 or higher.
To install Node.js, follow one of these methods:
- Using nvm:
nvm install node
- Using Homebrew:
brew install node
Download pre-built packages from the Node.js website for your particular Operating System.
Bun can be used as the package manager in replacement of npm to install packages up to 30x faster. Bun can be installed via curl, npm, or homebrew:
-
Install the child theme into the WordPress theme directory at /wp-content/themes/.
-
Navigate to the wp-gulp-child-theme directory:
-
Choose a package manager to install dependencies:
With bun:
bun install
With npm:
npm install
This child theme uses an automated tasks using gulp to watch and process files. Execute the script defined in its package.json:
npm run dev