Get by taxonomy/category parent for WP REST API

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

Author:M Media (profile at wordpress.org)
WordPress version required:4.6
WordPress version tested:5.7.2
Plugin version:1.0.1
Added to WordPress repository:26-01-2021
Last updated:11-03-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:502
plugin download
Click to start download

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.


FAQ
ChangeLog