Willow
Willow ~ WordPress logic-less template engine.
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/maketheboat/willow/archive/refs/heads/main.zipDeclares an update source (qstudio/willow), so updates arrive through the plugin's own updater.
Readme
Willow ~ WordPress Template Engine
Contributors: qlstudio
Tags: Simple, logic-less, semantic, markup, language
Requires at least: 5.0
Tested up to: 5.6
Stable tag: 2.1.1
License: GPL-2.0+
Willow ~ A logic-less template engine built for WordPress.
Willow has been designed to meet the needs of both front-end and back-end developers by providing a small, yet powerful set of tags and tools to speed up template development and prototype iteration.
Hello Willow
All Willow tags include a matching opening and closing pair, starting and ending with a curly bracket and one other internal character, as follows:
{~ ui~hello {+ Willow says <strong>{{ what }}</strong> +} ~}
This tag calls the class ui method hello - ui->hello() - and wraps the returned data in any markup passed in the Willow argument:
class ui {
function hello( $args = null ) {
// define key + value to render ##
return [
'what' => 'Hello'
];
}
}
Return:
Willow says <strong>Hello<strong>
Wiki
Visit the documentation site for further details -> https://qstudio.us/docs/willow/
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| 2.1.1 | Jan 12, 2022 |
| 2.1.0 | Dec 28, 2021 |
| 2.0.5 | Dec 20, 2020 |
| 2.0.4 | Dec 14, 2020 |
| 2.0.3 | Dec 14, 2020 |
| 2.0.2 | Dec 13, 2020 |
| 2.0.1 | Dec 11, 2020 |
| 2.0.0 | Dec 8, 2020 |
| 1.6.3 | Nov 28, 2020 |
| 1.6.2 | Nov 27, 2020 |
| 1.6.1 | Nov 26, 2020 |
| 1.6.0 | Nov 6, 2020 |
| 1.5.2 | Nov 5, 2020 |
| 1.5.0 | Nov 2, 2020 |
| 1.4.8 | Oct 21, 2020 |
| 1.4.7 | Oct 2, 2020 |
| 1.4.6 | Sep 17, 2020 |
| 1.4.5 | Sep 17, 2020 |
| 1.4.1 | Sep 14, 2020 |
| 1.4.0 | Sep 13, 2020 |
| 1.3.5 | Sep 10, 2020 |
| 1.3.2 | Sep 4, 2020 |
| 1.3.1 | Sep 3, 2020 |
| 1.3.0 | Sep 3, 2020 |
| 1.2.4 | Aug 24, 2020 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.