Linux 软件免费装

Plugin Name

开发者 KCPT
Fastmover
更新时间 2016年6月21日 05:45
捐献地址: 去捐款
PHP版本: 4.4 及以上
WordPress版本: 4.5.2
版权: GPLv2 or later
版权网址: 版权信息

标签

Search REST API REST API Search API Search

下载

1.4 1.1 1.2 1.3 1.0

详情介绍:

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

安装:

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

常见问题:

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.

更新日志:

1.0 1.1 1.2 1.3 1.4