This is our first major release of the year and we’ve been in the kitchen for several month, working away over the hot stove, but now we are ready to serve up this tasty dish.
Willow is a Logic-less Template Engine, shaped from the ground-up to work with WordPress, taking full advantage of Advanced Custom Fields at its core.
The software is now out of Beta state, so is ready for use on production projects – it is already in use on this site as well as a few other small applications we have written recently.
You can take a look at the Willow Repo over on GitHub, there is also full documentation covering tags, data fetching, file set-up and advanced usage.
We will be releasing Gists and examples showing how we use Willow to speed up application development & testing in the coming weeks, as we roll-out the launch of the new Q Studio website.
All Willow tags include a matching opening and closing pair, starting and ending with a curly bracket and one other internal character.
Here is a timeless classical example of how to get started with Willow:
This tag calls the PHP public method ui->hello() and Willow wraps the returned data in the passed markup HTML:
Which returns the following output from the template:
Read more about Willow Tags in the Documentation