Title: Josie API
Author: Josh Pollock
Published: <strong>2014 年 11 月 4 日</strong>
Last modified: 2014 年 11 月 7 日

---

搜索插件

![](https://ps.w.org/josie-api/assets/banner-772x250.png?rev=1019122)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/josie-api_3a3a3c.svg)

# Josie API

 作者：[Josh Pollock](https://profiles.wordpress.org/shelob9/)

[下载](https://downloads.wordpress.org/plugin/josie-api.zip)

 * [详情](https://cn.wordpress.org/plugins/josie-api/#description)
 * [评价](https://cn.wordpress.org/plugins/josie-api/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/josie-api/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/josie-api/#developers)

 [支持](https://wordpress.org/support/plugin/josie-api/)

## 描述

Provides useful tools for optimizing a WordPress site to power a single page web
app using WordPress REST API. Designed to work as a companion for the [Josie REST API-powered starter app](https://github.com/shelob9/josie)
but useful for any site using the WordPress REST API.

This is a companion plugin for my WordPress REST API (WP-API) powered application
starter, called [Josie](https://github.com/shelob9/josie). It can be used with any
site running the [WordPress REST API](http://wp-api.org/).

It packages multiple libraries, most of which I wrote, to accomplish several things:

1) [Provides a soft-expiring, server-side cache for requests to the REST API](https://github.com/shelob9/jp-rest-cache).

2) [Adds routes and endpoints for making tax-queries](https://github.com/Shelob9/jp-tax-query).

3) [Adds routes and endpoints for getting menus & menu items](https://github.com/Shelob9/jp-menu-route).

4) [Adds cross-domain headers, and for the posts endpoint allows for page offsets and limits the number of posts_per_page](https://github.com/Shelob9/jp-rest-access).

## 屏幕截图

 * [[
 * screenshot-1.png

## 安装

 1. Unpack the entire contents of this plugin zip file into your `wp-content/plugins/`
    folder locally
 2. Upload to your site
 3. Navigate to `wp-admin/plugins.php` on your site (your WP Admin plugin page)
 4. Activate this plugin

OR you can just install it with WordPress by going to Plugins >> Add New >> and 
type this plugin\’s name

## 常见问题

For more information about what this plugin does and how to modify its behavior,
please see the READMEs for each of the libraries that make it up.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Josie API」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Josh Pollock ](https://profiles.wordpress.org/shelob9/)

[帮助将「Josie API」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/josie-api)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/josie-api/)，查看[SVN仓库](https://plugins.svn.wordpress.org/josie-api/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/josie-api/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/josie-api/)。

## 更新日志

#### 0.1.0

Initial release.

#### 0.1.1

Fix offset.
 Support for multiple CORS domains

#### 0.1.2

composer.json updates for caching.

#### 0.1.3

Activation hook to set option defaults.
 Streamline tax query endpoint.

## 额外信息

 *  版本 **0.1.3**
 *  最后更新：**11 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **4.0.38**
 *  语言
 * [English (US)](https://wordpress.org/plugins/josie-api/)
 * 标签
 * [cache](https://cn.wordpress.org/plugins/tags/cache/)[doge](https://cn.wordpress.org/plugins/tags/doge/)
   [JSON](https://cn.wordpress.org/plugins/tags/json/)[rest-api](https://cn.wordpress.org/plugins/tags/rest-api/)
   [wp-api](https://cn.wordpress.org/plugins/tags/wp-api/)
 *  [高级视图](https://cn.wordpress.org/plugins/josie-api/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/josie-api/reviews/)

## 贡献者

 *   [ Josh Pollock ](https://profiles.wordpress.org/shelob9/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/josie-api/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://JoshPress.net)