Skip to content

RickeyMessick/wd_s

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wd_s

A new project boilerplate.

Includes

Installation

Use Yeoman

npm install -g yo generator-wd-s - Install Yeoman and the wd_s generator

yo wd-s - In the wp-content folder of a new project, follow the prompts and a new magically created wd_s install with your project name in it's place!

Clone

You'll need to clone recursive this repo, not download the zip! (It includes other Github submodules and they won't be included in the zip)

  • Via command line / Terminal:

    git clone --recursive git@github.com:WebDevStudios/wd_s.git

  • Via SourceTree/Tower:

    Clone normally, but select "Recurse submodules"

Getting Started

You'll need to change all instances of the names: _s.

  • Search for: '_s' and replace with: 'project-name'
    • (inside single quotations) to capture the text domain
  • Search for: _s_ and replace with: project-name_
    • to capture all the function names
  • Search for: Text Domain: _s and replace with: Text Domain: project-name in style.css.
  • Search for:  _s and replace with:  Project Name
    • (with a space before it) to capture DocBlocks.
  • Search for: _s- and replace with: project-name-
    • to capture prefixed handles
  • Search for _S_ and replace with: Project_Name_
    • to capture class names

Compiling with Grunt (via Command Line)

grunt javascript - Concatenate and minify javascript files.

grunt styles - Comb, compile, prefix, combine media queries, and minify scss files.

grunt watch - Automatically handle changes to javascript and css files.

grunt imageminnewer - Minify images

grunt - Do it all once!

About

A new project boilerplate.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published