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

---

Plugins suchen

Dieses Plugin wurde **nicht mit den 3 neuesten Hauptversionen von WordPress getestet**.
Es wird möglicherweise nicht mehr gepflegt oder unterstützt und kann bei der Verwendung
mit neueren WordPress-Versionen zu Kompatibilitätsproblemen führen.

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

# REST API Search

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

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

 * [Details](https://de.wordpress.org/plugins/rest-api-search/#description)
 * [Rezensionen](https://de.wordpress.org/plugins/rest-api-search/#reviews)
 *  [Installation](https://de.wordpress.org/plugins/rest-api-search/#installation)
 * [Entwicklung](https://de.wordpress.org/plugins/rest-api-search/#developers)

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

## Beschreibung

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)

## Installation

In diesem Abschnitt wird beschrieben, wie du das Plugin installieren kannst und 
wie es arbeitet.

z. B.

 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

  Wie verwende ich dieses 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.

## Rezensionen

![](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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 [ 1 Rezension lesen ](https://wordpress.org/support/plugin/rest-api-search/reviews/)

## Mitwirkende und Entwickler

„REST API Search“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin
mitgewirkt:

Mitwirkende

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

[Übersetze „REST API Search“ in deine Sprache.](https://translate.wordpress.org/projects/wp-plugins/rest-api-search)

### Interessiert an der Entwicklung?

[Durchstöbere den Code](https://plugins.trac.wordpress.org/browser/rest-api-search/),
sieh dir das [SVN-Repository](https://plugins.svn.wordpress.org/rest-api-search/)
an oder abonniere das [Entwicklungsprotokoll](https://plugins.trac.wordpress.org/log/rest-api-search/)
per [RSS](https://plugins.trac.wordpress.org/log/rest-api-search/?limit=100&mode=stop_on_copy&format=rss).

## Änderungsprotokoll

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

 *  Version **1.4**
 *  Zuletzt aktualisiert **vor 10 Jahren**
 *  Aktive Installationen **20+**
 *  WordPress-Version ** 4.4 oder höher **
 *  Getestet bis **4.5.33**
 *  Sprache
 * [English (US)](https://wordpress.org/plugins/rest-api-search/)
 * Schlagwörter
 * [rest-api](https://de.wordpress.org/plugins/tags/rest-api/)[search](https://de.wordpress.org/plugins/tags/search/)
 *  [Erweiterte Ansicht](https://de.wordpress.org/plugins/rest-api-search/advanced/)

## Bewertungen

 5 von 5 Sternen.

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

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

[Alle Rezensionen anzeigen](https://wordpress.org/support/plugin/rest-api-search/reviews/)

## Mitwirkende

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

## Support

Möchtest du etwas mitteilen? Brauchst du Unterstützung?

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

## Spenden

Möchtest du die Weiterentwicklung dieses Plugins unterstützen?

 [ Für dieses Plugin spenden ](https://kcpt.org/donate/)