/quest4positivity-theme

The Quest 4 Positivity Theme (quest4positivity.com)

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

My Starter Theme

This is where I start with custom WP builds

Technology

  • SASS CSS Pre-Processor
  • Gulp For compiling minified CSS and JS

Requirements

  • Node (npm cli)
  • Grunt (grunt cli)

Quick Start

  • Clone Repo into your themes directory

Build

  • Open theme directory in Terminal
  • Run npm install
  • Run gulp sass
  • Run gulp js

To Add JS or CSS

Enqueue scripts in theme-enqueue.php.
To add scripts to gulp task add them to the jsFileList array in gulpfile.js

Bootstrap

Twitter Bootstrap is included,

Customizing Bootstrap SASS
Open /assets/scss/_bootstrap-custom and comment out any css you do not need for your build.

Customizing Bootstrap JS
Open GruntFile.js and comment out any JS files you do not need from the jsFileList array.

Gulp

  • gulp sass - Minify CSS
  • gulp js - Concatenate & Minify JS