Skip to content

Four Different Meanings of “Template” a WordPress Pro Should Know

Experienced users and developers will use the word “template” casually in and around WordPress to mean slightly different things in slightly different contexts. There are four general things that people will be referring to when they say the word, all substantially different. They may be saying “template” when they mean:

  1. A raw-HTML file or set or files (usually for sale)
  2. A WordPress theme
  3. A file in the WordPress template hierarchy
  4. A Handlebars, Twig, PHP, etc template file

Each of these usages is good to know of, and to understand in a bit more detail. So let’s get to explaining them.

As a Raw HTML File

For people like me who simply can’t make any design look good, HTML templates are a salvation.

For people like me who simply can’t make any design look good, HTML templates are a salvation. Whatever I’m using to run the site — raw HTML documents I edit, WordPress, or some other CMS or web framework — I can take the (usually sold for money, but sometimes free) template and have something that probably looks about 10x better than I could do.

If you’re working in WordPress, this generally isn’t in play as much because of the next definition. But for people who’ve been around longer, or who aren’t familiar with WordPress, this may well be what they mean by the word “template.”

Yay! 🎉 You made it to the end of the article!
David Hayes
Share:

4 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Course: Clarifying Technical Terms with Multiple Meanings in WordPress | WPShout
September 13, 2016 2:23 pm

[…] Four Different Meanings of “Template” a WordPress Pro Should Know […]

A Survey of the JavaScript Landscape for WordPress Developers - The Amazing Host
January 12, 2016 4:25 pm

[…] is a pattern that is often used in web applications to keep your data (model), your templates (view), and behavior (controller) from walking all over each other. The ugliness I mentioned about […]

A Survey of the JavaScript Landscape for WordPress Developers | WPShout
January 12, 2016 12:15 pm

[…] is a pattern that is often used in web applications to keep your data (model), your templates (view), and behavior (controller) from walking all over each other. The ugliness I mentioned about […]

Why, When, and How to Make Your Own Template Tags | WPShout
October 27, 2015 5:14 pm

[…] so easy: just put some more PHP in the file (we talked about this more recently in “The Four Types of Templates…“), but that doesn’t make it a good idea. Our theme pages should be as clear and simple […]

Or start the conversation in our Facebook group for WordPress professionals. Find answers, share tips, and get help from other WordPress experts. Join now (it’s free)!