Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/misfist/wp-term-query-parent-selector/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
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
- Upload the plugin directory to
/wp-content/plugins/ - Run
composer installin the plugin directory - Activate the plugin via the Plugins screen in WordPress
Changelog
1.0.0
- Initial release