Title: WP REST API &#8211; Post Type Taxonomies
Author: Andrew MAGIK
Published: <strong>March 1, 2016</strong>
Last modified: March 1, 2016

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-rest-api-post-type-taxonomies.svg)

# WP REST API – Post Type Taxonomies

 By [Andrew MAGIK](https://profiles.wordpress.org/magikru/)

[Download](https://downloads.wordpress.org/plugin/wp-rest-api-post-type-taxonomies.1.0.zip)

 * [Details](https://wordpress.org/plugins/wp-rest-api-post-type-taxonomies/#description)
 * [Reviews](https://wordpress.org/plugins/wp-rest-api-post-type-taxonomies/#reviews)
 *  [Installation](https://wordpress.org/plugins/wp-rest-api-post-type-taxonomies/#installation)
 * [Development](https://wordpress.org/plugins/wp-rest-api-post-type-taxonomies/#developers)

 [Support](https://wordpress.org/support/plugin/wp-rest-api-post-type-taxonomies/)

## Description

This plugin will add separate WordPress REST API (v2) endpoint, with all relations
between existing post types and attached to them terms (taxonomies).
 It is very
useful when you need to create some filters, when you want to know what taxonomies
are attached to the current post type.

For example what can you get, using `wp-json/wp/v2/post-type-taxonomies` request(
empty results not included):

    ```
    {
        post: [
            "category",
            "post_tag",
            "post_format"
        ],
        portfolio: [
            "technologies",
            "clients",
            "work_types"
        ]
    }
    ```

Check my other useful rest-api plugins: [https://wordpress.org/plugins/tags/andrew-magik-rest-api](https://wordpress.org/plugins/tags/andrew-magik-rest-api).

## Installation

 1. Double check you have the WordPress REST (v2) API installed and active
 2. Upload the plugin folder to the `/wp-content/plugins/` directory, or install the
    plugin through the WordPress plugins screen directly.
 3. Activate the plugin through the ‘Plugins’ screen in WordPress

## FAQ

  What is the URL of this new WordPress REST API (v2) endpoint?

You get get all relations between post types and attached terms using GET request:

http://yoursite.name/wp-json/wp/v2/post-type-taxonomies

  When this plugin is useful?

This plugin is very useful when you need to create some filters and when you want
to know what taxonomies are attached to the current post type.

  Do you have other useful REST-API plugins?

Yes, I have. You can check them by tag: [https://wordpress.org/plugins/tags/andrew-magik-rest-api](https://wordpress.org/plugins/tags/andrew-magik-rest-api).

## Reviews

![](https://secure.gravatar.com/avatar/c1da90711d6ac6219c1ec779788051ee00168b1ce6a970997cccc7f582eef62f?
s=60&d=retro&r=g)

### 󠀁[Very useful to know all attached taxonomies for post types](https://wordpress.org/support/topic/very-useful-to-know-all-attached-taxonomies-for-post-types/)󠁿

 [Andrew MAGIK](https://profiles.wordpress.org/magikru/) September 3, 2016

Very useful to know all attached taxonomies for post types. With this information
you can create separate filters for specified post types.

 [ Read all 1 review ](https://wordpress.org/support/plugin/wp-rest-api-post-type-taxonomies/reviews/)

## Contributors & Developers

“WP REST API – Post Type Taxonomies” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Andrew MAGIK ](https://profiles.wordpress.org/magikru/)

[Translate “WP REST API – Post Type Taxonomies” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-rest-api-post-type-taxonomies)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-rest-api-post-type-taxonomies/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-rest-api-post-type-taxonomies/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-rest-api-post-type-taxonomies/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-rest-api-post-type-taxonomies/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial release!

## Meta

 *  Version **1.0**
 *  Last updated **10 years ago**
 *  Active installations **10+**
 *  WordPress version ** 4.4 or higher **
 *  Tested up to **4.4.34**
 * Tags
 * [api](https://wordpress.org/plugins/tags/api/)[custom post type](https://wordpress.org/plugins/tags/custom-post-type/)
   [post type](https://wordpress.org/plugins/tags/post-type/)[rest-api](https://wordpress.org/plugins/tags/rest-api/)
   [wp-api](https://wordpress.org/plugins/tags/wp-api/)
 *  [Advanced View](https://wordpress.org/plugins/wp-rest-api-post-type-taxonomies/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/wp-rest-api-post-type-taxonomies/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-post-type-taxonomies/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-post-type-taxonomies/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-post-type-taxonomies/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-post-type-taxonomies/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/wp-rest-api-post-type-taxonomies/reviews/)

## Contributors

 *   [ Andrew MAGIK ](https://profiles.wordpress.org/magikru/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-rest-api-post-type-taxonomies/)