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
Once reserved exclusively for European public institutions, it is now one of the most commonly registered domains worldwide! For several years .eu domain has been experiencing dynamic growth not only in its popularity but also in the number of technologies implemented to ensure security and efficiency. Check out why you should already consider buying a…
- Read more
When you buy a hosting or a server from us, we will give you a technical domain, which may turn out to be a perfect testing ground for you. Wondering if you should use a technical domain? What is a technical domain anyway and what are its advantages and disadvantages? Let’s start from the beginning,…
- 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,…