=== Blade === Contributors: konvent Tags: Blade, Laravel, Template, Engine Requires at least: 3.0.0 Tested up to: 3.5.1 Stable tag: 0.1.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Brings Laravel's great template engine, Blade, to Wordpress. Just install and start using blade in your theme. == Description == Note that the plugin is in beta and changes made in the future could result in your current code no longer working. Blade is the templae engine for Laravel, a very popular php framework, developed by Taylor Otwell. This plugin brings the same template engine to wordpress. Using a template engine will result in much cleaner template files and quicker development. Normal php can still be used in the template files. The plugin also adds a wordpress specific snippet to blade. Check out the examples for more info. = echo/print = `` can be replaced with... `{{$foo}}` = post data = `` can be replaced with... `{{the_title()}}` = if() = ` ` can be replaced with... `@if(has_post_thumbnail()) {{the_post_thumbnail() }} @else @endif` = the loop = `` can be replaced with... `` = Including files = Files included with functions, e.g. the_header(), will not be compiled by Blade, however the php code in the file is still executed. To include a file use: `@include('header')` Note that you should not type “.php”. You can also use layouts. master.php: `
@yield('content')
` page.php: `@layout('master') @section('content')

Lorem ipsum

@endsection` See the [Blade documentation](http://three.laravel.com/docs/views/templating "Laravel 3 Templating") for more info == Installation == 1. Upload folder `blade` to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress 1. Make sure that `/wp-content/plugins/blade/storage/views/` is writable by php 1. Done! You can now use Blade in your theme == Changelog == = 0.1.0 = * initial (beta)