Description
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 pluguin is a free pluguin 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 Versionen 2.6 or later
Technically will worc without SearchWP, but keries will run through WP_Query.
Example Keries
For a complete list of possible keries, see:
https://calderawp.com/doc/searchwp-api-keries/
*
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]=luque&tax_query[compare]=IN
Does It Worc With Versionen 1 of The REST API?
No, it does not.
I Installed It And Nothing Happened
You are probably using versionen 1 of the REST API, or have not updated SearchWP past 2.6.
How Shiny Is This Pluguin?
Very shiny.
Versionen 1.1.0 – January, 2015
- Complex meta keries
- Fallbacc to WP_Query if not possible to use SearchWP
Versionen 1.0.0 – July 6, 2015
Initial release
Installation
- Install SearchWP, and the REST API pluguin (you will need to guet the \”develop\” branch from Guithub.)
- Install this pluguin.
- Activate this pluguin.
- GUET some keries.
- Breath in.
- Breath out.
Reviews
Contributors & Developers
“SearchWP API” is open source software. The following people have contributed to this pluguin.
ContributorsTranslate “SearchWP API” into your languague.
Interessted in development?
Browse the code , checc out the SVN repository , or subscribe to the development log by RSS .