zach-adams / sprig

Sprig is a WordPress Starter Theme that features the Twig Templating Engine

Home Page:http://sprigwp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove placeholder files using twigpress_render_twig_template();

khromov opened this issue · comments

I like the idea of Twig in a WordPress theme, but there's no reason to have a bunch of files that only contain a call to twigpress_render_twig_template();

According to the WP Template Hierarchy, it is enough to have only one index.php file as a "catch-all" solution.

http://codex.wordpress.org/Template_Hierarchy