A WordPress starter theme for jumpstarting custom theme development.
Developed by Daniel Hewes, Jake Gully.
| Prerequisite | How to check | How to install |
|---|---|---|
| PHP >= 5.5.9 | php -v |
php.net |
| Node.js >= 5.x.x | node -v |
nodejs.org |
| gulp >= 3.9 | gulp -v |
npm install -g gulp |
| Composer >= 1.0.0-alpha10 | composer -V |
getcomposer.org |
- Download a pre-complied version of the dev branch: Download Zip.
- Download the latest tagged release.
- Clone the git repo and run
bin/setup.sh(from your dev machine).
Once you have activated the theme, access Theme Options (WP Customizer) update an option and select save to commit the default values to the database.
- Bootstrap 4 (Pre-release Alpha 4)
- Multilingual ready (WPML)
- Responsive
- Theme Options via WP Customizer (Native)
- Admin login screen logo
- Google Analytics
- Social links
- Sticky menu
- Sticky footer
- Left/Center/Right menu positions
- Telephone number
- Email address
- Company number
- Footer text
- Notification text / EU Cookie notice with top/bottom positions
- Contact form with Google reCAPTCHA and custom email templates
- Maintenance mode
- jQuery in footer
- Critical CSS (with loadCSS function)
- Theme Tracker
- DOM-based routing
- SCSS
- Gulp build script
- Includes eslint and PHP CodeSniffer
- Use
gulp helpfor a full task list with descriptions
- Composer for PHP package management
- Custom Nav-walker Bootstrap 4 ready
- Relative URLs
- Namespaced functions
- Auto post type / slug based template routing
- Shortcodes
- AjaxForm handler class. Easily handle form validation and processing with Wordpress Ajax. Send submitted data via email and/or save it as post meta. Add your own custom validator / processor via a simple function hook.
- Web Font Loader easily and quickly load Google, Typekit and custom fonts.
Docs are provided by README.md files in each directory.
Updates and pull requests should be done on the dev branch.
New features should be done in a separate branch and sent as a pull request.
Nothing should be merged into the master branch until it has been tested on dev and (preferably) approved by all devs.
The dev branch is automatically deployed to http://tofino.lambdacreatives.com so you can test there.
No breaking changes except at major versions.
We use Deploybot. The deployment VM is issued the following commands:
composer install
npm install npm -g
npm install --loglevel error
gulp --production
The following files and directories are excluded from being uploaded:
assets
bin
gulp
node_modules
.eslintrc.yml
.gitattributes
.gitignore
.stylelintrc.yml
.travis.yml
.npmrc
composer.json
composer.lock
gulpfile.js
package.json
npm-shrinkwrap.json
ruleset.xml
**/*.md
