Created
December 20, 2017 16:10
-
-
Save Galibri/f5d0c546c9cbbe3ffe5e8d4c37d1c1fd to your computer and use it in GitHub Desktop.
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' => 'slider_color', | |
'type' => 'color_picker', | |
'title' => 'Select Text color' | |
), | |
array( | |
'id' => 'overlay_enable', | |
'type' => 'switcher', | |
'title' => 'Overlay Enable', | |
'label' => 'Yes, Please do it.', | |
), | |
array( | |
'id' => 'overlay_opacity', | |
'type' => 'number', | |
'title' => 'Overlay Opacity', | |
'desc' => 'Type a number, it will be % and limit 1 - 100', | |
'default'=> '70', | |
'after' => '%', | |
'dependency'=> array('overlay_enable', '==', 'true') | |
), | |
array( | |
'id' => 'button_enable', | |
'type' => 'switcher', | |
'title' => 'Button Enable', | |
'label' => 'Yes, Please do it.', | |
), | |
array( | |
'id' => 'select_btn', | |
'type' => 'select', | |
'title' => 'Select Link', | |
'options'=> array( | |
'select_link' => 'Select Link', | |
'page_link' => 'Page Link', | |
'custom_link' => 'Custom link', | |
), | |
'default' => array('select_link'), | |
'dependency'=> array('button_enable', '==', 'true') | |
), | |
array( | |
'id' => 'btn_link_page', | |
'type' => 'select', | |
'title' => 'Select page', | |
'options'=> 'pages', | |
'dependency'=> array( | |
'select_btn|button_enable', '==|==', 'page_link|true' | |
) | |
), | |
array( | |
'id' => 'btn_link_url', | |
'type' => 'text', | |
'title' => 'Custom URL', | |
'dependency'=> array( | |
'select_btn|button_enable', '==|==', 'custom_link|true' | |
) | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment