Custom Fields
Re-Envisioned
Support Meta Box Group How to add clone field

This topic contains 2 replies, has 3 voices, and was last updated by  Anh Tran 4 years ago.

  • Creator
    Topic
  • #466

    vipinn 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #483

    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 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 2 replies - 1 through 2 (of 2 total)

The topic ‘How to add clone field’ is closed to new replies.