WordPress plugin · Meta Box family
Meta Box Show Hide
Toggles meta boxes instantly by page template, post format, taxonomy or input value.
About This Plugin
Meta Box Show Hide is an extension for the Meta Box plugin that uses JavaScript to show or hide meta boxes immediately. You add conditions to your meta boxes and the extension does the rest, with no custom PHP and no rewritten meta box definitions.
Conditions include page templates, post formats, categories, custom taxonomies (hierarchical only), parent page and input values, such as hiding a meta box when a checkbox is checked. Combine them with include, exclude, AND and OR. It works in both the classic editor and the Gutenberg block editor.
It toggles whole meta boxes, not individual fields or elements. For those, or for more complex conditions, use MB Conditional Logic.