Blade
Blade is the template 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…
Betrachten Sie eine Alternative
Blade shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites, is rated 4/5 and was last updated 11 years ago, and scores 34/100 on our health check.
- Kleine Benutzerbasis (über 200 aktive Installationen)
- Kein Update in 11 Jahren
- Nur getestet bis WordPress 3.9 (letzt ist 7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Blade stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| Blade | #15 |
| engine | >100 |
| Laravel | #65 |
| template | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 4 from 7 reviews
About Blade
From the official readme · v0.3.7Beschreibung
Blade is the template 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
{{$foo}}
Turns into…
if()
@if(has_post_thumbnail())
{{the_post_thumbnail() }}
@else
<img src="{{bloginfo( 'template_url' )}}/images/thumbnail-default.jpg" />
@endif
Turns into…
<img src="/images/thumbnail-default.jpg” />
the loop
@wpposts
<a href="{{the_permalink()}}">{{the_title()}}</a><br>
@wpempty
<p>404</p>
@wpend
Turns into…
<a href="”>
404
wordpress query
<ul>
@wpquery(array('post_type' => 'post'))
<li><a href="{{the_permalink()}}">{{the_title()}}</a></li>
@wpempty
<li>{{ __('Sorry, no posts matched your criteria.') }}</li>
@wpend
</ul>
Turns into….
-
‘post’) ); ?>
- <a href="”>
have_posts() ) : ?>
have_posts() ) : $query->the_post(); ?>
Erweiterte benutzerdefinierte Felder
<ul>
@acfrepeater('images')
<li>{{ get_sub_field( 'image' ) }}</li>
@acfend
</ul>
Turns into…
- <img src="” />
Including other templates
To include a file with blade use:
@include(‘header’)
Note that you should not type “.php”. Files included with functions, e.g. the_header(), will not be compiled by Blade, however the php code in the file is still executed.
Layouts
master.php:
@yield(‘content’)
page.php:
@layout(‘master’)
@section('content')
<p>Lorem ipsum</p>
@endsection
See the Blade documentation for more info.
Contribute on github: github.com/MikaelMattsson/blade
Installation
- Upload folder
bladeto the/wp-content/plugins/directory - Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress
- Make sure that
/wp-content/plugins/blade/storage/views/is writable by php - Done! You can now use Blade in your theme
More options
It is recommended thay you change the path to the location where the compiled views are stored to within your theme. This will fix problems with wpml. To do so, put the following code in your theme folder and create the folder/directory “bladecache” in your theme folder.
if(function_exists(‘blade_set_storage_path’)){
blade_set_storage_path(get_template_directory().’/bladecache’);
}
Änderungsprotokoll
0.3.7
- Added support for BuddyPress
0.3.6
- Fixed bug with incorrectly appending to unitialized variable. (perholmang)
- Fixed issues when using multiple @section. (perholmang)
0.3.5
- Added support for child/parent-themes (perholmang)
0.3.4
- Added acf repeater (jaggyspaghetti)
0.3.3
- Compatibility update for PHP 5.5 (relu)
0.3.2
- Added @wpposts (mykebates)
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Blade alternatives
All Blade plugins →| Rang | Plugin | Aktive Installationen |
|---|---|---|
| 2 |
|
10+ |
Fragen und Antworten
Blade: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Blade free?
Yes. Blade is free to download and use from the official WordPress.org plugin directory.
Is Blade safe to use in 2026?
Blade shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites, is rated 4/5 and was last updated 11 years ago, and scores 34/100 on our health check.
How many websites use Blade?
Blade is active on 200+ WordPress websites and has been downloaded 7,914 times since it launched in June 2013. It was downloaded 155 times in the last 30 days.
Does Blade work with WordPress 7.1?
Blade is officially tested up to WordPress 3.9.40, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Blade last updated?
The latest version, 0.3.7, was released on December 1, 2015 (11 years ago).
Who makes Blade?
Blade is developed and maintained by Mikael Mattsson.
What are the best alternatives to Blade?
The most popular alternatives to Blade are Blade Engine (10+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
