WP REST API - All Terms

By : unknown

This plugin will add separate WordPress REST API (v2) endpoint, with all available terms (all used categories, tags and custom taxonomies). It is very useful when you need to create some filters into your app, with lists of all available terms.

For example what can you get, using wp-json/wp/v2/all-terms request (where categories and tags - standart taxonomies, and technologies - custom created taxonomy):

{
    categories: [
        {
            term_id: 9,
            name: "Downloads",
            slug: "downloads",
            term_group: 0,
            term_taxonomy_id: 9,
            taxonomy: "category",
            description: "",
            parent: 0,
            count: 1,
            filter: "raw"
        },
            term_id: 1,
            name: "Uncategorized",
            slug: "uncategorized",
            term_group: 0,
            term_taxonomy_id: 1,
            taxonomy: "category",
            description: "",
            parent: 0,
            count: 4,
            filter: "raw"
        },
        {
            term_id: 3,
            name: "WordPress",
            slug: "wordpress",
            term_group: 0,
            term_taxonomy_id: 3,
            taxonomy: "category",
            description: "",
            parent: 0,
            count: 2,
            filter: "raw"
        }
    ],
    tags: [
        {
            term_id: 16,
            name: "First tag",
            slug: "first-tag",
            term_group: 0,
            term_taxonomy_id: 16,
            taxonomy: "post_tag",
            description: "",
            parent: 0,
            count: 1,
            filter: "raw"
        },
        {
            term_id: 17,
            name: "Second tag",
            slug: "second-tag",
            term_group: 0,
            term_taxonomy_id: 17,
            taxonomy: "post_tag",
            description: "",
            parent: 0,
            count: 1,
            filter: "raw"
        }
    ],
    technologies: [
        {
            term_id: 15,
            name: "jQuery",
            slug: "jquery",
            term_group: 0,
            term_taxonomy_id: 15,
            taxonomy: "technologies",
            description: "",
            parent: 0,
            count: 1,
            filter: "raw"
        },
        {
            term_id: 14,
            name: "WordPress",
            slug: "wordpress",
            term_group: 0,
            term_taxonomy_id: 14,
            taxonomy: "technologies",
            description: "",
            parent: 0,
            count: 1,
            filter: "raw"
        }
    ]
}

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

Custom Taxonomy Sidebar Widget

Create sidebar widgets to display a list of your custom taxonomy terms with ease! You have total control over many options from specifying the maximum number of terms to be displayed all the way to specifying how you want your terms to be ordered. You can even display terms from multiple custom ta.........

Similar: 80%

WP REST API - Post Type Taxonomies

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 wh.........

Similar: 77%

WP REST API - Pure Taxonomies

Now you have no need to make additional requests to get taxonomy info (term_id, name, slug, term_group, term_taxonomy_id, taxonomy, description, parent, count, filter) from their id that is available in the default json response. Now all available taxonomy data is available in 'pure_taxonomies' fie.........

Similar: 75%

JSON REST API (WP API) Categories and Tags

The JSON REST API (WP API) as of version 1.1.1 does not allow you to specify tags or categories when createing or editing posts (it appears this will be added in a later release). This plugin addresses that problem by allowing categories and tags to be passed in the JSON data when creating/editing p.........

Similar: 67%

Taxonomy Switcher

This plugin allows you to select your "From", and "To" Taxonomies, to convert all terms. Optionally select a parent term to limit terms to switch. Typing term names will do a live search of terms with the name you are typing AND possess child terms. Plugin also has built-in support for WP-CLI. In t.........

Similar: 43%

Single-Term Taxonomies

Limit the taxonomy terms chosen for a post to maximum one. The Single-Term Taxonomies plugin replaces the standard checkboxes with radio buttons. Very helpful for taxonomies (like "brand" for example) where it is not appropriate to have more than one term picked. Works for both hierarchical and non.........

Similar: 34%

MB Rest API

MB Rest API is an extension of the Meta Box plugin which pulls all custom fields' values (meta value) from posts, pages, custom post types, terms into the WordPress REST API responses under 'meta_box' key. This plugin requires the WordPress REST API v2 and Meta Box v4.8.5+....

Similar: 31%

Related Posts via Taxonomies

This Plugin will display the related posts list via categories, tags and custom taxonomies. It can automatically display the related posts list after the content of any single post of selected post types by options. There are many options for the display, order, exclusion and post-type selection. Th.........

Similar: 28%

Entries By Terms Count

The process to creating a post is not just writing, most of the time you need categorize, assign tags, etc. But how are you sure of the quality of assignments? Too many categories? Missing tags in some posts? This plugin allows you to detect these entries defining operations related to the number .........

Similar: 28%

Bulk Term Generator

If you have a lot of terms that you need to add to tags, categories, or custom taxonomies... don't waste time doing it by hand! Bulk Term Generator makes it easy to do it all at once. For example, let's say you have a custom taxonomy called Animal Types and you need to import every animal type know.........

Similar: 24%