brettsmason / plateswp

Experimental theme for testing Plates in a WordPress environment
2 stars 0 forks source link

`function theme_get_context` rationale? #2

Open lkraav opened 5 years ago

lkraav commented 5 years ago

Hmm, I would've thought to let Hybrid Core build the template hierarchy, then attach result to Plates and let Plates do the final render.

Instead it looks like you're re-building context from scratch. Why?

brettsmason commented 5 years ago

Honestly, this was only a very brief experiment to try out Plates. At the time the idea was to not use Hybrid Core (as I hadn't used it for a year), but then Mythic developed and I ended up using that as a base instead.

If I was looking at adding plates again I'd start this completely differently.