Get by taxonomy/category parent for WP REST API

By M Media

0+ active installationsVersion 1.0.1

Add the ability to get posts by the parent category in the WordPress REST API.

Description

Add the ability to get posts by the parent category in the WordPress REST API.

Usage

You can use the new endpoint with: /wp-json/wp/v2/posts?parent_category=[XXX]

Features

  1. 100% free
  2. Get posts by the category they belong in (including parent, grandparent, etc categories)

Privacy policy

This plugin works locally. No data is sent to other servers, or stored anywhere.

Installation

  1. Search for the “Get by taxonomy/category parent for WP REST API” plugin in Plugins > Add New.
  2. Press “Install Now”.
  3. When the installation is complete, press “Activate plugin”.

FAQ

Is it free?

Yes, this plugin is free to use.

Changelog

1.0.1

  • Updated supported WP version number.

1.0

  • Initial commit.