Light, well-structured wordpress theme framework based on “Laravel Blade” template engine and on conception to separate template logic from view.
Blade is the simple, yet powerful templating engine provided with Laravel. Unlike other popular PHP templating engines, Blade does not restrict you from using plain PHP code in your views. All Blade views are compiled into plain PHP code and cached until they are modified, meaning Blade adds essentially zero overhead to your application.
The biggest problem with wordpress theme development is that you always need to repeat same code. New approach, that assumes that template data will be collected and prepared separately from actual render allows you to have the project structured more accurate.
ClassyTemplate
repeats the wordpress template hierarchy and uses it separately for scopes and templates. This allows to use the same scope with different templates and different scopes with the same template.
- Navigate to your WordPress themes directory
cd ~/Sites/mysite/wp-content/themes
- Clone repository
git clone [email protected]:anrw/wp-scratch-theme.git
- Navigate to it
cd wp-scratch-theme
- Install composer dependencies
composer install
PHP: 5.4+