Support Forum ยป User Profile

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Only First Group Field Appears #14444
    katevkatev
    Participant

    This is how the metabox appears

    in reply to: Only First Group Field Appears #14443
    katevkatev
    Participant

    I have now tried installing the plugin normally via the WP Plugins page, but the result is still the same. It doesn't work at all. Please get back to me asap. I'm on a tight deadline and could have just done this using CMB2 for free. I invested $50 in this extension to save time. It has to work.

    in reply to: Only First Group Field Appears #14442
    katevkatev
    Participant

    Upon further testing, I can see that the first field doesn't even work properly. If I change it to a date field or another field type, it still shows as a text field.

    in reply to: Only First Group Field Appears #14441
    katevkatev
    Participant

    This is the code I'm using:

        $meta_boxes[] = array(
            'title'  => 'Album Tracks',
            'pages'   => array( 'post','page' ),
            'fields' => array(
                array(
                    'id'     => 'standard',
                    // Group field
                    'type'   => 'group',
                    // Clone whole group?
                    'clone'  => true,
                    // Drag and drop clones to reorder them?
                    'sort_clone' => true,
                    // Sub-fields
                    'fields' => array(
                        array(
                            'name' => 'Track name',
                            'id'   => 'text',
                            'type' => 'text',
                        ),
                        array(
                            'name' => 'Release Date',
                            'id'   => 'date',
                            'type' => 'date',
                        ),
                        array(
                            'name'    => 'Genre',
                            'id'      => 'genre',
                            'type'    => 'select_advanced',
                            'options' => array(
                                'pop'  => 'Pop',
                                'rock' => 'Rock',
                            ),
                        ),
                    ),
                ),
            ),
        );
Viewing 4 posts - 1 through 4 (of 4 total)