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.
- Host: GitHub
- URL: https://github.com/luandro/better-rest-api-tags
- Owner: luandro
- Created: 2017-02-11T18:48:08.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-14T04:56:15.000Z (almost 9 years ago)
- Last Synced: 2025-08-17T14:02:19.397Z (6 months ago)
- Topics: tags, wordpress-plugin, wp, wp-api
- Language: PHP
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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