Skip to content

Instantly share code, notes, and snippets.

@dovy
Created August 23, 2013 21:01
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 dovy/6323979 to your computer and use it in GitHub Desktop.
Save dovy/6323979 to your computer and use it in GitHub Desktop.
array(
'id' => 'presets', //must be unique
'type' => 'images',
'presets' => true,
'title' => __('Preset', 'simple-options'),
'sub_desc'=> __('Select a background pattern.', 'simple-options'),
'std' => 0,
'options' => array(
'1' => array('alt' => '1 Column', 'img' => SOF_OPTIONS_URL.'img/1col.png', 'presets'=>array('slider2'=>12,'patterns'=>2)),
'2' => array('alt' => '2 Column Left', 'img' => SOF_OPTIONS_URL.'img/2cl.png', 'presets'=>'{"slider2":"30", "patterns":"5"}'),
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment