Twig WordPress a Light Example
This repo contains code for "WordPress and Twig, how to separate data from views" an overview of using twig in a WordPress context.
- Twig Wordpress A library that help to use common WordPress filters and functions into Twig.
- WordPress Model A WordPress plugin / composer package of reusable models.
- Twig WordPress View A WordPress plugin / composer package of twig templates.
- WordPress Template Interfaces for Twig for WordPress ecosystem.
- Php >= 7.1
- WordPress >= 4.9.8
- Twig >= 2.0
Php 7.1 is required for small things like constant visibility modifiers and void return type.
- Add link to the article
- Add info about not accepting pull request or issues, all of them have to be requested in the appropiated repos.