Hi. I'm a starter theme called _s-foundation-sites
, or underscores with foundation
, if you like. I'm based on _s by Automattic (https://github.com/automattic/_s). I'm a theme meant for hacking so don't use me as a Parent Theme. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.
I include the SASS version of Zurb's Foundation for Sites.
You'll need:
- Bower
- NPM
- globally installed Gulp
$ npm install --global gulp
To get started:
- Clone this repo to your WordPress themes directory
- Run
bower install
andnpm install
- Adjust the settings file in
assets/scss
to your needs - Set your dev domain in
gulpfile.js
for BrowserSync to work - Select which Foundation js plugins and utils you wish to use in
gulpfile.js
To replace the default _s prefixes:
- Search for
'_s'
(inside single quotations) to capture the text domain - Search for
_s_
to capture all the function names - Search for
Text Domain: _s
in style.css - Search for
_s
(with a space before it) to capture DocBlocks - Search for
_s-
to capture prefixed handles
To generate stylesheets and javascript files:
- run the default gulp task (
$ gulp
) to generate development files. they are not prefixed or minified and contain source maps - run
$ gulp build
to generate files used in production. minified, autoprefixed and everyting - developmend a production css/js files are loaded based on the
WP_DEBUG
constant defined inwp-config.php
Then, update the stylesheet header in style.css
and the links in footer.php
with your own information. Next, update or delete this readme.
Now you're ready to go! The next step is easy to say, but harder to do: make an awesome WordPress theme. :)
Good luck!