Jump to content
Sign in to follow this  
suzyo

listings search form

Recommended Posts

suzyo    1
suzyo

hi. searching and searching to no avail.

 

i need to implement a search form, like the one illustrated in the attached file.

 

i don't even know what to look for; been going around in circles.

 

what should i be looking for, and can you rec something that will work well w pl framework?

 

example: i need the user to be able to search my posts, using a dropdown, for this sort of thing--

 

restaurant type:

asian

italian

mexican

 

location:

downtown

midtown

 

etc. thank you.

 

http://screencast.com/t/lFTEut7pJ4u

Share this post


Link to post
Share on other sites
Rob    547
Rob

Suzy,

 

There's no way to easily code this yourself.  You'll have to use a plugin.  Some that may work are:

http://wordpress.org/extend/plugins/advanced-search-by-my-solr-server/

or http://wordpress.org/extend/plugins/advance-wp-query-search-filter/

 

As you know, these customizations are outside the scope of our support.

  • Like 1

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
suzyo    1
suzyo

thanks rob, that's great. i'm also looking for the string of words i should be using to look for this.

 

i've tried advance search and display posts in list view and advanced search listings and any manner of things.

 

can you rec what i should be searching for? thanks again.

Share this post


Link to post
Share on other sites
Rob    547
Rob

Suzy, don't freak out, but I searched WP.org for 'search', without the single quotes.

  • Like 1

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
suzyo    1
suzyo

lol. i don't want a search bar like the one that comes w wordpress. i need to be able to search tags and cats.

Share this post


Link to post
Share on other sites
Rob    547
Rob

The second link I provided should do just that.  If not, conduct that search or, if you prefer a premium plugin try CodeCanyon.net.

  • Like 1

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
suzyo    1
suzyo

oh, i didn't even think of them! thanks so much, starting to feel desperate. :-0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • John Olsson
      By John Olsson+
      Hello, i'm working on a webshop, and got this code to really boost the search within WP. But when adding this code to functions.php the front end media library search flipped totally, and not working at all, any ideas what's the problem?
      function atom_search_where($where){ global $wpdb; if (is_search()) $where .= "OR (t.name LIKE '%".get_search_query()."%' AND {$wpdb->posts}.post_status = 'publish')"; return $where; } function atom_search_join($join){ global $wpdb; if (is_search()) $join .= "LEFT JOIN {$wpdb->term_relationships} tr ON {$wpdb->posts}.ID = tr.object_id INNER JOIN {$wpdb->term_taxonomy} tt ON tt.term_taxonomy_id=tr.term_taxonomy_id INNER JOIN {$wpdb->terms} t ON t.term_id = tt.term_id"; return $join; } function atom_search_groupby($groupby){ global $wpdb; // we need to group on post ID $groupby_id = "{$wpdb->posts}.ID"; if(!is_search() || strpos($groupby, $groupby_id) !== false) return $groupby; // groupby was empty, use ours if(!strlen(trim($groupby))) return $groupby_id; // wasn't empty, append ours return $groupby.", ".$groupby_id; } add_filter('posts_where','atom_search_where'); add_filter('posts_join', 'atom_search_join'); add_filter('posts_groupby', 'atom_search_groupby');  
    • Queue-it
      By Queue-it+
      HI,
      Search function doesn't seem to work. 
      When ever searching for something it redirect to the home page and add the search string to the url.
      For example searching for "cases" it would display https://queue-it.com/?s=cases
      Do you know how to solve that? 
    • MissT
      By MissT+
      Would be great to have the ability to include a search option within menus and within Splashup - is this possible?
    • balfred1345
      By balfred1345
      null When I tested Search using the search field in Navi, it throws the error as shown in pastebin: http://pastebin.com/DJ079bmy
      Is there a fix for this? If there is no fix, can you please tell me how to disable search in Navi?
      Thanks,
      Bruce
    • MissT
      By MissT+
      Hi there,
      Just wondering if there is a reason why there is no search option within Multimenu as there is with Navi - would be good if it did have it and it worked in a similar way and you could switch it off when you need to.
      Many thanks.
×