When talking about templating, regarding of if its WordPress templating, JavaScript templating, or templating in some other language, I think it’s helpful to use a concrete project or example to walk through how it works rather than talk about it in more esoteric terms.
If you’ve not been following along with this series and you’re just getting started with templating, I recommend reading the first two parts of the series:
From there, we’re going to break down the concept into two parts:
- understanding what templating is,
- how templating can work within WordPress.
The challenge, of course, comes in that we have “WordPress templates” and then we’re talking about using a templating engine to change up WordPress templates, how they work, how data is injected into them, and so on.
But I’ll do my best to try to clarify each part.


