• Resolved triggeru571

    (@triggeru571)


    Hi, Not sure if this can be done with a premium version, but is it possible to have one search form for each custom post type?

    The idea would be to display the form on a page relevant to a category (ex: One on Things to do and the other on Places to go), then search the custom post types for that category?

    Not a big issue but just wondering?

    Thanks

    http://wordpress.org/extend/plugins/relevanssi/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m looking to do this as well. Did you figure it out?

    Plugin Author Mikko Saari

    (@msaari)

    Yes, you can use just as many search forms you want to. Just add

    <input type="hidden" name="post_type" value="name-of-your-post-type" />

    in the search form code to restrict the search to a particular post type.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different Search for Each Custom Post Type’ is closed to new replies.