An open API service indexing awesome lists of open source software.

https://github.com/luandro/better-rest-api-tags

Adds a top-level field with featured image data including available sizes and URLs to the post object returned by the REST API.
https://github.com/luandro/better-rest-api-tags

tags wordpress-plugin wp wp-api

Last synced: 6 months ago
JSON representation

Adds a top-level field with featured image data including available sizes and URLs to the post object returned by the REST API.

Awesome Lists containing this project

README

          

# Better REST API Tags #
**Contributors:** Luandro
**Donate link:** http://Luandro.com/
**Tags:** featured, images, post, thumbnail, rest, api, better
**Requires at least:** 4.0
**Tested up to:** 4.6
**Stable tag:** 1.0.0
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

Adds a top-level field with featured image data including available sizes and URLs to the post object returned by the REST API.

## Description ##

A simple plugin that changes the normal `id` field, to `name` field when querying for tags on WP Rest Api.

Based on [stackoverflow answer](http://wordpress.stackexchange.com/questions/241814/wp-api-get-post-with-tag-names-instead-of-tag-ids) and a fork of simple [better-rest-api-featured-images](https://github.com/BraadMartin/better-rest-api-featured-images) plugin.

This plugin is on [on Github](https://github.com/Luandro/better-rest-api-tags "Better REST API Tags") and pull requests are always welcome. :)

## Installation ##

### Manual Installation ###

1. Upload the entire `/better-rest-api-tags` directory to the `/wp-content/plugins/` directory.
1. Activate 'Better REST API Tags' through the 'Plugins' menu in WordPress.

### Better Installation ###

1. Go to Plugins > Add New in your WordPress admin and search for 'Better REST API Tags'.
1. Click Install.

## Changelog ##

### 1.0.0 ###
* First Release