Support

Account

Home Forums Bug Reports [ACF PRO] Option Page Mysterious Bug

Solved

[ACF PRO] Option Page Mysterious Bug

  • It is displayed correctly before saving the data, but the information of the field disappears after saving.

    This is a bug? or I wrong?
    *”Group Key and Field Key” does not overlap.

    ACF PRO 5.0.2
    PHP included (register_field_group)

    `register_field_group(array (
    ‘key’ => ‘group_53c6227e20093’,
    ‘title’ => ‘Options: Store’,
    ‘fields’ => array (
    array (
    ‘key’ => ‘field_535727d69b36d’,
    ‘label’ => __(‘Store archive setting’, ‘dress’),
    ‘name’ => ”,
    ‘prefix’ => ”,
    ‘type’ => ‘message’,
    ‘instructions’ => ”,
    ‘required’ => 0,
    ‘conditional_logic’ => 0,
    ‘message’ => ”,
    ),
    array (
    ‘key’ => ‘field_5357280d9b370’,
    ‘label’ => __(‘Products per page’, ‘dress’),
    ‘name’ => ‘bt_product_ppp_num’,
    ‘prefix’ => ”,
    ‘type’ => ‘number’,
    ‘instructions’ => __(‘0 or Blank is WordPress Default.’, ‘dress’),
    ‘required’ => 0,
    ‘conditional_logic’ => 0,
    ‘default_value’ => 10,
    ‘placeholder’ => ”,
    ‘prepend’ => ”,
    ‘append’ => ”,
    ‘min’ => 0,
    ‘max’ => ”,
    ‘step’ => ”,
    ‘readonly’ => 0,
    ‘disabled’ => 0,
    ),
    array (
    ‘key’ => ‘field_535728269b371’,
    ‘label’ => __(‘Variations list’, ‘dress’),
    ‘name’ => ‘bt_product_vlist’,
    ‘prefix’ => ”,
    ‘type’ => ‘radio’,
    ‘instructions’ => ”,
    ‘required’ => 0,
    ‘conditional_logic’ => 0,
    ‘choices’ => array (
    ‘enable’ => __(‘Enable’, ‘dress’),
    ‘disable’ => __(‘Disable’, ‘dress’),
    ),
    ‘other_choice’ => 0,
    ‘save_other_choice’ => 0,
    ‘default_value’ => ‘enable’,
    ‘layout’ => ‘horizontal’,
    ),



    ),
    ‘location’ => array (
    array (
    array (
    ‘param’ => ‘options_page’,
    ‘operator’ => ‘==’,
    ‘value’ => ‘acf-options-store’,
    ),
    ),
    ),
    ‘menu_order’ => 0,
    ‘position’ => ‘normal’,
    ‘style’ => ‘seamless’,
    ‘label_placement’ => ‘top’,
    ‘instruction_placement’ => ‘label’,
    ‘hide_on_screen’ => ”,
    ));

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.