Skip to content

How to find live examples of just about any WordPress theme

Today we’re going to discuss a very useful hack I stumbled upon a month or two ago. I had a client who wanted to see live examples of a WordPress theme she was thinking about purchasing. The official demo looked great, sure; but what did the theme look like in the wild, running on an actual site?

It seemed like a reasonable request, so I thought I’d try a Google search for the theme. The search returned a lot of live sites, so I showed my client a couple of examples, and we ended up going with the theme.

Hey, that shouldn’t work!

It was David (my business partner, more technically astute than I am) who told me that finding theme data through a Google search should be impossible: search engines don’t index CSS files or similar documents, and any PHP scripts that refer to the theme by name would be strictly server-side, processed into HTML long before they could be served to anyone.

So how do you find this information?

How to do it

Here’s how to find live sites for a given WordPress theme:

1. You’ll want to run a very particular Google search. Here’s how it looks:

Two notes on this. First, the quotation marks are important: you want results that contain the words in your search in their exact order.

Second, “[theme-name]” above refers to the name of the theme’s folder on an actual WordPress install. So for the Twenty Twelve theme, this would be “twentytwelve”—not “Twenty Twelve”. (As a preliminary hint: if it’s got spaces in it, there’s a good chance that you’re doing it wrong.)

For the Twenty Twelve example, the full search would look like “wp-content/themes/twentytwelve” and would include those quotation marks.

2. Now look for a search result whose description (the black text below the URL) looks like a weird error. That’s what you want.

Find live site running WordPress theme

3. Open the result and see what you find. Sometimes the site you get will be totally nonfunctioning, or one of those “index-of” pages that turns your browser into a weird file system navigator.


I can see the Matrix.

If you get one of these, try again with another search result. In about 50% of cases, the result will be a fully functioning site running a configured and customized instance of the theme you’re looking for.

Why it works

Certain kinds of mistakes cause PHP to spit out error messages onto the page as plaintext. Google will sometimes index these messages.

The answer is PHP errors. When web developers make certain kinds of mistakes—coding links improperly, deleting needed theme resources, etc.—this causes PHP to spit out error messages onto the page as plaintext. Google will sometimes index these messages, and store them as part of what it believes to be the page content.

Crucially, these error messages have direct references to the theme being used by the site. PHP errors include the path to the malfunctioning file, and it’s this path that contains the theme name data that the search engines pick up.

So you’re getting an error something like this:

Warning: Invalid argument supplied for foreach() in /home/wplocus/wp-content/themes/room09/core/functions-core.php

And that’s what Google is directing you to.

What you can use it for

With any luck, being able to find live sites running a given theme will give you (or your clients) a vivid, accurate picture of what to expect from the theme or themes you’re considering. It certainly helped our client settle on a theme that ended up being a great fit for her. (Here’s her site, running a child theme of the Room 09 theme depicted above.)

This hack lets you see how themes actually look and function, when developed into sites by real users and third-party developers.

You can also use this hack to sniff out dull themes. Many themes’ official demos look good mainly because of large, beautiful sample images and custom design elements. When your client hands you the theme file and you get rid of these elements (which have nothing to do with the site you’re trying to build), you realize that there’s basically nothing left. I’ve been burned this way more than once. This hack lets you see how themes actually look and function, when developed into sites by real users and third-party developers. It’s a bit like getting to see the way your new haircut will look a week and a half from now.

Finally, maybe you can take this as a tiny example of a message I remember hearing from children’s cartoons and nursery rhymes: Sometimes, when you don’t know something should be impossible, you can actually do it. This probably isn’t the most inspirational thing you’ll read today (if it is—and I’d rarely say this—you should probably spend more time browsing the stuff your friends link to on Facebook), but if the topic comes up at a party you’ll at least have a ready, if humble, example.


Yay! ๐ŸŽ‰ You made it to the end of the article!
Fred Meyer

Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Nick DerAvedissian
May 7, 2016 7:04 pm

As a theme developer, this is a great way to discover how and who utilizes my themes. Great tips, thanks.

Jake Hartley
July 22, 2015 1:48 am

Thank you for this!

Lee Mullins
May 6, 2015 8:35 am

Nice tip Fred, thanks for sharing.
On these days, WordPress themes are widely being used by various personal and commercial purposes but after reading this post I think we will again have to think about its security. However, all WordPress themes are highly renowned for their simplicity and features richness as you can see at Well, whatever the downside is but we can also not neglect its popularity.

Atif Grewal
February 4, 2015 11:01 am

wow its perfect.

salient theme
January 23, 2015 12:21 am

great tip thanks. I have used it on a few showcase site for various themes. Divi – salient – avada – ๐Ÿ™‚ enjoy

November 8, 2013 6:53 am

Awesome tip, it works.
Maybe, sometimes, you have to try different typing for the theme name but it works and offers a concrete way to view the theme you need in action used by real people
Thank you for sharing ๐Ÿ™‚

Monday November 4, 2013 | WPMagic
November 4, 2013 3:15 pm

[…] 3. How to find live examples of just about any WordPress theme […]

David Hayes
October 29, 2013 7:09 pm

That’s a cool and useful tool, Steven. Thanks for pointing it out.

Tom J Nowell
October 22, 2013 4:59 pm

I would point out that any theme that has PHP warnings, especially if they’re outputting to the front end, is probably not worth purchasing.

October 16, 2013 11:19 pm

Hey great tip! Never think of doing something like this before to show my client how the theme looks like in real live site (probably none of my clients asked me this question before)

Or start the conversation in our Facebook group for WordPress professionals. Find answers, share tips, and get help from other WordPress experts. Join now (itโ€™s free)!

Would love your thoughts, please comment.x

Most Searched Articles

Best JavaScript Libraries and Frameworks: Try These 14 in 2024

In this post, we look at the best JavaScript libraries and frameworks to try out this year. Why? Well, with JavaScript being available in every web browser, this makes it the most accessible programming language of ...

20 Best Free WordPress Themes for 2024 (Responsive, Mobile-Ready, Beautiful)

If you're looking for only the best free WordPress themes in the market for this year, then you're in the right place. We have more than enough such themes for you right ...

12 Best WordPress Hosting Providers of 2024 Compared and Tested

Looking for the best WordPress hosting that you can actually afford? We did the testing for you. Here are 10+ best hosts on the market ...

Handpicked Articles

How to Make a WordPress Website: Ultimate Guide for All Users – Beginners, Intermediate, Advanced

Many people wonder how to make a WordPress website. Theyโ€™ve heard about WordPress, its incredible popularity, excellent features and designs, and now they want to join the pack and build a WordPress website of their own. So, where does one get ...

How to Start an Ecommerce Business: Ultimate Guide for 2024

Is this going to be the year you learn how to start an eCommerce business from scratch? Youโ€™re certainly in the right place! This guide will give you a roadmap to getting from 0 to a fully functional eCommerce business. ...