Title: WP Nice Search
Author: duyngha
Published: <strong>July 7, 2015</strong>
Last modified: May 9, 2016

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/wp-nice-search_3280a3.svg)

# wp-nice-search

 * [Details](https://wordpress.org/plugins/wp-nice-search/#description)
 * [Reviews](https://wordpress.org/plugins/wp-nice-search/#reviews)
 * [Development](https://wordpress.org/plugins/wp-nice-search/#developers)

 [Support](https://wordpress.org/support/plugin/wp-nice-search/)

## Description

This plugin has been closed as of September 14, 2018 and is not available for download.
This closure is permanent. Reason: Author Request.

## Reviews

![](https://secure.gravatar.com/avatar/517c7e7ab04f1b3984576e6ad464a88eb20c1da572d071c8512f3c602410c5f8?
s=60&d=retro&r=g)

### 󠀁[Good BUT ….](https://wordpress.org/support/topic/good-but-115/)󠁿

 [webdotcom](https://profiles.wordpress.org/webdotcom/) April 12, 2017

So far its doing what I need. However, when using the shortcode like this: [wpns_search_form
only_search="type,type,type"] It doesn’t work because code is not looking to see
if there’s multiple types. I made a simple modification to your code and now it 
works. I can use it to search multiple types using that shortcode. Author, simply
edit your code here: wp-nice-search/src/core/Results/Results.php public function
getPostTypes() { $post_types = array(); $settings = $this->settings; if ($settings['
wpns_only_search'] != '') { // IF THERE'S COMMAS, TREAT AS ARRAY if(strpos($settings['
wpns_only_search'],',')!==false) { $type_list = explode(',', $settings['wpns_only_search']);
foreach ($type_list as $type_val) { $post_types[] = $type_val; } } else { // IF 
NOT THEN AS STRING (SINGLE) $post_types[] = $settings['wpns_only_search']; } } else{
Oh and I think it would be much wiser to change your event on the search box to 
onchange or something because ajax is firing on every key event and that could be
troublesome. I changed to min 3. Update: other improvements: trim s: $.trim(filter)
removing white space and easy to make an array of icons for typical post types and
show appropriate icon for the post type in results.

![](https://secure.gravatar.com/avatar/1f6b9141619b41ce82ec950f5ee4c534e1a407258a692d2d91e38e7a8b70bf85?
s=60&d=retro&r=g)

### 󠀁[Almost perfect!!](https://wordpress.org/support/topic/almost-perfect-241/)󠁿

 [pixelpushers](https://profiles.wordpress.org/pixelpushers/) September 3, 2016 
1 reply

Fantastic plugin, does what it says on the tin. Easy to use and so much sleeker 
having ajax functionality than normal wordpress search. One very minor gripe – I
don’t like the positioning of the search icon (it’s a bit squished and too near 
the bottom of the search box)- easy enough to change in CSS so only minor issue.

![](https://secure.gravatar.com/avatar/ed2d7857b7e7a9696b3c7d32dd195836999420b1108c87bc9410ec7e3099bce5?
s=60&d=retro&r=g)

### 󠀁[Very great work!](https://wordpress.org/support/topic/very-great-work-1/)󠁿

 [Cristian Romanello](https://profiles.wordpress.org/cristian95/) September 3, 2016

Fantastic plugin! It maybe needs one more feature: – Frontend changing text label
for “Search result” and “no results found” (instead of add functions in theme functions.
php file) Your work is much appreciated by us! 😉 Cheers – Chris

![](https://secure.gravatar.com/avatar/d22ca3f25d3403c77cd8d50075ae569c245e317bdc83380d0047694cd51f7d6f?
s=60&d=retro&r=g)

### 󠀁[pretty nice but limited](https://wordpress.org/support/topic/pretty-nice-but-limited/)󠁿

 [aminfri](https://profiles.wordpress.org/aminfri/) September 3, 2016 2 replies

The plugin looks neat and nice and works great but misses two things: 1. Ability
to select the custom types to search. Currently you can do this but thin it goes
and searches all the custom types. 2. Show the result grouped by their type or category.
Other than that it should work great for normal websites with posts and pages only.

 [ Read all 6 reviews ](https://wordpress.org/support/plugin/wp-nice-search/reviews/)

## Contributors & Developers

“WP Nice Search” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ duyngha ](https://profiles.wordpress.org/duyngha/)
 *   [ duynguyen ](https://profiles.wordpress.org/duynguyen/)

[Translate “WP Nice Search” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-nice-search)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-nice-search/), check
out the [SVN repository](https://plugins.svn.wordpress.org/wp-nice-search/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-nice-search/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-nice-search/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0.9**
 *  Last updated **10 years ago**
 *  Active installations **N/A**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **4.2.39**
 *  [Advanced View](https://wordpress.org/plugins/wp-nice-search/advanced/)