Run advanced searches via the WordPress REST API and SearchWP.
Beoordelingen
5
Laatst bijgewerkt
January 7, 2016
Versie
1.1.0
Actieve installaties
300
SearchWP API

Run advanced searches via the WordPress REST API and SearchWP.

Adds an endpoint to the WordPress REST API for searching via SearchWP — the best tool for improving the usefulness and performance of WordPress search.

This plugin is a free plugin by CalderaWP. It is not an official add-on for SearchWP.

  • Requires WordPress REST API (WP-API) 2.0-beta9 or later or WordPress 4.4 or later.
  • Requires SearchWP Version 2.6 or later

Technically will work without SearchWP, but queries will run through WP_Query.

Example Queries

For a complete list of possible queries, see: https://calderawp.com/doc/searchwp-api-queries/ * wp-json/swp_api/search?s=jedi&egnine=star-wars * wp-json/swp_api/search?&tax_query[field]=slug&tax_query[taxonomy]=categories&tax_query[terms]=1 * wp-json/swp_api/search?meta_query[key]=jedi&meta_query[value]=luke&tax_query[compare]=IN

Does It Work With Version 1 of The REST API?

No, it does not.

I Installed It And Nothing Happened

You are probably using version 1 of the REST API, or have not updated SearchWP past 2.6.

How Shiny Is This Plugin?

Very shiny.

Version 1.1.0 – January, 2015

  • Complex meta queries
  • Fallback to WP_Query if not possible to use SearchWP

Version 1.0.0 – July 6, 2015

Initial release

Gratisop Creator abonnement
Door te installeren, ga je akkoord met de Servicevoorwaarden van WordPress.com en de voorwaarden voor plugins van derden.
Actieve installaties
300
Getest tot
4.4.33
Deze plugin kan worden gedownload, zodat je hem op je zelf-gehoste WordPress-installatie kan gebruiken.