WordPress.org

Forums

Search page content, not just titles? (7 posts)

  1. sparklogix
    Member
    Posted 3 years ago #

    I need a site to search specific terms within pages, but the WP search is only searching page titles, not the content that is actually in those pages. I tried using the plugin "Search Everything" but that must be a misnomer because it did not work. Am I missing something? Shouldn't this be a standard function of the built-in WP search?

  2. Not sure what theme you are using but the built-in search function works for me and it searches both content and titles.

    If you built the theme yourself, I would start by reviewing the info in the codex - http://codex.wordpress.org/Creating_a_Search_Page

  3. sparklogix
    Member
    Posted 3 years ago #

    Oddly enough, this is the only site I've done that is using TwentyEleven, though modified to look different.

  4. I have twentyeleven running on my test site and just did a search for Los Angeles and start, both of which are words in the content and the search is fine...

    Can you please provide a link to your site so we can have a look?

  5. sparklogix
    Member
    Posted 3 years ago #

    Unfortunately I can't provide a link, it's a password protected site with training materials on it.

  6. Is the training material just documents? If that's the case, then maybe that's why it's not working. There's no way WordPress can find the content in the actual documents.

  7. sparklogix
    Member
    Posted 3 years ago #

    Yes and no. The pages contain a list of titles that link to the documents.

    So for example, there is a page called "Resources" and on that page there is a link called "Accounting Manual". When I search the term "accounting", it only brings up results of pages that contain that word in the title, but not the Resources page with the word accounting in it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags