WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm migrating a client site over to a WordPress CMS. I made templates for each of the pages that would have static content: about us, facility, FAQs, etc.

The problem is that this content seems to be unsearchable (if that's the right term). Is there an easy way to make this content available to an internal (not Google.com) search query (along with the rest of the content that is available on a blog)?

Should I have put this stuff (the copy) into the content editor and accessed it with the_content()? Is that the best way?

As I'm finishing this I'm getting that "duh" feeling, but I'll post it anyway in case there are other ways that might help others doing the same.

Thanks very much.

share|improve this question
Did you manage to get your template content searchable? How'd you go about it? – bosco Apr 25 '13 at 23:34

By default WordPress cannot search in template content. You should import your content into the data base. The plugin HTML Import 2 will help here.

Another option is a separate search engine with a parser that can read the complete HTML output. The plugin Search Unleashed for example supports Apache Lucene. That's probably too much for a small site or anyone not very experienced with Java.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.