WordPress.org

Ready to get started?Download WordPress

Forums

search box to return result from list? (4 posts)

  1. jjhung88
    Member
    Posted 4 years ago #

    Hi, I am trying to see if wp is right for me. I have a list of 400 names. I can put that in excel, word/text, dbase format. I need a search box so that when someone type in the name, it will return results of the data containing that name. It is kinda like a contact search. Can anyone tell me if this can be done. Everything I see so far talk about search are for posts. This something in one file only.

  2. henkholland
    Member
    Posted 4 years ago #

    Even if all the 400 names are in one post or page, WordPress search will find the one you typed in the Searchbox, because WP finds titles and content.
    Offcourse, if there are other posts/pages containing that one name they will be found also.

  3. jjhung88
    Member
    Posted 4 years ago #

    that won't work. I just want the results displayed, not the entire post. I am thinking of something like a search box for a store that returns all the products if it contains a certain name.

  4. henkholland
    Member
    Posted 4 years ago #

    And when you create a search.php in your theme that displays excerpts (most of them do that standard) and to make the excerpts shorter and even contain hyperlinks I use the plugin the-excerpt-re-reloaded
    http://wordpress.org/extend/plugins/the-excerpt-re-reloaded/

Topic Closed

This topic has been closed to new replies.

About this Topic