Skip to content

My boilerplate solution do developing a flexible WordPress child theme leveraging GeneratePress as a parent theme

Notifications You must be signed in to change notification settings

LyleBennett/child-theme-boilerplate

Repository files navigation

Child Theme Boilerplate

My boilerplate solution do developing a flexible WordPress child theme leveraging GeneratePress as a parent theme. Recommended for developing locally, then uploading the built files.

Install & Run Locally

Make sure you have a parent theme as well (this is child theme of GeneratePress)

Clone the project into the themes folder of your WordPress install.

  git clone https://github.com/LyleBennett/child-theme-boilerplate.git

Go to the project directory

  cd child-theme-boilerplate

Install dependencies

  npm install
  npm install --global gulp-cli

Start the compiler

  gulp

Features

  • Can use scss which is compiled into style.css and editor-styles.css
  • The theme js is also minified, can create multiple js files which will be concatenated and minified into 1 js file which is enqued and localized for wp-ajax requests.
  • Works with GeneratePress, change "Template" in style.scss to the name of your parent theme if needed.

About

My boilerplate solution do developing a flexible WordPress child theme leveraging GeneratePress as a parent theme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published