GithubHelp home page GithubHelp logo

krishedges / generator-wp-grunted-theme Goto Github PK

View Code? Open in Web Editor NEW

This project forked from handycaps/generator-timtheme

0.0 2.0 0.0 572 KB

A WordPress theme YeoMan generator, to kickstart WordPress theme development with yo, sass and grunt

License: MIT License

generator-wp-grunted-theme's Introduction

alt tag

generator-wp-theme

A WordPress theme Yeoman generator, to kickstart WordPress theme development with yo, sass and grunt.

Note: For now, this generator is an early development version, so expect many changes and some bugs in both the generator and generated theme.

What do you get

  • A fully funtional WordPress theme with a working grunt development environment.
  • The generated theme
  • Well structured SCSS development files
  • A pre-filled HTML documentation based on the Themeforest documentation template
  • grunt tasks for
    • compiling, merging and compressing all SCSS files to one style.css file
    • compiling, merging and compressing all JS files to one file
    • running jshint on all JS files
    • watching all changes and doing the hinting, compiling and merging automatically
    • generating a production ready distribution version of the theme
    • checking all PHP against WordPress coding standards automatically with PHP_Code_Sniffer

Getting Started

Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.

$ npm install -g yo

To install generator-wp-theme from npm, you have to install it from this github repo, run:

$ npm install -g generator-wp-theme

Finally, initiate the generator. The most useful place to run this command is in a working WordPress installations themes directory:

$ yo wp-theme

If you need more information on the provided grunt tasks and theme structure, read through this article on my blog: Yeoman WordPress theme generator โ€“ kickstart a grunting SCSS theme

Getting To Know Yeoman

If you'd like to get to know Yeoman better and meet some of his friends, Grunt and Bower, check out the complete Getting Started Guide.

License

MIT License

generator-wp-grunted-theme's People

Contributors

danielauener avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.