Directory / plugin

Get by taxonomy/category parent for WP REST API

v1.0.1 · by M Media

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

View on WordPress.org

About this plugin

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.

Plugin tags