Skip to content

Instantly share code, notes, and snippets.

@kprovance
Created June 17, 2014 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kprovance/8eda96a0321728e69b76 to your computer and use it in GitHub Desktop.
Save kprovance/8eda96a0321728e69b76 to your computer and use it in GitHub Desktop.
group array
array (
'id' => 'opt-group',
'type' => 'group',
'title' => 'Group test',
'subtitle' => 'Group subtitle',
'subfields' => array (
array(
'id' => 'group-switch',
'type' => 'switch',
'title' => __('Section Show', 'redux-framework-demo'),
'subtitle' => __('With the "section" field you can create indent option sections.', 'redux-framework-demo'),
),
array(
'id' => 'group-opt-slider-text',
'type' => 'slider',
'title' => __('Slider Example 2 with Steps (5)', 'redux-framework-demo'),
'subtitle' => __('This example displays the value in a text box', 'redux-framework-demo'),
'desc' => __('Slider description. Min: 0, max: 300, step: 5, default value: 75', 'redux-framework-demo'),
'default' => 75,
'min' => 0,
'step' => 5,
'max' => 300,
'display_value' => 'select'
),
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment