How to add clone field

Support MB Group How to add clone field

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #466
    vipinn sharmavipinn sharma
    Participant

    Hello

    Great extension.

    I would like to know how can i add clone able field on post because on your documentation there is one parameter missing pages where we can mention post type.

    Could you please provide me one example of clone group of two text boxes on post-type post, so that i could understand way of adding meta boxes with grouping.

     

    Thanks

    #483
    christian.zagarskas@gmail.com[email protected]
    Participant

    I had the same problem.

    I went here and copied the example exactly as he shows it and it worked for me!

    https://metabox.io/docs/meta-box-group/#section-sample-code

    #484
    Anh TranAnh Tran
    Keymaster

    Hi,

    All you need is just specify post_types parameter for meta box when define it. This parameter is optional and gets default value is post. So if you want to set meta box for post only, you can ignore this parameter as I did in the sample code.

    For more information, please see this documentation.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How to add clone field’ is closed to new replies.