Title: REST API Search
Author: KCPT
Published: <strong>07.04.2016</strong>
Last modified: 20.06.2016

---

Поиск плагинов

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

![](https://s.w.org/plugins/geopattern-icon/rest-api-search.svg)

# REST API Search

 Автор: [KCPT](https://profiles.wordpress.org/kcpt/)

[Скачать](https://downloads.wordpress.org/plugin/rest-api-search.1.4.zip)

 * [Детали](https://ru.wordpress.org/plugins/rest-api-search/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/rest-api-search/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/rest-api-search/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/rest-api-search/#developers)

 [Поддержка](https://wordpress.org/support/plugin/rest-api-search/)

## Описание

REST API Search

### This is only for Version 2 of the REST API Plugin

This adds the missing functionality of Search into the WordPress REST API.
 The 
issue being with the current REST API Version 2, you can only search on a per post_type
basis.

    ```
    /wp-json/wp/v2/posts?filter[s]=apples

    /wp-json/wp/v2/pages?filter[s]=apples
    ```

### What this plugin does.

**Adds the search functionality for all posts types except revisions and types with‘
exclude_from_search’ set to true.**

    ```
    /wp-json/wp/v2/search/apples
    ```

**In case of a multi word string, just replaces the spaces with plus signs.**

    ```
    /wp-json/wp/v2/search/apples+pears
    ```

**Also adds easy paging**

page 2:

    ```
    /wp-json/wp/v2/search/apples+pears/2
    ```

page 3:

    ```
    /wp-json/wp/v2/search/apples+pears/3
    ```

[Github](https://github.com/KCPT19/REST-API-Search)

## Установка

This section describes how to install the plugin and get it working.

например

 1. Upload the plugin files to the `/wp-content/plugins/rest-api-search` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

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

  How do I use this plugin?

This plugin is meant to be used by experienced developers. You can access the search
by going to your WordPress URL, and adding the following to the end of the URL: /
wp-json/wp/v2/search/
 After the search/ you put any keywords you’re searching for,
replaces spaces with plus (+) signs.

## Отзывы

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

### 󠀁[This plugin is awesome!!!](https://wordpress.org/support/topic/this-plugin-is-awesome-38/)󠁿

 [jirrodglynn](https://profiles.wordpress.org/jirrodglynn/) 03.09.2016

This has made my life so much better!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 [ Посмотреть 1 отзыв ](https://wordpress.org/support/plugin/rest-api-search/reviews/)

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

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

Участники

 *   [ KCPT ](https://profiles.wordpress.org/kcpt/)
 *   [ Fastmover ](https://profiles.wordpress.org/fastmover/)

[Перевести «REST API Search» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/rest-api-search)

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

[Посмотрите код](https://plugins.trac.wordpress.org/browser/rest-api-search/), проверьте
[SVN репозиторий](https://plugins.svn.wordpress.org/rest-api-search/), или подпишитесь
на [журнал разработки](https://plugins.trac.wordpress.org/log/rest-api-search/) 
по [RSS](https://plugins.trac.wordpress.org/log/rest-api-search/?limit=100&mode=stop_on_copy&format=rss).

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

#### 1.0

 * Initial Version
 * Fully working version which searches all post types except revisions and types
   with ‘exclude_from_search’ set to true.

#### 1.1

 * Restructured code to allow for custom fields added in by other plugins

#### 1.2

 * Bug Fix — namespace variable of class needs to be protected.

#### 1.3

 * Now allows for encoded characters and numbers in the url

#### 1.4

 * WordPress’s posts per page settings now are used.

## Мета

 *  Версия **1.4**
 *  Обновление: **10 лет назад**
 *  Активных установок: **20+**
 *  Версия WordPress ** 4.4 или выше **
 *  Совместим вплоть до: **4.5.33**
 *  Язык
 * [English (US)](https://wordpress.org/plugins/rest-api-search/)
 * Метки:
 * [rest-api](https://ru.wordpress.org/plugins/tags/rest-api/)[search](https://ru.wordpress.org/plugins/tags/search/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/rest-api-search/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  1 5-звездный отзыв     ](https://wordpress.org/support/plugin/rest-api-search/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/rest-api-search/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/rest-api-search/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/rest-api-search/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/rest-api-search/reviews/?filter=1)

[Ваш отзыв](https://wordpress.org/support/plugin/rest-api-search/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/rest-api-search/reviews/)

## Участники

 *   [ KCPT ](https://profiles.wordpress.org/kcpt/)
 *   [ Fastmover ](https://profiles.wordpress.org/fastmover/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/rest-api-search/)

## Пожертвование

Хотите поддержать улучшение этого плагина?

 [ Пожертвовать на развитие плагина ](https://kcpt.org/donate/)