Skip to content

A repository for the Foundation 5 Starter theme based on Underscores _s

Notifications You must be signed in to change notification settings

BronsonQuick/Flair

Repository files navigation

Travis Build Status

"Flair" is Sennza's WordPress Foundation 5.5.3 + _s Starter theme

Prerequisites

This setup works well with Chassis.

Requirements

You'll need to have the following items installed before continuing.

  • Node.js: Use the installer provided on the NodeJS website.
  • Grunt: Run [sudo] npm install -g grunt-cli
  • Bower: Run [sudo] npm install -g bower

Quickstart

git clone git@github.com:sennza/Flair.git yourtheme
npm install && bower install
grunt setup

While you're working on your project, run:

grunt

And you're set!

Directory Structure

  • assets/: Any media (SCSS, JS, Images) should be contained in this folder.
  • assets/scss/_settings.scss: Foundation configuration settings go in here
  • assets/scss/app.scss: Application styles go here
  • parts: All get_template_parts are stored in here
  • templates: All Page Templates are stored in here
  • inc: Any complex filters and actions should go in here to reduce the bloat of functions.php. Note: Any files in the root will be automagically included in your theme.

Foundation Support

In functions.php there are some commented out add_theme_support lines which when uncommented will add theme suppport for Foundations:

Package as Zip

If you'd like to package your theme for installing from the WordPress Administration Panel run:

grunt build

The grunt task creates a file named flair-theme.zip in the releases folder root of the theme directory. Your theme files will be inside a version numbered folder. You can alter the version number and the name of the zip by altering the name and version in package.json

About

A repository for the Foundation 5 Starter theme based on Underscores _s

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages