外掛說明
WP Extended Search is a lightweight and powerful search plugin.
With this plugin you can customize WordPress search to search in Post Meta, Author names, Categories, Tags, or Custom Taxonomies via admin settings. You can control the default behavior of WordPress to search in the post title, post content, and post excerpt.
Apart from customizing default search behavior, you can create multiple search settings, and then you can assign these settings to custom search forms.
For custom search forms, you have the option to choose from a widget, shortcode, PHP function, or HTML.
外掛特色
- 可搜尋指定的中繼索引鍵
- Search in category, tags or custom taxonomies
- 可搜尋作者顯示名稱
- 搜尋範圍可包含或排除任何公開內容類型
- 可控制是否要搜尋標題、內容、內容摘要或全部欄位
- Compatible with WooCommerce. Search in product SKU, Attributes, and custom fields, etc.
- Create unlimited search settings to use with custom search forms.
- Add search forms using a widget, shortcode or PHP function. Also works with custom searchform.php
- 依據設定的指定日期,在搜尋結果中排除較舊的內容
- 可自訂搜尋結果頁面的文章顯示數量
- 可自訂搜尋關鍵字間的 SQL 關聯 (AND/OR)
- 可自訂搜尋結果排序方式
- 可控制搜尋查詢要求需要完全相符或部分相符
- 多語言本地化支援
- 與 WPML 相容
實用連結
安裝方式
- 前往 [控制台] 的 [外掛]→[安裝外掛],然後搜尋「WP Extended Search」並安裝。
或…
下載 WP Extended Search 的安裝套件 ZIP 壓縮檔,然後將解壓縮所得的目錄及其全部檔案,透過 FTP 上傳至/wp-content/plugins
目錄。如有疑問,請參考官方說明。 - 啟用外掛,並前往 [設定]→[Extended Search] 進行符合使用需求的設定。
常見問題集
-
Is it compatible with WooCommerce?
-
Yes, It is. When WooCommerce is active you will see a new checkbox in setting “Optimize for Products Search” select it and then the search results will use the default WooCommerce template or the template from your theme.
-
How can I add a search form?
-
You can use the Widget, Shortcode, and PHP function to display the search form. Also, you can add a hidden HTML field to your existing searchform.php template.
-
Can I use my default search form widget?
-
Yes, you can. You can modify the global setting to alter the results from the default search form. An extra search form is needed only when you would like to have more than one search criteria on the site.
-
Can I use this plugin just to add a specific search form to my site and leave the WordPress default search as it is?
-
Yes, you can. Go to the Search Settings and select Global in setting name, there you will see a button to disable the global search.
As global search is disabled now you can add a new search form with specific search criteria. -
How can I customize the search form?
-
You can add custom CSS to the theme to style the search form. Or you can set CSS classes in the widget, shortcode, and PHP function.
Also, you can add a complete custom template for each search setting in the theme.
使用者評論
參與者及開發者
變更記錄
2.0.1 – 2020-12-18
- Fixed errors in dashboard for non-admin users.
2.0 – 2020-12-11
Upgrade Notice
2.0 went through code refactoring and major feature updates. Please make a complete site backup before upgrading.
- Added new feature to add multiple search settings.
- Added WooCommerce product search support.
- Complete code refactoring.
1.3.1 – 2020-07-25
- Fixed issue with ACF relationship post field admin search.
- Fixed issue with Elementor admin search.
- Added support for new query variable
disable_wpes
to disable WPES search.
1.3 – 2019-10-21
- Fixed media search issue
- Fixed conflict with search when adding new menu item in backend
- Added setting link in plugin action links
- Added feature to modify search results order
- Added feature to match search query exactly or partially
1.2 – 2018-08-17
- Fixed bbPress forum posts dissappear
- Fixed issue with Ajax calls
- Added feature to control search in post excerpt
- Added compatibility with WPML
- Added new filter wp_es_terms_relation_type
- Updated wpes_posts_search filter. Now you can access $wp_query object as a second argument
1.1.2 – 2016-06-06
- Fixed media library search is not working when plugin is active. Thanks @gazettco
- Fixed escaping issue in SQL query. Thanks again @brurez
- Dropped support of WP version older than 4.0
1.1.1 – 2016-01-26
- Added feature to support Ajax calls
- Fixed text domain issue
- Fixed
suppress_filters
issue. Thanks @brurez
1.1 – 2015-06-21
- Added feature to search in post author name
- Added feature to customize number of posts per search results page
- Added feature to control SQL query relation between search terms
- Added new filters in settings wpes_meta_keys, wpes_tax and wpes_post_types
1.0.2 – 2015-01-11
- Added support for post_type parameter in URL
- Exclude old content from search results
1.0.1 – 2014-10-03
- Fixed taxonomy table join issue
- Added new filters wpes_meta_keys_query, wpes_tax_args, wpes_post_types_args, wpes_enabled, wpes_posts_search
- Internationalized plugin.
1.0 – 2014-09-14
- First Release