Giter Club home page Giter Club logo

blank-theme's Introduction

Blank Theme

Blank Theme is a custom blank theme created with underscore theme, which includes foundation basic grid system and some basic customizer settings which are required in almost all projects.

Last Synced with underscore theme : Dec 12, 2015

What more does it have?

  1. WordPress Customizer is already setup with some basic customizer settings.

  2. Basic foundation grids.

  3. Ready made mobile menu.

  4. Removed some unnecessary saas files and folder which are shipped with underscore theme.

  5. Css fixes, in underscore and helpful css classes.

  6. Some helpful php functions.

  7. Grunt file and configration.

  8. Slick Slider

  9. Dev Lib - https://github.com/xwp/wp-dev-lib

and more..

Getting Started

  1. Search for 'blank-theme' (inside single quotations) to capture the text domain.
  2. Search for blank_theme_ to capture all the function names.
  3. Search for Text Domain: blank-theme in style.css.
  4. Search for  Blank Theme (with a space before it) to capture DocBlocks.
  5. Search for blank-theme- to capture prefixed handles.
  6. Install PHP_CodeSniffer
  7. Install wp-dev-lib
  8. Setup pre-commit hook

Install Grunt Packages

Recommended command to install grunt packages,

npm install --save-dev grunt grunt-autoprefixer grunt-checktextdomain grunt-combine-media-queries grunt-contrib-sass grunt-contrib-uglify grunt-contrib-watch grunt-wp-i18n load-grunt-tasks

Setup PHP_CodeSniffer

Install PEAR

sudo apt-get install php-pear

Install PHP_CodeSniffer

pear install PHP_CodeSniffer

Setup WordPress Coding Standards

cd $(pear config-get php_dir)/PHP/CodeSniffer/Standards
[sudo] git clone git://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git

To setup WordPress Coding Standards

[sudo] ln -s WordPress-Coding-Standards/WordPress WordPress
[sudo] ln -s WordPress-Coding-Standards/WordPress-Core WordPress-Core
[sudo] ln -s WordPress-Coding-Standards/WordPress-Docs WordPress-Docs
[sudo] ln -s WordPress-Coding-Standards/WordPress-VIP WordPress-VIP
[sudo] ln -s WordPress-Coding-Standards/WordPress-Extra WordPress-Extra

Install wp-dev-lib as submodule

Clone with submodule

git clone --recursive [email protected]:rtCamp/blank-theme.git

OR

To install as Git submodule (recommended):

git submodule add -b master https://github.com/xwp/wp-dev-lib.git dev-lib

Install dev-lib submodule for downloaded .zip file (recommended):

git submodule update --remote dev-lib

Setup pre-commit hook

To install the pre-commit hook, symlink to pre-commit from your project's .git/hooks/pre-commit:

cd .git/hooks && ln -s ../../dev-lib/pre-commit . && cd -

Good luck!

blank-theme's People

Contributors

manishsongirkar avatar mohdsayed avatar

Watchers

James Cloos 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.