Title: Blade Engine
Author: Lars Jansen
Published: <strong>6 آگوست 2017</strong>
Last modified: 6 آگوست 2017

---

جستجوی افزونه‌ها

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

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

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

# Blade Engine

 توسط [Lars Jansen](https://profiles.wordpress.org/lars-2/)

[دانلود](https://downloads.wordpress.org/plugin/wp-blade-engine.1.0.1.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/wp-blade-engine/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/wp-blade-engine/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/wp-blade-engine/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/wp-blade-engine/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/wp-blade-engine/)

## توضیحات

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/).

## نصب

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

## سوالات متداول

  Installation Instructions

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

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“Blade Engine” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

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

[ترجمه “Blade Engine” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/wp-blade-engine)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/wp-blade-engine/)، 
[مخزن SVN](https://plugins.svn.wordpress.org/wp-blade-engine/) را بررسی کنید، یا
از طریق [RSS](https://plugins.trac.wordpress.org/log/wp-blade-engine/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/wp-blade-engine/) مشترک 
شوید.

## گزارش تغییرات

#### 1.0.0

 * Initial version

## اطلاعات

 *  نگارش **1.0.1**
 *  آخرین به‌روزرسانی **9 سال پیش**
 *  نصب‌های فعال **10+**
 *  نگارش وردپرس ** 4.8 یا بالاتر **
 *  آزمایش‌شده تا **4.8.33**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/wp-blade-engine/)
 * برچسب
 * [Blade](https://fa.wordpress.org/plugins/tags/blade/)[engine](https://fa.wordpress.org/plugins/tags/engine/)
   [Laravel](https://fa.wordpress.org/plugins/tags/laravel/)[render](https://fa.wordpress.org/plugins/tags/render/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/wp-blade-engine/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[بررسی شما](https://wordpress.org/support/plugin/wp-blade-engine/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/wp-blade-engine/reviews/)

## مشارکت کنندگان

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

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/wp-blade-engine/)