Tutorials

How to find out which theme a WordPress site uses

This tutorial contains affiliate links. If you sign up through them, I may earn a commission at no extra cost to you.

When you come across a WordPress site with a design you like, the first question is usually which theme it uses, and whether you can use it too. The answer is in the site’s page source, and it only takes a minute to find.

This tutorial assumes the site runs WordPress. If you’re not sure, start with how to tell if a site is built with WordPress.

The quick way: use a detector

Enter the site’s address in the WordPress theme detector. It shows the theme’s name, author and version, whether it’s a block theme or a classic theme, whether it’s built on a parent theme, and whether you can download it from WordPress.org.

If you’d rather check for yourself, or the detector can’t reach the site, here’s how to do it by hand.

Find the theme folder in the page source

Every WordPress theme lives in a folder of its own, inside a folder called wp-content/themes. The theme’s files load from that folder, so its name shows up all over the page source. To find it:

  1. Open the site in your browser.
  2. Right-click on the page and choose “View Page Source”, or press Option+Cmd+U on a Mac or Ctrl+U on Windows. In Safari, you first need to check “Show features for web developers” under “Safari” → “Settings” → “Advanced”, and the option is called “Show Page Source”.
  3. Search the source for wp-content/themes/, with Cmd+F on a Mac or Ctrl+F on Windows.

The word right after themes/ is the name of the theme’s folder. On my site, the matches look like https://andersnoren.se/wp-content/themes/andersnoren-se-preset/, so the folder is called andersnoren-se-preset.

The folder name is often the theme’s name in lowercase, with hyphens instead of spaces, but not always. My theme is called Preset, for example. To get the real name, read the theme’s stylesheet.

Read the theme’s stylesheet

Every WordPress theme has a file called style.css in its folder, and it starts with a short description of the theme. To read it, take the folder address from the page source and add style.css, like .../andersnoren-se-preset/style.css.

The top of the file looks something like this:

/*
Theme Name: Preset
Author: Anders Norén
Author URI: https://andersnoren.se
Version: 1.0.1059
*/

It gives you the theme’s name, who made it and which version the site runs. Many themes also include a “Theme URI” with a link to the theme’s page. If the theme is free on WordPress.org, you can search for its name in the WordPress.org theme directory.

Spot a child theme

Some sites use a child theme: a small theme that builds on another theme, called its parent theme, and changes parts of it. On those sites, you’ll find two folders in the page source. When I checked WPBeginner, the search found two theme folders, wpbv7 and genesis.

To see which one is which, open both stylesheets. A child theme’s stylesheet has a “Template” line with the folder name of its parent. WPBeginner’s says Template: genesis, so the site uses a child theme called WPBeginner v7, built on the Genesis framework.

Sites on WordPress 6.8 or later also say this in the page’s body classes. Search the page source for wp-theme- to find the parent theme’s folder, and for wp-child-theme- to find the child theme’s. Some themes leave these classes out, though, so they’re a shortcut rather than a sure thing. They’re not included on WPBeginner, for example.

When you can’t find it

WPBeginner isn’t the only WordPress site missing some of these clues. Here are the most common reasons:

  • Custom themes. Many larger sites use a theme built just for them. You’ll find its name, but you won’t be able to download it yourself. NASA, TechCrunch and my own site all use custom themes.
  • Sites on WordPress.com. WordPress.com keeps its themes in a folder called pub, so the addresses look like wp-content/themes/pub/assembler/, and the theme’s name comes after pub/. The files load from WordPress.com’s own servers, like s0.wp.com, rather than the site’s address.
  • Hidden folders. Some security and performance plugins rename the theme folder or bundle all the files into one, so there’s no wp-content/themes in the source at all. In that case, neither the page source nor the detector will tell you much.

Published November 26, 2026