Skip to content

An opinionated WordPress theme boilerplate using best practices. Designed to get things done quickly ✅

Notifications You must be signed in to change notification settings

sammckay10/sensible-wordpress-theme-boilerplate

Repository files navigation

A Sensible WordPress Theme Boilerplate

An opinionated WordPress theme boilerplate using best practices. Designed to get things done quickly ✅

Features:

Installation:

Clone the repository into your theme directory (usually /wp-content/themes/) with a name of your choice

git clone https://github.com/sammckay10/sensible-wordpress-theme-boilerplate desired-name-for-your-new-theme

Install dependencies with Yarn or NPM (in new theme folder)

yarn || npm install

Copy .env.example to .env & change DEV_URL to the correct address for your development site

DEV_URL=http://example.com

Run the appropriate script (in new theme folder)

yarn start // for development server
yarn build // for production build