__('Searchlight Options', 'searchlight'),
'type' => 'heading');
$options[] = array(
'desc' => '
'. __('A Theme is an effort of many sleepless nights of Developers. You can contribute on this development translating this theme in your Language. You can send your translation/language file to us, ','searchlight').' '. __('Contact Us.','searchlight') .' '. __('You can inspire us writing a ','searchlight').''.__('Positive Review','searchlight').' '.__('of our Theme','searchlight').' '. __('Need More Features and Options including Exciting Multi Layer Slide, Unlimited Slides with layered Effects, Unlimited Featured Boxes, Color Changing Options, Easy Translation Option and 100+ Advanced Features? Try','searchlight').' Searchlight Extend '. __('You can Visit the Searchlight Extend Demo ','searchlight').' '. __('Here','searchlight').' ',
'type' => 'info');
$options[] = array(
'name' => __('Banner Image', 'searchlight'),
'desc' => __('You can upload a Banner Image for your site here', 'searchlight'),
'id' => 'banner-image',
'std' => get_template_directory_uri() . '/images/banner.jpg',
'type' => 'upload' );
$options[] = array(
'name' => __('Fixed Header?', 'searchlight'),
'desc' => __('Uncheck it if you do not want to show the Header Fixed. Default is Fixed.', 'searchlight'),
'id' => 'header-fixed',
'std' => '1',
'type' => 'checkbox' );
$options[] = array(
'name' => __("Site Layout", 'searchlight'),
'desc' => __("You can set the Site Layout for Whole the Site.", 'searchlight'),
'id' => "site-layout",
'std' => "2c-r-fixed",
'type' => "images",
'options' => array(
'1col-fixed' => get_template_directory_uri() . '/images/1col.png',
'2c-l-fixed' => get_template_directory_uri() . '/images/2cl.png',
'2c-r-fixed' => get_template_directory_uri() . '/images/2cr.png')
);
$options[] = array(
'name' => __('Contact Number', 'searchlight'),
'desc' => __('Set Your Contact Number', 'searchlight'),
'id' => 'contactnumber',
'std' => '(000) 111-222',
'type' => 'text',
'class' => 'mini');
// Color Settings
$options[] = array(
'desc' => ''. __('Site Colors', 'searchlight') .'',
'type' => 'info');
$options[] = array(
'name' => __('Use This Customized Design', 'searchlight'),
'desc' => __('Check this box if you want to use the following Custom Style Code', 'searchlight'),
'id' => 'colorcssaccept',
'std' => '0',
'type' => 'checkbox' );
$options[] = array(
'name' => __('Color 01', 'searchlight'),
'desc' => __('Change the Color', 'searchlight'). ' #149755',
'id' => 'color1',
'std' => '#149755',
'type' => 'color' );
$options[] = array(
'name' => __('Color 02', 'searchlight'),
'desc' => __('Change the Color', 'searchlight'). ' #05D24D',
'id' => 'color2',
'std' => '#05D24D',
'type' => 'color' );
$options[] = array(
'name' => __('Color 03', 'searchlight'),
'desc' => __('Change the Color', 'searchlight'). ' #03D56B',
'id' => 'color3',
'std' => '#03D56B',
'type' => 'color' );
// Social Links
$options[] = array(
'desc' => ''. __('Social Links', 'searchlight') .'',
'type' => 'info');
foreach (range(1, 5 ) as $numslinksn) {
$options[] = array(
'name' => __('Social Link - ', 'searchlight'). $numslinksn,
'desc' => __('Input Your Social Page Link. Example: http://profiles.wordpress.org/d5creation. If you do not want to show anything here leave the box blank. This Version supports only WordPress, Dribbble, Github, Tumblr, YouTube, Flickr, Vimeo, Instagram, Codepen and LinkedIn', 'searchlight'),
'id' => 'sl' . $numslinksn,
'std' => 'http://wordpress.org',
'type' => 'text');
}
return $options;
}
/*
* This is an example of how to add custom scripts to the options panel.
* This example shows/hides an option when a checkbox is clicked.
*/
add_action('optionsframework_custom_scripts', 'optionsframework_custom_scripts');
function optionsframework_custom_scripts() { ?>