Title: Use parent taxonomy as condition
Last modified: January 30, 2026

---

# Use parent taxonomy as condition

 *  [tobaco](https://wordpress.org/support/users/tobaco/)
 * (@tobaco)
 * [3 months ago](https://wordpress.org/support/topic/use-parent-taxonomy-as-condition/)
 * It would be great, if one could test the visibility not only for one or more 
   certain terms, baut also if the current term of the post is a child of another
   term.
 * Example: I have posts which have terms (taxonomy “My Taxonomy”) which are children
   of a parent term (e.g. “Main Category”) but only have the child term assigned.
 * Some test like this for “Relative Term Hierarchy” would be great but for single
   post display and not archive pages!
 * ![](https://i0.wp.com/i.ibb.co/bjGxYZTN/regel-set-anzeige-bedingungen.png?ssl
   =1)
 * Is this possible? Selecting the parent term in the Location > Post Taxonomy doesn’t
   work.
 * Thanks and kind regards.

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fuse-parent-taxonomy-as-condition%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/block-visibility/assets/icon-256x256.png?rev=3122657)
 * [Block Visibility — Conditional Visibility Control for the Block Editor](https://wordpress.org/plugins/block-visibility/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/block-visibility/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/block-visibility/)
 * [Active Topics](https://wordpress.org/support/plugin/block-visibility/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/block-visibility/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/block-visibility/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [tobaco](https://wordpress.org/support/users/tobaco/)
 * Last activity: [3 months ago](https://wordpress.org/support/topic/use-parent-taxonomy-as-condition/)
 * Status: not resolved