{"action":"created","issue":{"url":"https://api.github.com/repos/wpmetabox/meta-box/issues/1254","repository_url":"https://api.github.com/repos/wpmetabox/meta-box","labels_url":"https://api.github.com/repos/wpmetabox/meta-box/issues/1254/labels{/name}","comments_url":"https://api.github.com/repos/wpmetabox/meta-box/issues/1254/comments","events_url":"https://api.github.com/repos/wpmetabox/meta-box/issues/1254/events","html_url":"https://github.com/wpmetabox/meta-box/issues/1254","id":344458698,"node_id":"MDU6SXNzdWUzNDQ0NTg2OTg=","number":1254,"title":"'type' => 'group', showing me only one field and do not show another one","user":{"login":"Akrasnovskis","id":3071081,"node_id":"MDQ6VXNlcjMwNzEwODE=","avatar_url":"https://avatars0.githubusercontent.com/u/3071081?v=4","gravatar_id":"","url":"https://api.github.com/users/Akrasnovskis","html_url":"https://github.com/Akrasnovskis","followers_url":"https://api.github.com/users/Akrasnovskis/followers","following_url":"https://api.github.com/users/Akrasnovskis/following{/other_user}","gists_url":"https://api.github.com/users/Akrasnovskis/gists{/gist_id}","starred_url":"https://api.github.com/users/Akrasnovskis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akrasnovskis/subscriptions","organizations_url":"https://api.github.com/users/Akrasnovskis/orgs","repos_url":"https://api.github.com/users/Akrasnovskis/repos","events_url":"https://api.github.com/users/Akrasnovskis/events{/privacy}","received_events_url":"https://api.github.com/users/Akrasnovskis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-07-25T14:06:09Z","updated_at":"2018-07-27T13:45:09Z","closed_at":null,"author_association":"NONE","body":"Hi, I spend like a long day and I have no idea why I can't make it work, and what exactly I'm doing wrong.  I'm trying to create a group, that it can be cloned if necessary. The group need include just two fields, one for URL and another is the text for this URL. Below you can see entire meta box for the specific post type. \r\n\r\nThe reason of the group, the client could have multiple buttons to be added to a page, sometimes is 1 URL and sometimes is 5, but each button needs to be specified, to avoid confusion. I thought that  \"clone\" feature is the best option, but even in below code I have two fields to be displayed, but only showing me one, even when I look through the backend code.\r\n\r\nI was checking all documentation, but cannot find any of those examples that works.\r\n\r\nThanks in advance for any bits of advice.\r\n\r\nA version of a plugin is 4.13.1\r\n\r\n    $meta_boxes[] = array(\r\n        'id'         => 'featured_publication',\r\n        'title'      => 'Featured Publication',\r\n\t\t'desc' \t\t\t\t=> esc_html__( 'If you have more than one link, please use button to add more' ),\r\n        'post_types' => 'publications',\r\n        'context'    => 'normal',\r\n        'priority'   => 'high',\r\n        'fields' => array(\r\n\t\t\tarray(\r\n\t\t\t\t'name'          \t=> 'Background image',\r\n\t\t\t\t'id'            \t=> 'featured_pub_bkg',\r\n\t\t\t\t'type'          \t=> 'file_advanced',\r\n\t\t\t\t'force_delete'     \t=> false,\r\n\t\t\t\t'max_file_uploads' \t=> 1,\r\n\t\t\t\t),\r\n\t\t\tarray(\r\n\t\t\t\t'id'               => 'subheading',\r\n\t\t\t\t'name'         => 'Sub Heading',\r\n\t\t\t\t'type'           => 'text',\r\n\t\t\t\t'size'            => '100',\r\n\t\t\t\t),\r\n\t\t\tarray(\r\n\t\t\t\t'id' \t\t=> $prefix . 'featured_links',\r\n\t\t\t\t'name'     => 'URL',\r\n\t\t\t\t'desc' \t=> esc_html__( 'If you have more than one link, please use button to add more' ),\r\n\t\t\t\t'type' => 'group',\r\n\t\t\t\t'clone' => true,\r\n\t\t\t\t'sort_clone' => true,\r\n\t\t\t\t'collapsible' =>  true,\r\n\t\t\t\t'save_state' =>  true,\r\n\t\t\t\t'fields'\t=> array(\r\n\t\t\t\t\t\t\tarray(\r\n\t\t\t\t\t\t\t\t'name' => 'URL Name',\r\n\t\t\t\t\t\t\t\t'id'   => 'featured_links_text',\r\n\t\t\t\t\t\t\t\t'type' => 'text',\r\n\t\t\t\t\t\t\t\t'clone' => false,\r\n\t\t\t\t\t\t\t\t'size' => '50',\r\n\t\t\t\t\t\t\t),\r\n\t\t\t\t\t\t\tarray(\r\n\t\t\t\t\t\t\t\t'name' => 'URL Link',\r\n\t\t\t\t\t\t\t\t'id'   => 'featured_links_url',\r\n\t\t\t\t\t\t\t\t'type' => 'url',\r\n\t\t\t\t\t\t\t\t'clone' => false,\r\n\t\t\t\t\t\t\t\t'size' => '50',\r\n\t\t\t\t\t\t\t),\r\n\t\t\t\t),\r\n\t\t\t),\r\n\t\t),\r\n\t\t\t\t \r\n    );"},"comment":{"url":"https://api.github.com/repos/wpmetabox/meta-box/issues/comments/408422889","html_url":"https://github.com/wpmetabox/meta-box/issues/1254#issuecomment-408422889","issue_url":"https://api.github.com/repos/wpmetabox/meta-box/issues/1254","id":408422889,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODQyMjg4OQ==","user":{"login":"Akrasnovskis","id":3071081,"node_id":"MDQ6VXNlcjMwNzEwODE=","avatar_url":"https://avatars0.githubusercontent.com/u/3071081?v=4","gravatar_id":"","url":"https://api.github.com/users/Akrasnovskis","html_url":"https://github.com/Akrasnovskis","followers_url":"https://api.github.com/users/Akrasnovskis/followers","following_url":"https://api.github.com/users/Akrasnovskis/following{/other_user}","gists_url":"https://api.github.com/users/Akrasnovskis/gists{/gist_id}","starred_url":"https://api.github.com/users/Akrasnovskis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akrasnovskis/subscriptions","organizations_url":"https://api.github.com/users/Akrasnovskis/orgs","repos_url":"https://api.github.com/users/Akrasnovskis/repos","events_url":"https://api.github.com/users/Akrasnovskis/events{/privacy}","received_events_url":"https://api.github.com/users/Akrasnovskis/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T13:45:09Z","updated_at":"2018-07-27T13:45:09Z","author_association":"NONE","body":"Hello Rilwis,\r\n\r\nThanks you for clarifying that, now I understand why it no work, its because required extensions, I purchased developer version,so now seems like work so far :))) thanks "}}
{"actor":{"display_login":"Akrasnovskis"}}