Title: REST API Search
Author: KCPT
Published: <strong>7 April 2016</strong>
Last modified: 20 Juni 2016

---

Cari plugin

Plugin ini **belum teruji dangan 3 rilis besar WordPress**. Kemungkinan tidak lagi
dipelihara atau didukung, dan mungkin menghadapi masalah kompatibilitas bila digunakan
dengan versi WordPress yang lebih baru.

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

# REST API Search

 Oleh [KCPT](https://profiles.wordpress.org/kcpt/)

[Unduh](https://downloads.wordpress.org/plugin/rest-api-search.1.4.zip)

 * [Detail](https://id.wordpress.org/plugins/rest-api-search/#description)
 * [Ulasan](https://id.wordpress.org/plugins/rest-api-search/#reviews)
 *  [Instalasi](https://id.wordpress.org/plugins/rest-api-search/#installation)
 * [Pengembangan](https://id.wordpress.org/plugins/rest-api-search/#developers)

 [Bantuan](https://wordpress.org/support/plugin/rest-api-search/)

## Deskripsi

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)

## Instalasi

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

e.g.

 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

## Tanya Jawab

  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.

## Ulasan

![](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/) 3 September 2016

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

 [ Baca semua 1 ulasan ](https://wordpress.org/support/plugin/rest-api-search/reviews/)

## Kontributor & Pengembang

“REST API Search” adalah perangkat lunak open source. Berikut ini mereka yang sudah
berkontribusi pada plugin ini.

Kontributor

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

[Terjemahkan “REST API Search” dalam bahasa Anda.](https://translate.wordpress.org/projects/wp-plugins/rest-api-search)

### Tertarik mengembangkan?

[Lihat kode](https://plugins.trac.wordpress.org/browser/rest-api-search/), periksa
[repositori SVN ](https://plugins.svn.wordpress.org/rest-api-search/), atau mendaftar
ke [log pengembangan](https://plugins.trac.wordpress.org/log/rest-api-search/) melalui
[RSS](https://plugins.trac.wordpress.org/log/rest-api-search/?limit=100&mode=stop_on_copy&format=rss).

## Log Perubahan

#### 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.

## Meta

 *  Versi **1.4**
 *  Diperbarui **10 tahun yang lalu**
 *  Instalasi Aktif **20+**
 *  Versi WordPress ** 4.4 atau yang terbaru **
 *  Diuji hingga **4.5.33**
 *  Bahasa
 * [English (US)](https://wordpress.org/plugins/rest-api-search/)
 * Tag
 * [rest-api](https://id.wordpress.org/plugins/tags/rest-api/)[search](https://id.wordpress.org/plugins/tags/search/)
 *  [Tampilan lanjut](https://id.wordpress.org/plugins/rest-api-search/advanced/)

## Rating

 5 dari 5 bintang.

 *  [  1 ulasan 5-bintang     ](https://wordpress.org/support/plugin/rest-api-search/reviews/?filter=5)
 *  [  0 ulasan 4-bintang     ](https://wordpress.org/support/plugin/rest-api-search/reviews/?filter=4)
 *  [  0 ulasan 3-bintang     ](https://wordpress.org/support/plugin/rest-api-search/reviews/?filter=3)
 *  [  0 ulasan 2-bintang     ](https://wordpress.org/support/plugin/rest-api-search/reviews/?filter=2)
 *  [  0 ulasan 1-bintang     ](https://wordpress.org/support/plugin/rest-api-search/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/rest-api-search/reviews/#new-post)

[Lihat semua ulasan](https://wordpress.org/support/plugin/rest-api-search/reviews/)

## Kontributor

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

## Bantuan

Ada yang ingin dikatakan? Butuh bantuan?

 [Lihat forum bantuan](https://wordpress.org/support/plugin/rest-api-search/)

## Donasi

Apakah Anda ingin mendukung pengembangan plugin ini?

 [ Donasi untuk plugin ini ](https://kcpt.org/donate/)