Wordpress widget framework with Twig for templating