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
-
WordPress Customizer is already setup with some basic customizer settings.
-
Basic foundation grids.
-
Ready made mobile menu.
-
Removed some unnecessary saas files and folder which are shipped with underscore theme.
-
Css fixes, in underscore and helpful css classes.
-
Some helpful php functions.
-
Grunt file and configration.
-
Slick Slider
-
Dev Lib - https://github.com/xwp/wp-dev-lib
and more..
- Search for
'blank-theme'
(inside single quotations) to capture the text domain. - Search for
blank_theme_
to capture all the function names. - Search for
Text Domain: blank-theme
in style.css. - Search for
Blank Theme
(with a space before it) to capture DocBlocks. - Search for
blank-theme-
to capture prefixed handles. - Install PHP_CodeSniffer
- Install wp-dev-lib
- Setup pre-commit hook
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
sudo apt-get install php-pear
pear install PHP_CodeSniffer
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 git@github.com: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
git submodule update --remote dev-lib
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!