Relationship Metabox Visibility

Support MB Relationships Relationship Metabox VisibilityResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38430
    Cynthia ConserCynthia Conser
    Participant

    While the MB Builder offers a Conditional Logic field for custom fields, it does not have one for relationship metaboxes. Is the only option to use the programmatic Include/Exclude extension? If so, what code snippets would I use to hide a metabox in the following situations:

    A. The parent post has a radio field with a particular value selected?
    B. The parent post has a taxonomy advanced field with a particular term selected?

    #38441
    Long NguyenLong Nguyen
    Moderator

    Hi Cynthia,

    If you want to hide a relationship metabox based on a field value, please follow this documentation to know how to use conditional logic to show/hide an element https://docs.metabox.io/extensions/meta-box-conditional-logic/#using-outside-meta-boxes

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.