Created
February 21, 2015 04:11
-
-
Save dovy/98c8fead3d11f0e7e618 to your computer and use it in GitHub Desktop.
To add to the redux docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
array('id' => 'dovytest', 'type'=>'typography', 'title' => 'Dovy Test' | |
), | |
array( | |
'id' => 'opt-presets', | |
'type' => 'image_select', | |
'presets' => true, | |
'title' => __('Preset', 'redux-framework-demo'), | |
'subtitle' => __('This allows you to set a json string or array to override multiple preferences in your theme.', 'redux-framework-demo'), | |
'default' => 0, | |
'desc' => __('This allows you to set a json string or array to override multiple preferences in your theme.', 'redux-framework-demo'), | |
'options' => array( | |
// Array of preset options | |
'1' => array( | |
'alt' => 'Preset 1', | |
'img' => 'http://avada.dev/wp-content/themes/avada3.8/assets/images/patterns/header1.jpg', | |
'presets' => array( | |
'dovytest' => array( | |
'color' => '#000000', | |
) | |
), | |
'merge' => 1 | |
), | |
// JSON string of preset options | |
'2' => array( | |
'alt' => 'Preset 2', | |
'img' => 'http://avada.dev/wp-content/themes/avada3.8/assets/images/patterns/header2.jpg', | |
'presets' => array( | |
'dovytest' => array( | |
'color' => '#f8f8f8', | |
) | |
), | |
'merge' => array('dovytest') | |
), | |
), | |
), | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment