We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The clone items not update the index in "name" attribute, see the screenshot:
add_action( 'cmb2_admin_init', 'yourprefix_register_theme_options_metabox' ); /** * Hook in and register a metabox to handle a theme options page and adds a menu item. */ function yourprefix_register_theme_options_metabox() { /** * Registers options page menu item and form. */ $cmb_options = new_cmb2_box( array( 'id' => 'yourprefix_theme_options_page', 'title' => esc_html__( 'Theme Options', 'cmb2' ), 'object_types' => array( 'options-page' ), 'option_key' => 'yourprefix_theme_options', 'icon_url' => 'dashicons-palmtree', ) ); $cmb_options->add_field( array( 'name' => esc_html__( 'Site Background Color', 'cmb2' ), 'desc' => esc_html__( 'field description (optional)', 'cmb2' ), 'id' => 'bg_color', 'type' => 'text', 'default' => '#ffffff', 'repeatable' => true, ) ); }
The text was updated successfully, but these errors were encountered:
Fixed CMB2#1058
389e84b
Merge pull request #1059 from anhskohbo/patch-2
41582ac
Fixed #1058
No branches or pull requests
Expected Behavior:
The clone items not update the index in "name" attribute, see the screenshot:
CMB2 Field Registration Code:
The text was updated successfully, but these errors were encountered: