Hi. I'm a starter theme built on top of a theme called _s, or underscores.
PHP CSS CoffeeScript JavaScript Shell Ruby
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 55 commits ahead, 724 commits behind Automattic:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
inc
languages
layouts
.bowerrc
.gitignore
404.php
CONTRIBUTING.md
Gemfile
Gemfile.lock
Gulpfile.coffee
Gulpfile.js
README.md
archive.php
bower.json
coffeelint.json
comments.php
content-none.php
content-page.php
content-single.php
content.php
footer.php
front-page.php
functions.php
gulp.sh
header.php
index.php
package.json
page.php
rtl.css
screenshot.png
search.php
sidebar.php
single.php
style.css

README.md

_s

Getting Started

Installing Dependencies

  1. Run $ ./gulp.sh in your terminal of choice from the root directory of this theme. This will install any required ruby gems and node modules.

Update Namespace

  1. Search for '_s' (inside single quotations) to capture the text domain.
  2. Search for _s_ to capture all the function names.
  3. Search for Text Domain: _s in style.css.
  4. Search for  _s (with a space before it) to capture DocBlocks.
  5. Search for _s- to capture prefixed handles.

OR

  • Search for: '_s' and replace with: 'megatherium'
  • Search for: _s_ and replace with: megatherium_
  • Search for: Text Domain: _s and replace with: Text Domain: megatherium in style.css.
  • Search for:  _s and replace with:  Megatherium
  • Search for: _s- and replace with: megatherium-

Then, update the stylesheet header in gulpfile.coffee which will compile and inject itself into style.css

Gulp

This theme has two modes, development and production. This was built this way to keep the gulp task processing speed to a minimum and allow one to read the files without them being minified.

Development

$ gulp of $ gulp --env=dev

Production

$ gulp of $ gulp --env=prod