Regis011 / wp-child-theme-v2

Wordpress Child Theme starter v2 with webpack, sass and DOM-based Routing for JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WP Child Theme V2

Wordpress child theme with webpack. Themes also use DOM-based Routing for JavaScript. Based on Markup-based Unobtrusive Comprehensive DOM-ready Execution by Paul Irish and inspirtion by sage starter theme

The routing fires all common scripts, followed by the page specific scripts.

Installation

Theme requires Node.js v4+ to run. Run on terminal

$ git clone git@github.com:Regis011/wp-child-theme-v2.git [your-name]
$ cd your-name
$ npm install
$ npm run dev

Go to style.css file and change on line 7 - Template: to_your_parent_theme_name.

For production environments...

$ npm run build

About

Wordpress Child Theme starter v2 with webpack, sass and DOM-based Routing for JavaScript

License:GNU General Public License v3.0


Languages

Language:JavaScript 83.2%Language:PHP 10.7%Language:CSS 5.8%Language:SCSS 0.3%