Twig

Video Series • July 23, 2024

We are very excited to introduce Cornerstone's new (and powerful) way to work with Dynamic Content in WordPress. Meet The Twig Tower, what we are affectionately calling Dynamic Content 2.0. This feature is currently in beta, and we would love to hear your feedback and ideas for future videos.

Let's begin by introducing you to the concept and sharing just one of the exciting new options available: math calculations!

In addition to being a "no code" way of working with dynamic data, Twig incorporates literally thousands of other ways of accessing, manipulating, and working with data. Today we're going to focus on two very important features known as templates and filters.

Let's keep going and discover even more ways to use templates and filters in Twig. In this example, we're going to show you how to create a conditional Learn More button based on the content previously created. This is just one of literally limitless ways you can access and use dynamic content in Cornerstone (and don't forget you are not required to use Twig, it's simply a new option at your disposal).