[wp-trac] [WordPress Trac] #33472: Templating Engine
WordPress Trac
noreply at wordpress.org
Wed Aug 26 10:05:35 UTC 2015
#33472: Templating Engine
-----------------------------+---------------------------------------
Reporter: KalenJohnson | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: administration, template
-----------------------------+---------------------------------------
Comment (by andreasnrb):
The main issue with theming and WordPress in general is the highly coupled
nature with the globals, loop and post object also the nature of template
including. You can use template engine with WordPress as is. Of course you
need to transpile the templates yourself but its possible.
If it was possible to hook into
https://core.trac.wordpress.org/browser/tags/4.2.2/src/wp-includes
/template-loader.php#L74 and instead of including directly having a
callback there it would make it possible for people to add any template
engine of their choosing without need to transpile before release.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33472#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list