Custom field only appears after unchecking/rechecking in Screen Options

Support MB Builder Custom field only appears after unchecking/rechecking in Screen OptionsResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38434
    dan@netbiotic.com[email protected]
    Participant

    I am using a plugin named Mailster to create newsletters. It has a custom post type named 'newsletter' and I am trying to use the MB Builder plugin to add a custom field.

    It works as intended but with an odd bug. The custom field will not display the field initially on the post edit screen. However, if I choose uncheck and recheck the box under Screen Options it will then appear and works as expected. However this needs to be done every time I create or edit a newsletter.

    I'm trying to figure if it's Meta Box or Mailster that's causing the issue. Like I said the custom field works as expected after unchecking/rechecking in Screen Options but my client is non-technical so I'm trying to keep it as straightforward as possible.

    Any idea what the issue could be?

    #38447
    Long NguyenLong Nguyen
    Moderator

    Hi Dan,

    Can you please share the code that creates the field group (meta box) on your site? It is possible that the meta box and custom field are hidden by default by enabling the setting default_hidden. Read more on the documentation https://docs.metabox.io/creating-fields-with-code/#field-group-settings
    https://docs.metabox.io/extensions/meta-box-builder/#getting-php-code

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