Using an array as value for custom attribute

Support MB Builder Using an array as value for custom attribute

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3899
    Josué E. PizanoJosué E. Pizano
    Participant

    Hi! I'm trying to use a custom attr for a text field on a metabox; but I need to configure it to be sortable and to show in a specific position (before title).

    This is what I'm trying to do:

    'admin_columns' => array('position' => 'before title', 'title' => 'Campus', 'sort' => true),

    Thanks in advance

    #3900
    Josué E. PizanoJosué E. Pizano
    Participant

    I forgot to mention that I need to do it with META BOX BUILDER only (graphically instead of PHP)

    #3932
    Anh TranAnh Tran
    Keymaster

    Hi, please follow this documentation:

    https://metabox.io/docs/how-to-create-nested-array-field-with-meta-box-builder/

    Thanks
    Anh

    #3955
    Josué E. PizanoJosué E. Pizano
    Participant

    Thank you! That's exactly what I'm looking for 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Using an array as value for custom attribute’ is closed to new replies.