Willow WP Registry grade A-. Low-severity findings · 1 findingWP RegistryLow-severity findings · 1 findingOpen the reportA-
Willow ~ WordPress logic-less template engine.
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/maketheboat/willow/archive/refs/heads/main.zipWillow ~ WordPress Template Engine
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/
Releases
Newest 25 of 39 recorded releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.