WP Manifestindependent plugin directory
manifest / editor / wp-term-query-parent-selector

WP Term Query: Parent Selector

WP Term Query: Parent Selector

by P. E. A. Lutz · github.com/misfist/wp-term-query-parent-selector · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/misfist/wp-term-query-parent-selector/archive/refs/heads/main.zip

Readme

=== WP Term Query: Parent Selector === Contributors: misfist Tags: blocks, terms, taxonomy, gutenberg Requires at least: 6.7 Tested up to: 6.8 Requires PHP: 7.4 Stable tag: 1.0.0 License: GPL-2.0+ License URI: https://www.gnu.org/licenses/gpl-2.0.txt

Extends the core Terms Query block with a parent term selector.

== Description ==

Adds a Parent Term control to the core Terms Query block inspector, allowing you to filter displayed terms to children of a selected parent term. Uses the same FormTokenField component as the built-in Selected Terms control.

Features

  • Parent Term selector in the Terms Query block sidebar
  • Works with any public taxonomy
  • Correct output on both the front end and in the block editor preview

== Installation ==

  1. Upload the plugin directory to /wp-content/plugins/
  2. Run composer install in the plugin directory
  3. Activate the plugin via the Plugins screen in WordPress

== Changelog ==

= 1.0.0 =

  • Initial release

Read the full README on GitHub →