Skip to content

heyjones/wpbp

Repository files navigation

wpbp

A WordPress Boilerplate Theme

Install

$ npm install

Styles

Add sass libraries to /assets/styles and import in wpbp.scss

https://github.com/sass/node-sass

Scripts

Add js libraries to /assets/scripts and require in wpbp.js. Supports ES6 Syntax.

https://github.com/webpack/webpack

Images

Add image files to /assets/images

https://github.com/Klathmon/imagemin-webpack-plugin

Icons

Add svg files to /assets/icons

https://www.npmjs.com/package/webpack-webfont

Build

Development

$ npm run dev

Production

$ npm run build

Template Hierarchy

No need to learn some abstracted template logic, just use the native WordPress stuff.

https://developer.wordpress.org/themes/basics/template-hierarchy/

About

A WordPress Boilerplate Theme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published