Custom Fields
Re-Envisioned
Support Meta Box Builder Question about setttings in the MB

This topic contains 4 replies, has 2 voices, and was last updated by  tsttech 2 weeks, 4 days ago.

  • Creator
    Topic
  • #15185
    Resolved
    tsttech
    Participant

    Dear Support,

    Was looking in the “Setting tab” and noticed “Show For” It was set to post and just wondering if it should be set to “Users”. I made the change but did not see anything change in the code.

    Also If i am just using this code just for the the “Users section” do i need the following

    'pages' => array(
            0 => 'post',
            1 => 'page',
        ),

    https://pastebin.com/HKbP0XMF

    Thank you for creating with WordPress. Version 5.2.2

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #15196

    Anh Tran
    Keymaster

    Hi Dave,

    There is actually a change in the code. It’s the last line 'type' => 'user'. I forgot to unset the pages param. I’ll do that in the next version. Don’t worry about it right now, it still works as expected.

    #15203

    tsttech
    Participant

    Dear Anh,

    So then it ok if I remove this from code

    ‘pages’ => array(
    0 => ‘post’,
    1 => ‘page’,
    ),

    Dave

    #15204

    Anh Tran
    Keymaster

    Yes, that’s ok to remove those lines.

    #15205

    tsttech
    Participant

    Cool.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.