이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

WP Search Suggest

설명

This plugin lets you provide the user with search suggestions based on the information entered in the search field.

It adds an AJAX call to the search form, returning matches for the current search query from the database.
There is no change of template files necessary as this plugin hooks in the existing WordPress API to unfold its magic.

Translations

I will be more than happy to update the plugin with new locales, as soon as I receive them!
Currently available in:

  • English
  • Deutsch
  • Czech

Filter Reference

wpss_search_query_args (array|string)

The query args, passed to WP_Query, either as an array or a string.
An array with the default query args and the current search query are passed to the filter.

wpss_search_results (array)

An array with the result strings as values. An array with the default results and the WP_Query object are passed to the filter.

스크린샷

  • The suggested post and page titles.

설치

  1. Download WP Search Suggest.
  2. Unzip the folder into the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

The plugin doesn’t work with my theme. What’s wrong?

Make sure your theme’s search input field has an id="s" and/or name="s" as in TwentyTen and TwentyEleven. It’ll work fine then.

후기

2019년 4월 30일 답글 1개
Even faster if you follow these suggestions: https://wordpress.org/support/topic/super-fast-wp-search-suggest/
2018년 5월 19일 답글 2개
I like this simple Plugin, I only would wish to have more results or to set an option for this 😉
2018년 4월 28일
С плагином интернет-магазина WP Shop работает отлично. Чтобы саджест-поиск не искал в ненужных типах записей в файл functions.php достаточно включить функцию-фильтр, в которой настроить WP Search Suggest под себя: `/* * Customize plugin WP Search Suggest */ function wp_search_suggest_custom($query_args) { $query_args += [ ‘post_type’ => [‘post’, ‘page’], ‘posts_per_page’ => 10, ]; return $query_args; } add_filter( ‘wpss_search_query_args’, ‘wp_search_suggest_custom’);`
2016년 9월 3일
No fiddling with settings required–does exactly what you’d expect straight out of the box. No less, no more.
모든 11 평가 읽기

기여자 & 개발자

“WP Search Suggest”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “WP Search Suggest”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

8

  • Fixed a bug where search requests from logged-out users would not return results. See https://wordpress.org/support/topic/only-works-when-logged-in-18/

7

  • Fixed a bug where the plugin would not work with PHP 8.0 and above. See https://wordpress.org/support/topic/after-php-8-not-working-again/

6

  • Bumped z-index of search result box to be compatible with Boldwp theme.

5

  • Fixed a bug where suggested selections could end up redirecting to the wrong version of a post.

4

  • Finally adds support for HTML5 search forms.

3

  • Maintenance release.
  • Updated code to adhere to WordPress Coding Standards.
  • Tested for WordPress 5.0

2.1.0

  • Maintenance release.
  • Tested for WordPress 4.0

2.0.1

  • Fixed a bug with how scripts and styles were enqueued.

2.0.0

  • Now goes directly to the post selected.
  • Changed license to GPLv2 or later
  • Added Czech translation. Props Roman Opet.
  • Minor formatting updates.
  • Removed compatibility for pre-3.3. installations.

1.3.1

  • Updated utility class
  • Various minor code changes

1.3

  • Cut down on filter calls
  • Optimized AJAX handling with jQuery 1.7.1
  • Tested for WordPress 3.3.1

1.2

  • Added compatibilty for WordPress 3.3
  • Updated FAQ section

1.1

  • Added filters so users can adjust the search query and displayed results to their needs (see Filter Reference)
  • Fixed a bug where titles of unpublished posts were displayed

1.0

  • Initial Release