This plugin provides a simple way for you to use the Twig templating system within WordPress themes.
As of April 2026, TwigPress is a WordPress twig plugin with 20 active installations and a 5/5 rating from 2 reviews. It has been downloaded 3.9K+ times in total. Requires WordPress 4.1+ and PHP false+. Available on WordPress.org since 2013. Last updated 11 years ago — may have compatibility concerns. Top alternative: Timber.
This plugin provides a simple way for you to use the Twig templating engine with WordPress themes. A problem with WordPress themes is that it is very easy to create templates that are a mess of PHP and HTML. This isn’t good for working with neither does it provide a separation of concerns. The Twig templating engine is a great engine that allows you to separate out getting & manipulating your data and rendering it out. You create your themes in the same way as before, only you render a template instead of using PHP within your page structure.
The Installation section provides the steps to using this plugin with your theme.
In the Other Notes section, there is an easy reference for the different functions/filters and what they can be used for.
For Twig, the Twig documentation is…
| WordPress | 4.1+ requiredTested up to 4.1.42 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.