Skip to content
The Genesis Sample theme with modern build tools like Gulp and Sass
CSS JavaScript PHP
Branch: master
Clone or download
Pull request Compare This branch is 64 commits ahead, 602 commits behind studiopress:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
js
languages
lib
sass
xml
.gitignore
Gulpfile.js
README.md
functions.php
package.json
page_landing.php
screenshot.png
style.css
style.min.css

README.md

Genesis Sample Theme with Gulp & Sass

Hi!

I'm a fork of the official Genesis Sample theme, but with modern build tools like: Gulp, LibSass, PostCSS, Bourbon, Neat, and BrowserSync to help make your development process fast and efficient.

Getting Started

Prerequisites

Because I'm bundled with Gulp, basic knowledge of the command line and the following dependencies are required: Node and Gulp CLI (npm install -g gulp-cli).

Installation Instructions

Download This Theme (.zip)

  1. Add the Genesis Sample theme folder in the wp-content/themes/ directory. (The Genesis parent theme needs to be in the wp-content/themes/ directory as well.)
  2. Go to your WordPress dashboard and select Appearance.
  3. Activate the Genesis Sample theme.
  4. Inside your WordPress dashboard, go to Genesis > Theme Settings and configure them to your liking.

Development

After you've installed and activated me. It's time to setup Gulp.

  1. From the command line, change directories to your new theme directory
cd /your-project/wordpress/wp-content/themes/genesis-sample
  1. Install Node dependencies
npm install

Install and Gulp

Gulp Tasks

From the command line, type any of the following to perform an action:

gulp watch - Automatically handle changes to CSS, JS, SVGs, and image sprites. Also kicks off BrowserSync.

gulp icons - Minify, concatenate, and clean SVG icons.

gulp i18n - Scan the theme and create a POT file

gulp sass:lint - Run Sass against WordPress code standards

gulp scripts - Concatenate and minify javascript files

gulp sprites - Generate an image sprite and the associated Sass (sprite.png)

gulp styles - Compile, prefix, combine media queries, and minify CSS files

gulp - Runs the following tasks at the same time: i18n, icons, scripts, styles, sprites

What about Grunt?

Grunt is still available, but wont be supported going forward. Download the Grunt branch.

Support

You can’t perform that action at this time.