Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Josie API

Descripción

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 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. It can be used with any site running the WordPress REST API.

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.

2) Adds routes and endpoints for making tax-queries.

3) Adds routes and endpoints for getting menus & menu items.

4) Adds cross-domain headers, and for the posts endpoint allows for page offsets and limits the number of posts_per_page.

Capturas

  • screenshot-1.png

Instalación

  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

Preguntas frecuentes

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.

Reseñas

No hay reseñas para este plugin.

Colaboradores y desarrolladores

«Josie API» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Josie API» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

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.