Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

WP Ajax Search Widget

Описание

WP Ajax Search Widget is a replacement for the standard search widget but instead of redirecting you to a new search page the results are returned underneath the search input with an option to click through to the standard results page.

The widget allows you to choose how many results to show.

a plugin by Scott Evans

Скриншоты

  • Search results.

Установка

To install this plugin:

  1. Upload the wp-ajax-search-widget folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s it!

Alternatively you can search for the plugin from your WordPress dashboard and install from there.

Часто задаваемые вопросы

Hooks & Filters

The plugin has one filter that allows you adjust the search query parameters:

add_filter('wpasw_query', 'my_wp_query_array');

The plugin also has the following hooks for adding your own content at various points:

wpasw_before_widget
wpasw_after_widget
wpasw_before_results
wpasw_after_results
Templates

By placing the following template parts within a /parts/ folder in your theme you can also overwrite the HTML output:

parts/widget-ajax-search-result.php
parts/widget-ajax-search-more.php
parts/widget-ajax-search-fail.php

Отзывы

Нет отзывов об этом плагине.

Участники и разработчики

«WP Ajax Search Widget» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «WP Ajax Search Widget» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.1

  • Performance improvements
  • Code standards and formatting

1.0

  • Initial release