Title: Blade Engine
Author: Lars Jansen
Published: <strong>2017(&#101;)k&#111; abuztua&#114;&#101;&#110; 6(&#97;)</strong>
Last modified: 2017(&#101;)k&#111; abuztua&#114;&#101;&#110; 6(&#97;)

---

Bilatu pluginak

![](https://ps.w.org/wp-blade-engine/assets/banner-772x250.png?rev=1709215)

Plugin hau **ez da probatu WordPressen azken 3 bertsio garrantzitsuenekin**. Baliteke,
jada, mantentze edo euskarririk ez izatea, eta, WordPressen bertsio berriagoekin
erabiltzen denean, bateragarritasun arazoak izan ditzake.

![](https://ps.w.org/wp-blade-engine/assets/icon-256x256.png?rev=1709215)

# Blade Engine

 [Lars Jansen](https://profiles.wordpress.org/lars-2/)-(r)en eskutik

[Deskargatu](https://downloads.wordpress.org/plugin/wp-blade-engine.1.0.1.zip)

 * [Xehetasunak](https://eu.wordpress.org/plugins/wp-blade-engine/#description)
 * [Berrikuspenak](https://eu.wordpress.org/plugins/wp-blade-engine/#reviews)
 *  [Instalazioa](https://eu.wordpress.org/plugins/wp-blade-engine/#installation)
 * [Garapena](https://eu.wordpress.org/plugins/wp-blade-engine/#developers)

 [Laguntza](https://wordpress.org/support/plugin/wp-blade-engine/)

## Deskripzioa

This plugin adds and loads philo/laravel-blade to your WordPress installation.
 
It loads two functions, which enable you to use the Blade render engine in your 
templates which make your themes better readable.

### Usage

The plugin adds two functions:
 – render_blade_view (void, echoes the content) –
get_rendered_blade_view (string)

Both functions take the same parameters:
 1. view (required, string) 2. attributes(
optional, array)

When installed, the plugin creates a “views” folder in your theme directory. This
is where you put your blade templates (with the .blade.php extension).
 The “views”
folder may contain subfolders.

### Example

wp-contents/themes/your-theme/views/components/article.blade.php:
 `blade @if($show_text){{
$text }} @endif

wp-contents/themes/your-theme/functions.php:
 `php <?php render_blade_view('components.
article', [ 'show_text' => true, 'text' => 'Hello World!', ]);

When ran on any page, it will output “Hello World!”

### Blade

Blade is a template engine which is mainly used by Laravel. More information here:
https://laravel.com/docs/5.1/blade
 This plugin supports all the directives which
are available in Laravel 5.1.

### License

This file is part of Blade Engine.

Blade Engine is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published
 by the Free Software Foundation.

Blade Engine is distributed in the hope that it will be useful, but WITHOUT ANY 
WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

Get a copy of the GNU General Public License in [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).

## Instalazioa

 * Upload plugin files to your plugins folder, or install using WordPress built-
   in Add New Plugin installer;
 * Activate the plugin;

## MEG

  Installation Instructions

 * Upload plugin files to your plugins folder, or install using WordPress built-
   in Add New Plugin installer;
 * Activate the plugin;

## Berrikuspenak

Ez dago berrikuspenik plugin honentzat.

## Laguntzaileak eta Garatzaileak

“Blade Engine” software librea da. Ondoko pertsonek egin dizkiote ekarpenak plugin
honi.

Laguntzaileak

 *   [ Lars Jansen ](https://profiles.wordpress.org/lars-2/)

[Itzul zaitez Blade Engine zure hizkuntzara.](https://translate.wordpress.org/projects/wp-plugins/wp-blade-engine)

### Garapena interesatzen zaizu?

[Araka kodea](https://plugins.trac.wordpress.org/browser/wp-blade-engine/), begiratu
[SVN biltegia](https://plugins.svn.wordpress.org/wp-blade-engine/) edo harpidetu
[garapen erregistrora](https://plugins.trac.wordpress.org/log/wp-blade-engine/) 
[RSS](https://plugins.trac.wordpress.org/log/wp-blade-engine/?limit=100&mode=stop_on_copy&format=rss)
bidez.

## Aldaketen loga

#### 1.0.0

 * Initial version

## Meta

 *  Version **1.0.1**
 *  Azken eguneraketa **duela 9 urte**
 *  Instalazio aktiboak **10+**
 *  WordPress bertsioa ** 4.8 edo handiagoa **
 *  **4.8.30** (e)raino probatuta.
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-blade-engine/)
 * Etiketak
 * [Blade](https://eu.wordpress.org/plugins/tags/blade/)[engine](https://eu.wordpress.org/plugins/tags/engine/)
   [Laravel](https://eu.wordpress.org/plugins/tags/laravel/)[render](https://eu.wordpress.org/plugins/tags/render/)
 *  [Ikuspegi aurreratua](https://eu.wordpress.org/plugins/wp-blade-engine/advanced/)

## Balorazioak

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wp-blade-engine/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-blade-engine/reviews/)

## Laguntzaileak

 *   [ Lars Jansen ](https://profiles.wordpress.org/lars-2/)

## Laguntza

Zerbait duzu esateko? Laguntza behar?

 [Ikusi laguntza foroa](https://wordpress.org/support/plugin/wp-blade-engine/)