Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Explainers · Explainer

What Is a WordPress Theme? A Plain Explanation

What Is a WordPress Theme? A Plain Explanation

Short answer

A WordPress theme is the set of files that decides how your site looks, including its layout, colors, fonts, and page templates. Your posts and pages stay in the database, and the theme decides how they appear in the browser. Themes control the look, while plugins control what the site does.

Key takeaways

  • A theme is the set of files that decides how a WordPress site looks, while the content stays in the database.
  • Only one theme can be active at a time, and changing it does not delete your posts or pages.
  • A block theme uses blocks for every part of the site and is edited in the Site Editor.
  • A child theme builds on a parent theme so your changes survive updates.
  • The official Theme Directory holds over 9,000 themes, each reviewed by a dedicated team.

What is a WordPress theme?

A WordPress theme is the set of files that decides how your site looks, including its layout, colors, fonts, and page templates.

Learn WordPress defines a theme as a collection of files that include HTML, CSS, JavaScript, and PHP code that controls how your site's information is displayed.

WordPress.org documentation puts it the same way: a WordPress theme is a collection of files that work together to produce a graphical interface with an underlying unifying design for a website, and those files are called template files.

A theme changes how the site is displayed without changing the software underneath. Your posts and pages stay in the database, and the theme decides how they appear in the browser.

WordPress is the most used content system on the web, so themes shape a large share of what people see online. W3Techs reported on 21 November 2026 that WordPress is used by 38.5% of all websites.

What does a theme control?

A theme controls the look and feel of the whole site: the layout of each page type, the colors and fonts, the header and footer, and where menus and sidebars sit.

Themes are one of the three parts that make up a WordPress website. Learn WordPress explains that WordPress itself provides the engine and database behind the site, plugins provide functionality such as forms and e-commerce, and themes give sites their look and feel.

A theme can hold many kinds of files. WordPress.org documentation lists customized template files, image files, style sheets, custom pages, and any necessary PHP code files as the parts a theme may include.

The template system is what lets one theme show different page types in different ways. The same docs explain that, through the WordPress Loop and template files, you can make category posts look different from other posts, and the Template Hierarchy sets which template WordPress picks for each page type.

A theme also decides the behavior of some site parts as visitors use them. WordPress.org notes that themes can control the visual presentation of your content and other data, as well as the behavior of certain site elements while visitors interact with them.

How is a theme different from a plugin?

A theme controls how your site looks, while a plugin controls what your site does, and the two should not trade jobs.

Learn WordPress states that themes are like the skin of the site, the layer you see on the outside, often called the front end, while plugins provide functionality.

The rule is the same one given for plugins: a theme controls the presentation of content, whereas a plugin controls the behavior and features of the site. A theme that adds a shop, a booking form, or a portfolio feature puts that feature at risk, since changing the theme takes the feature with it.

Our guide on theme vs plugin in WordPress walks through the border between the two, with examples of features that belong on each side.

ThemePlugin
ControlsHow the site looksWhat the site does
ExamplesLayout, colors, fonts, headers, footersForms, stores, spam filters, backups
When you switchThe whole design changesKeeps working as before
Main riskLoses features built into itSlows the site if poorly built

What is a block theme?

A block theme is a theme built from blocks for every part of the site, including the header, the footer, the navigation menus, and the content, and you edit it in the Site Editor.

WordPress.org documentation defines a block theme as a theme that uses blocks for all parts of a site, including navigation menus, header, content, and site footer.

Block themes are the newer kind, and they change where you do the editing. The same docs note that block themes do not use the Customizer in the same way as classic themes, since they rely on the Site Editor to edit all parts of the site.

The first default block theme was Twenty Twenty-Two. WordPress.org notes that it is the first ever default block theme, and it only works on WordPress 5.9 and above, unless you install the Gutenberg plugin with an older version.

The Theme Handbook describes a block theme as a new theme you can use from WordPress version 5.9, built mainly using HTML and a theme configuration file, and composed entirely of blocks.

You can preview a block theme before you commit to it. The docs explain that you can use Live Preview to preview a block theme in the Site Editor before activating it, and you can still set up a test site if you want a deeper check.

Our guide on block theme vs classic theme compares the two kinds side by side, including which one to pick for a new site.

What is a classic theme?

A classic theme builds pages from PHP template files, chosen through the template hierarchy, with design settings kept in the Customizer.

Classic themes are the older kind, and they are still supported and widely used. Their pages are built by PHP template files, and WordPress picks which template to use for each page through the Template Hierarchy, as described in the WordPress.org docs.

The Theme Handbook calls the classic theme the original theme, without version limits, built mainly with PHP, JavaScript, and CSS, and taking advantage of WordPress PHP functions, hooks, and filters.

The Customizer is where classic themes keep their settings, such as colors, fonts, and the site identity. Block themes moved that work into the Site Editor, which is why the docs say block themes do not use the Customizer in the same way as classic themes.

A classic theme can still use blocks inside posts and pages. The difference is the frame around the content: the header, footer, and page layout come from PHP templates in a classic theme and from block templates in a block theme.

If you run a classic theme today, nothing forces you to switch. WordPress still supports classic themes, and many popular themes are still built that way.

What is a child theme?

A child theme is a theme that builds on another theme, called the parent theme, so you can change the design without editing the parent's files.

Learn WordPress defines a child theme as a theme that builds upon another theme, called the parent theme.

The child theme inherits everything from the parent, then overrides only the parts you change. That keeps your changes safe when the parent theme is updated, since updates replace the parent's files and leave the child theme alone.

WordPress.org gives the same advice for anyone who wants to customize a theme for their own use: consider creating a child theme. Editing the parent theme directly is the mistake the child theme exists to prevent.

A child theme needs only a small set of files to work. It must declare the parent it builds on, and then it can add its own templates, styles, or code on top.

How do you install and switch a theme?

Go to Appearance, then Themes, then Add New, pick a theme, preview it with your own content, and click Activate.

WordPress.org gives the dashboard route in 6 steps: log in, select Appearance, then Themes, select Add New, use Search or Filter options to find a theme, then click Preview to see it or Install to upload it to your site.

You can also upload a theme you bought or downloaded elsewhere. The docs explain that the Upload Theme button at the top of the page lets you upload a zipped copy of a theme you saved on your machine.

Only one theme can be active at a time. WordPress.org documentation states that all themes in the /wp-content/themes/ folder are available for activation and update, but only one theme from that folder can be active.

Before you activate, check the preview with care. The docs warn that if the theme preview is blank, you should not activate the new theme without investigating further, and if you do not see the theme's thumbnail at all, the theme might be corrupted or broken.

Our guide on how to check if a WordPress theme is safe shows what to look for on a theme's listing page before you install it.

How many themes are there?

The official WordPress Theme Directory holds over 9,000 themes, and every one of them is reviewed by a dedicated team before it is listed.

WordPress.org documentation states that the Theme Directory holds over 9,000 themes, and that every theme in the directory is reviewed by a dedicated team and tested against a wide range of rules.

The directory has a filter search, so you can narrow the list by layout, subject, and theme features. That includes a filter for block themes, which support full site editing features.

Every new WordPress install also comes with themes already on it. WordPress currently comes with 12 themes, starting with the default Twenty Twenty-Two and running back through the earlier yearly defaults to Twenty Ten.

Our guide on free vs premium WordPress themes explains when a free directory theme is enough and when a paid theme is worth the money.

What mistakes should you avoid with a theme?

Do not edit your theme's files directly, do not activate a theme with a blank preview, and do not build key features into a theme instead of a plugin.

The first mistake is editing the theme itself. Your changes vanish at the next theme update, so use a child theme for design changes and a plugin for new features.

The second mistake is activating a theme you have not previewed. WordPress.org warns that a blank preview means the site may not display correctly, so investigate the cause before you switch.

The third mistake is picking a theme for its bundled features. A theme that adds a shop, a slider, or a portfolio holds those features hostage, since switching themes takes them away, so keep features in plugins.

Our guide on how to use theme.json shows how block themes store their design settings in one file, which makes a theme change easier to manage.

Frequently asked questions

Can I change my WordPress theme without losing my content?

Yes, you can switch themes at any time from Appearance, then Themes, and your posts, pages, and media stay in place. What changes is the design: the layout, colors, fonts, and menus. Any feature that was built into the old theme, such as a portfolio or a slider, may stop working, which is why features belong in plugins.

Are free WordPress themes safe to use?

Yes, if it comes from the official Theme Directory, where every theme is reviewed by a dedicated team and tested against a set of rules. For themes from other sellers, check the author's reputation, the last update date, and user reviews, and run the theme on a staging copy before you put it on a live site.

What happens if my theme is never updated?

A theme that is never updated can break when WordPress changes, and it can carry security flaws that never get fixed. Check the last updated date on the theme page, and if the author has stopped updating it, move to a theme that is actively kept up before the next WordPress update.

Can I change the design of a theme without editing its files?

Yes. A child theme inherits everything from its parent and lets you change only the parts you want, so your changes survive parent updates. If you only need to change colors or fonts, a child theme is the right tool, and it is safer than editing the parent theme's files directly.

Can I edit every part of my site with a block theme?

In most cases, yes, but the result depends on the theme. Block themes let you edit the header, footer, and templates in the Site Editor, while classic themes keep most of that work in PHP templates and the Customizer. Check whether the theme is a block theme or a classic theme before you plan the change.

Sources

  1. What Is A Theme Learn WordPress
  2. Work with themes WordPress.org
  3. Usage Statistics and Market Share of WordPress, November 2026 W3Techs
  4. Theme Handbook WordPress Developer Resources

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.