Title: REST API Search
Author: KCPT
Published: <strong>2016年4月7日</strong>
Last modified: 2016年6月20日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの 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://ja.wordpress.org/plugins/rest-api-search/#description)
 * [レビュー](https://ja.wordpress.org/plugins/rest-api-search/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/rest-api-search/#installation)
 * [開発](https://ja.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

## FAQ

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

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://ja.wordpress.org/plugins/tags/rest-api/)[search](https://ja.wordpress.org/plugins/tags/search/)
 *  [詳細を表示](https://ja.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)

[Your review](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/)