Title: WP Nice Search
Author: duyngha
Published: <strong>2015 年 7 月 7 日</strong>
Last modified: 2016 年 5 月 9 日

---

搜尋外掛

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

# wp-nice-search

 * [詳細資料](https://tw.wordpress.org/plugins/wp-nice-search/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/wp-nice-search/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/wp-nice-search/#developers)

 [技術支援](https://wordpress.org/support/plugin/wp-nice-search/)

## 外掛說明

這個外掛已於 2018 年 9 月 14 日關閉，且不提供下載。 這個外掛已永久關閉。 原因: 開發
者要求

## 使用者評論

![](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/) 2017 年 4 月 12 日

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/) 2016 年 9 月 3 日 
1 則留言

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/) 2016 年 9 月 3
日

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/) 2016 年 9 月 3 日 2 則留言

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.

 [ 閱讀全部 6 則使用者評論 ](https://wordpress.org/support/plugin/wp-nice-search/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈WP Nice Search〉的開發相關工作。

參與者

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

[將〈WP Nice Search〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/wp-nice-search)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/wp-nice-search/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/wp-nice-search/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/wp-nice-search/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/wp-nice-search/)。

## 中繼資料

 *  版本 **1.0.9**
 *  最後更新 **10 年前**
 *  啟用安裝數 **無**
 *  WordPress 版本需求 ** 4.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.2.39**
 *  語言
 * [English (US)](https://wordpress.org/plugins/wp-nice-search/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wp-nice-search/advanced/)