Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Drop WordPress template loader #706

Open
haroldangenent opened this issue Jul 27, 2016 · 3 comments
Open

Drop WordPress template loader #706

haroldangenent opened this issue Jul 27, 2016 · 3 comments

Comments

@haroldangenent
Copy link
Member

This is a proposal for dropping the WordPress template inclusion. Right now, variables can not be injected into the templates, because of WordPress' template engine (which you can find in template-loader.php).

We might be able to get rid of most controllers we have now and we could run the entire theme from one entry point and inject everything we need intro our controllers and views.

@haroldangenent haroldangenent changed the title Drop WordPress template engine Drop WordPress template loader Jul 27, 2016
@luukdv
Copy link

luukdv commented Aug 6, 2016

Very interesting. Do you want to give this a go in a separate branch sometime?

@haroldangenent
Copy link
Member Author

Yes, and the heavy work would probably be done by a separate library.

@haroldangenent
Copy link
Member Author

Discussed this today, decided to create a separate library that should be implemented by TrendPress. I'll keep this issue open for now, but removing the discussion label.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants