Websites and Tech

Theme

Also called WordPress theme

The templates, styles and code that control how a website looks and how its pages are laid out, most often discussed for WordPress.

Quick facts: Theme

Category
Websites and Tech
Also called
WordPress theme
Level
Beginner
Affects
Page speed, Core Web Vitals, heading structure, design flexibility
Where to see it
WordPress Appearance screen, Site Editor, PageSpeed Insights, page source view
In this article4
  1. How a theme works
  2. Why it matters
  3. Common mistakes
  4. How to act on it

A theme is the set of templates, styles and code that controls how a website looks and how its pages are laid out. In WordPress, the content lives in the database and the theme decides how that content is presented, from the header and menus to the layout of a blog post.

How a theme works

When someone requests a page, WordPress fetches the content and hands it to the active theme, which picks the right template: one for the homepage, one for single posts, one for pages, one for archives and so on. The theme’s stylesheet sets fonts, colours and spacing, and its functions file can add features such as custom menus or image sizes.

WordPress now has two kinds of theme. Classic themes are built from PHP template files and are customised through the Customiser and widgets. Block themes, introduced with full site editing, build every part of the page from blocks, including headers and footers, and are edited visually in the Site Editor. Settings such as colour palettes and typography live in a theme.json file.

To change a theme’s code safely, developers use a child theme. It inherits everything from the parent theme and holds only your changes, so updates to the parent do not wipe them out.

Why it matters

The theme sets the ceiling for your site’s speed and the quality of its HTML. Many “multipurpose” themes sold on marketplaces load sliders, animation libraries, icon fonts and several stylesheets on every page, whether you use them or not. That weight shows up in slow loading on phones and weaker Core Web Vitals.

Themes also shape on-page SEO in ways that are easy to miss: whether the logo is wrapped in an H1 on every page, whether headings follow a logical order, whether the theme outputs its own title tags or schema that clash with your SEO plugin. A lean, well-coded theme makes these things straightforward to control.

Then there is lock-in. Some themes bundle a page builder or store content in their own shortcodes. When you later switch theme, pages fill with broken code and have to be rebuilt by hand. For a small business in Norwich with fifty service and blog pages, that can turn a simple refresh into a rebuild.

Common mistakes

  • Choosing on the demo. Demos are filled with professional photography and features you may never use. Judge a theme on speed, code quality and update history.
  • Editing the parent theme directly. The next update overwrites your changes. Use a child theme or the Site Editor.
  • Using nulled premium themes. Pirated copies get no updates and often contain hidden malware or spam links.
  • Keeping old themes installed. Inactive themes can still carry vulnerabilities. Keep the active theme and one default fallback, and delete the rest.
  • Switching theme on the live site. Menus, widgets and layouts can shift without warning. Test on staging first.
  • Doubling up SEO features. A theme and a plugin both outputting meta tags or schema create duplicates.

How to act on it

Find out which theme you run under Appearance, Themes, and check when it was last updated. Run your key pages through PageSpeed Insights and look at how much CSS and JavaScript loads that the page does not use. View the page source and confirm there is one title tag, one meta description and one H1.

If you are choosing a theme, favour one that is lightweight, actively maintained and built to WordPress’s own standards, and keep your content in core blocks rather than theme-specific shortcodes. Theme problems are among the most common issues I find in WordPress SEO audits, and fixing them often helps speed and on-page signals at once.

Do and do not

Do

  • Choose a lightweight, actively maintained theme
  • Make code changes in a child theme
  • Test a theme switch on staging first

Do not

  • Pick a theme from its demo alone
  • Install nulled premium themes
  • Edit the parent theme's files directly

Questions people ask about this

Does my WordPress theme affect SEO?

Yes, indirectly. The theme controls page speed, heading structure and some of the HTML that search engines read, and some themes add their own SEO output that clashes with a plugin. A well-built theme will not make you rank on its own, but a poor one can hold good content back.

Are free WordPress themes safe to use?

Themes from the official WordPress.org directory are reviewed before they are listed and are generally safe, provided they are kept updated. Free themes downloaded from unknown sites, or free copies of paid themes, are a common way malware gets onto sites. Stick to the official directory or reputable developers.

Will changing my theme delete my content?

No. Posts, pages and media stay in the database. What can change or break is anything the old theme provided: layouts, widgets, menus, custom post types and shortcodes. Test the new theme on a staging copy so you can see what needs rebuilding before visitors do.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.