What is the difference between the theme and the WordPress template?
Confusing a motif with a template is one of the most popular mistakes, even among people who have been using WordPress for years. It’s worth getting to know the difference, because both terms in WordPress mean something completely different, and the concept of a template is responsible for one of the most interesting functions of WordPress, about which many beginners do not know.
The theme is an extension to WordPress, which completely changes the visual layer visible to the readers of the page. Themes are managed in the cockpit in the Appearance > Themes section:
However, templates support is a special WordPress function, which allows us to change the appearance of selected subpages – if we use a theme that has built-in templates, we will see an additional selection list when editing any subpage in the Attributes block:
Above you can see an example from one of the old WordPress default themes – Twenty Fourteen. It has two templates for subpages: Full page width and Co-worker’s page. Thanks to this it was possible to change the appearance of the subpage without modifying the code of the theme.
The simplest way to remember the title difference is this way: Themes are extensions that change the appearance of a page based on WordPress, and templates are a function of themes, allowing you to create additional styles for selected subpages.
Check other blog postsSee all blog posts
- Read more
Many clients of hosting companies are mistakenly convinced that a hosting provider will solve their problems and take care of their crucial issues, while maintaining their website hosted on their servers. (Un)fortunately, that doesn’t work that way. What are the things your hosting won’t do for you? It won’t do the dishes, design a website,…
- Read more
My mind’s made up. You’ve had enough of the silly hosting or cosmic costs of its maintenance and finally you decide to move the site you’ve placed on WordPress. How to move WordPress to another server? What do you need to remember and how should you prepare for it? Migration of WordPress to another server…
- Read more
Google Workspace is probably the best business mail for your work. Great anti-spam filters, full control over your data, the fact you can choose a country where your data are stores, a calendar, Google Meets… these are only a fraction of what G Suite offers. Take a look at why you should consider switching to Google…