Twig templating engine can be used for WordPress development with the plugin called Timber. You can write simple, neat and clean code which is modular and easier to maintain. How? Simple! Keep the view part of your code separate from its data or logic.
If you are interested in learning how you can use Timber with WordPress and want a kick-start instead of going through the documentation and testing, I have written a four part series about this topic at Tuts+.
In this series, I discussed Twig’s implementation and integration with WordPress.
In the end, I would like to thank UpStatment and Jared Nova (Makers of TimberWP). Actually, ended up talking to Jared he ended up linking to these tutorials at the TimberWP Landing page, which’s pretty awesome.
Takeaway my professional opinion on open-source, developer relations, growing your business with family, and everything in between! Delivered to your inbox a couple of times every year. I'm even funny at times. I hate spam — pinky-promise!
👨💻👩💻 118,947 Developers Already Subscribed