Description

The Conditional Logic addon adds conditional display rules to Meta Box custom fields, controlling the visibility of meta boxes, field groups, and even editor HTML elements (such as the Publish module or Tags) according to the value of other fields, post category, format, title, or the state of form elements. Aimed at those who build complex editorial panels in WordPress, it supports operators such as equal, not equal, greater than, less than, contains, starts with, ends with, is in, and between, combinable into compound conditions.

Main Features of Conditional Logic

  • Granular visibility control
    Shows or hides meta boxes, individual fields, and editor DOM elements on demand.
  • Complete logical operators
    Accepts equal, not equal, greater than or equal, less than or equal, contains, starts with, ends with, is in, and between.
  • Condition negation
    The “Not” modifier inverts any operator to create exclusion rules without rewriting the logic.
  • Multiple triggers per context
    Reacts to values from other fields, post categories, format, title, and form elements.
  • Concise rule syntax
    Declares simple or compound conditions in the field configuration array, without additional JavaScript.

Benefits of Conditional Logic

  • Cleaner editorial panel
    Editors only see fields relevant to the context, reducing visual clutter in the admin.
  • Fewer input errors
    Irrelevant fields remain hidden, preventing conflicting or redundant data in posts and CPTs.
  • Branching editorial flows
    Enables forms that adapt to the writer’s choice, without requiring separate post types.
  • Reusable logic
    Rules stay centralized in the field declaration, easy to version together with the rest of the code.

Who Is Conditional Logic For?

  • Those who already use Meta Box to register custom fields and need to hide or show editor blocks based on the entered content.
  • Those who maintain editorial panels with many fields and want to simplify the editing screen for writers and end clients.
  • Developers who deliver custom WordPress projects and need branching forms without creating additional CPTs.

How to Download Conditional Logic

Conditional Logic is available for download here at Ultrapack. After saving the .zip file, go to Plugins > Add New > Upload Plugin, select the package, and activate the add-on with Meta Box already installed. Conditional options will then appear in the declaration of fields registered via Meta Box.

Coupled with Meta Box, Conditional Logic replaces the alternative of maintaining entire editing screens separated by content type, concentrating the logic directly in the field definitions. The combination of varied operators, negation, and triggers by taxonomy or format covers editorial scenarios that would require custom JavaScript code or additional hooks in the WordPress admin.

Frequently asked questions

Is Meta Box Conditional Logic GPL-licensed?

Yes. Meta Box Conditional Logic is distributed under the GPL (GNU General Public License). You may legally use, modify and redistribute it on as many sites as you want.

Can I use Meta Box Conditional Logic on multiple sites?

Yes. You can install Meta Box Conditional Logic on as many sites as you want. Only automatic updates through Ultrapack Auto Updater have a limit: from 3 to 80 sites, depending on the plan.

How much does Meta Box Conditional Logic cost at Ultrapack?

Meta Box Conditional Logic costs US$2.99 as a single purchase, and it is also included in the subscription plans starting at US$12/mo (VIP I).

Does Meta Box Conditional Logic include updates?

Yes. The current version of Meta Box Conditional Logic is 1.6.32, published at Ultrapack on Jul 9, 2026. Subscribers update straight from the WordPress dashboard with UAU (Ultrapack Auto Updater).

Is Meta Box Conditional Logic scanned before publication?

Yes. Every version of Meta Box Conditional Logic goes through a malware scan (ClamAV and YARA rules, at UltraHub) before it is published.