Sprig: A WordPress Starter Theme that Features the Twig Templating Engine
read more
Categories

Sprig: A WordPress Starter Theme that Features the Twig Templating Engine


Those who are new to WordPress theming are often confused by the mixture of PHP and HTML markup in templates. It’s easy to accidentally break theme functionality when everything is placed in the same file.

For that reason, there’s a strong contingency of developers who prefer to integrate the Twig PHP templating engine with WordPress, using a starter theme or via plugins like TwigPress, Timber, or the like. Fans of Twig appreciate its concise syntax and find that it makes templates more readable.

Sprig is a new Twig-based starter theme for WordPress created by developer Zach Adams. The theme incorporates the power and flexibility of Twig templating to speed up development and make WordPress templates easier to edit.