Confiture is a modern WordPress theme running almost completely on javascript. It uses Backbone for structure, Handlebars for templating and uses the JSON REST API which will be part of WP core very soon.
Prerequisite | How to check | How to install |
---|---|---|
PHP >= 5.4.x | php -v |
php.net |
Node.js 0.12.x | node -v |
nodejs.org |
grunt >= 0.44 | grunt -v |
npm install -g grunt |
Bower >= 1.3.12 | bower -v |
npm install -g bower |
- No more WordPress template hierarchy, but a clear-cut Javascript powered template engine based on Handlebars.
- Seperate frontend from backend-development and keep things clean.
- Bourbon Neat as our Sass-powered grid-system.
- BrowserSync for keeping browsers and devices synchronised while testing
- GruntJS linting and buildscripts for Javascript & CSS
Clone the git repo - git clone https://github.com/chefduweb/confit.git
and then rename the directory to the name of your theme or website, or install with composer:
composer require chefduweb/confit
If you install using composer, Confiture will use WPackagist to load in in the JSON REST API as a dependency.
After you have all the files you need to let NPM and bower install the other packages:
- navigate to the confit folder using your command line tool
- type
npm install
to install the workflow packages. - type
bower install
to install all frontend dependencies.
After installing all dependencies you need to change one Url in package.json
:
change the appUrl
variable to the url of your WordPress site (BrowserSync uses this variable to create proxies).
The theme was created by Luc Princen, who continues to lead the development.
All issues and pull requests should be filled on the chefduweb/confit repository.
The Confiture Theme is open-source software licensed under GPL-2+ license.