'Facebook','icon' => 'facebook', 'link'=>'#'),
array ('title'=>'Twitter','icon' => 'twitter', 'link'=>'#'),
array('title'=>'LinkedIn','icon' => 'linkedin', 'link'=>'#'),
array ('title'=>'YouTube','icon' => 'youtube', 'link'=>'#'),
array('title'=>'Skype','icon' => 'skype', 'link'=>'#'),
array ('title'=>'Pinterest','icon' => 'pinterest', 'link'=>'#'),
array('title'=>'Google+','icon' => 'google-plus', 'link'=>'#'),
array('title'=>'Email','icon' => 'envelope', 'link'=>'#'),
array ('title'=>'RSS','icon' => 'rss', 'link'=>'#')
);
/**
* Defines an array of options that will be used to generate the settings page and be saved in the database.
* When creating the 'id' fields, make sure to use all lowercase and no spaces.
*
*/
if( !function_exists('optionsframework_options') ):
function optionsframework_options() {
global $social_icons,$sidebars,$options_saved,$onetone_home_sections;
$os_fonts = onetone_options_typography_get_os_fonts();
$os_fonts = array_merge(array('' => __( '-- Default --', 'onetone' ) ), $os_fonts);
$font_color = array('color' => '');
$section_font_color = array('color' => '');
$section_title_typography_defaults_1 = array(
'size' => '36px',
'face' => '',
'style' => '700',
'color' => '#666666' );
$section_content_typography_defaults_1 = array(
'size' => '14px',
'face' => '',
'style' => '400',
'color' => '#666666' );
$typography_options = array(
'sizes' => array( '10','11','12','13','14','16','18','20','24','26','28','30','35','36','38','40','46','48','50','60','64' ),
'faces' => $os_fonts,
'styles' => array(
'normal' => 'normal',
'italic' => 'italic',
'bold' => 'bold',
'bold italic' => 'bold italic',
'100' => '100',
'200' => '200',
'300' => '300',
'400' => '400',
'500' => '500',
'600' => '600',
'700' => '700',
'800' => '800',
'900' => '900'
),
'color' => true );
$choices = array(
'yes' => __( 'Yes', 'onetone' ),
'no' => __( 'No', 'onetone' )
);
$choices2 = array(
'1' => __( 'Yes', 'onetone' ),
'0' => __( 'No', 'onetone' )
);
$choices_reverse = array(
'no'=> __( 'No', 'onetone' ),
'yes' => __( 'Yes', 'onetone' )
);
$align = array(
'' => __( 'Default', 'onetone' ),
'left' => __( 'left', 'onetone' ),
'right' => __( 'right', 'onetone' ),
'center' => __( 'center', 'onetone' )
);
$repeat = array(
'repeat' => __( 'repeat', 'onetone' ),
'repeat-x' => __( 'repeat-x', 'onetone' ),
'repeat-y' => __( 'repeat-y', 'onetone' ),
'no-repeat' => __( 'no-repeat', 'onetone' )
);
$target = array(
'_blank' => __( 'Blank', 'onetone' ),
'_self' => __( 'Self', 'onetone' )
);
$position = array(
'top left' => __( 'top left', 'onetone' ),
'top center' => __( 'top center', 'onetone' ),
'top right' => __( 'top right', 'onetone' ),
'center left' => __( 'center left', 'onetone' ),
'center center' => __( 'center center', 'onetone' ),
'center right' => __( 'center right', 'onetone' ),
'bottom left' => __( 'bottom left', 'onetone' ),
'bottom center' => __( 'bottom center', 'onetone' ),
'bottom right' => __( 'bottom right', 'onetone' )
);
$opacity = array_combine(range(0.1,1,0.1), range(0.1,1,0.1));
$font_size = array_combine(range(1,100,1), range(1,100,1));
$section_title = array("POWERFUL ONE PAGE THEME","","","GALLERY","OUR TEAM","ABOUT","TESTIMONIALS","","CONTACT","","","","","");
$section_color = array("#ffffff","","","","","#ffffff","#ffffff","","");
$section_subtitle = array(
"BASED ON BOOTSTRAP FRAMEWORK AND SHORTCODES, QUICK SET AND EASY BUILD,
SHINES ONE PAGE SMALL BUSINESS WEBSITE.",
"",
"",
"Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere c.
Etiam ut dui eu nisi lobortis rhoncus ac quis nunc.",
"Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere c.
Etiam ut dui eu nisi lobortis rhoncus ac quis nunc.",
"Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere c.
Etiam ut dui eu nisi lobortis rhoncus ac quis nunc.","Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere c.
Etiam ut dui eu nisi lobortis rhoncus ac quis nunc.","","Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere c.
Etiam ut dui eu nisi lobortis rhoncus ac quis nunc.");
$section_menu = array("Home","","Services","Gallery","Team","About","Testimonials","","Contact");
$section_slug = array('home','','services','gallery','team','about','testimonials','','contact');
$section_padding = array('','30px 0','50px 0','50px 0','50px 0','50px 0','10px 0 50px','50px 0','50px 0');
$text_align = array('center','left','center','center','center','left','center','left','center');
if( $options_saved )
$content_model = '1';
else
$content_model = '0';
$section_1_content = onetone_option( 'section_1_content');
$section_1_content = $section_1_content=='slider'?1:$section_1_content;
$default_section_num = count($section_menu);
$section_background = array(
array(
'color' => '',
'image' => ONETONE_THEME_BASE_URL.'/images/home-bg01.jpg',
'repeat' => 'repeat',
'position' => 'top left',
'attachment'=>'scroll' ),
array(
'color' => '#eeeeee',
'image' => '',
'repeat' => 'repeat',
'position' => 'top left',
'attachment'=>'scroll' ),
array(
'color' => '#ffffff',
'image' => '',
'repeat' => 'repeat',
'position' => 'top left',
'attachment'=>'scroll' ),
array(
'color' => '#eeeeee',
'image' => '',
'repeat' => 'repeat',
'position' => 'top left',
'attachment'=>'scroll' ),
## section 5
array(
'color' => '#ffffff',
'image' => '',
'repeat' => 'repeat',
'position' => 'top left',
'attachment'=>'scroll' ),
array(
'color' => '',
'image' => esc_url('https://www.mageewp.com/onetone/wp-content/uploads/sites/17/2015/11/banner_large.jpg'),
'repeat' => 'repeat',
'position' => 'top left',
'attachment'=>'scroll' ),
array(
'color' => '#eda869',
'image' => esc_url('https://www.mageewp.com/onetone/wp-content/uploads/sites/17/2015/11/123.jpg'),
'repeat' => 'no-repeat',
'position' => 'bottom center',
'attachment'=>'scroll' ),
array(
'color' => '#ffffff',
'image' => '',
'repeat' => 'repeat',
'position' => 'top left',
'attachment'=>'scroll' ),
array(
'color' => '',
'image' => esc_url('https://www.mageewp.com/onetone/wp-content/uploads/sites/17/2015/11/last4.jpg'),
'repeat' => 'repeat',
'position' => 'top left',
'attachment'=>'scroll' )
);
$section_css_class = array("section-banner","","","","","","","","");
$section_title_typography_defaults = array(
array('size' => '64px','face' => '','style' => '400','color' => '#ffffff' ),
array('size' => '48px','face' => '','style' => 'normal','color' => '#666666' ),
array('size' => '48px','face' => '','style' => 'normal','color' => '#666666' ),
array('size' => '36px','face' => '','style' => 'bold','color' => '#666666' ),
array('size' => '36px','face' => '','style' => 'bold','color' => '#666666' ),
array('size' => '36px','face' => '','style' => 'bold','color' => '#ffffff' ),
array('size' => '36px','face' => '','style' => 'bold','color' => '#ffffff' ),
array('size' => '36px','face' => '','style' => 'bold','color' => '#666666' ),
array('size' => '36px','face' => '','style' => 'bold','color' => '#666666' ),
);
$section_content_typography_defaults = array(
array('size' => '18px','face' => '','style' => 'normal','color' => '#ffffff' ),
array('size' => '14px','face' => '','style' => 'normal','color' => '#666666' ),
array('size' => '14px','face' => '','style' => 'normal','color' => '#666666' ),
array('size' => '14px','face' => '','style' => 'normal','color' => '#666666' ),
array('size' => '14px','face' => '','style' => 'normal','color' => '#666666' ),
array('size' => '14px','face' => '','style' => 'normal','color' => '#ffffff' ),
array('size' => '14px','face' => '','style' => 'normal','color' => '#ffffff' ),
array('size' => '14px','face' => '','style' => 'normal','color' => '#666666' ),
array('size' => '14px','face' => '','style' => 'normal','color' => '#666666' ),
array('size' => '14px','face' => '','style' => 'normal','color' => '#666666' ),
);
$home_sections = array(
1 => __('Section 1 - Banner', 'onetone' ),
2 => __('Section 2 - Slogan', 'onetone' ),
3 => __('Section 3 - Service', 'onetone' ),
4 => __('Section 4 - Gallery', 'onetone' ),
5 => __('Section 5 - Team', 'onetone' ),
6 => __('Section 6 - About', 'onetone' ),
7 => __('Section 7 - Custom', 'onetone' ),
8 => __('Section 8 - Testimonial', 'onetone' ),
9 => __('Section 9 - Contact', 'onetone' ),
10 => sprintf(__('Section %s', 'onetone'),10),
11 => sprintf(__('Section %s', 'onetone'),11),
12 => sprintf(__('Section %s', 'onetone'),12),
13 => sprintf(__('Section %s', 'onetone'),13),
14 => sprintf(__('Section %s', 'onetone'),14),
15 => sprintf(__('Section %s', 'onetone'),15),
);
$onetone_home_sections = $home_sections;
$section_num = count( $home_sections );
$options = array();
////HOME PAGE
$options[] = array(
'icon' => 'fa-home',
'name' => __('Home Page', 'onetone'),
'type' => 'heading');
//HOME PAGE SECTION
$header_overlay = onetone_option( 'header_overlay' ,0);
$header_overlay = $header_overlay == 'yes'?1:$header_overlay;
$options[] = array(
'id' => 'header_overlay',
'name' => __( 'Home Page Header Overlay', 'onetone' ),
'desc' => __( 'Choose to set home page header as overlay style.', 'onetone' ),
'std' => $header_overlay,
'type' => 'checkbox',
'section' => 'header_tab_section',
'class' => '',
'options' => $choices_reverse
);
/* $options[] = array(
'name' => __('Number of Sections in Homepage', 'onetone'),
'desc' => __('Insert the number of sections here. You need to click the following "save" button to refresh this page so your change would be applied.', 'onetone'),
'id' => 'section_num',
'std' => $section_num,
'type' => 'text');*/
$options[] = array('name' => '','id' => 'youtube_video_group','type' => 'start_group','class'=>'group_close');
$options[] = array(
'id' => 'youtube_video_titled',
'name' => __( 'YouTube Video Background Options', 'onetone' ).' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'rows' => '4',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array('name' => __('YouTube ID for Video Background', 'onetone'),'std' => 'ab0TSkLe-E0','desc' => __('Insert the eleven-letter id here, not url.', 'onetone'),'id' => 'section_background_video_0',
'type' => 'text','class' => 'section-item accordion-group-youtube_video' );
$options[] = array(
'name' => __('Video Controls', 'onetone'),
'desc' => __('Choose to display video controls at bottom of the section with video background.', 'onetone'),
'id' => 'video_controls',
'std' => '1',
'class' => 'mini section-item accordion-group-youtube_video',
'options' => $choices2,
'type' => 'select');
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'youtube_video_group_','type' => 'end_group','class'=>'');
$video_background_section = array('0'=>__('No video background', 'onetone'));
foreach( $home_sections as $k=>$v ){
$video_background_section[$k] = $v;
}
$options[] = array('name' => __('Video Background Section', 'onetone'),'std' => '1','id' => 'video_background_section',
'type' => 'select','options'=>$video_background_section);
$options[] = array(
'name' => __('Display slider instead in section 1', 'onetone'),
'std' => $section_1_content,
'id' => 'section_1_content',
'type' => 'checkbox',
'options'=>array("content"=> __('Content', 'onetone'),"slider"=> __('Slider', 'onetone')),
'desc' => __('Choose to display default slider instead of section contents here.', 'onetone')
);
$options[] = array('name' => __('Enable Animation', 'onetone'),'desc'=>__('Enable animation for default section content. You need to activate Magee Shortcodes plugin to apply animation effects.', 'onetone'),'std' => '1','id' => 'home_animated',
'type' => 'checkbox');
/*if(isset($section_num) && is_numeric($section_num) && $section_num>0){
$section_num = $section_num;
}
else{
$section_num = $default_section_num;
}*/
$options[] = array('name' => '','id' => 'section_order','type' => 'start_group','class'=>'');
$options[] = array(
'id' => 'section_order_titled',
'name' => __( 'Sections Order', 'onetone' ).' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'rows' => '4',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'home-section-wrapper');
$options[] = array(
'name' => '',
'desc' => sprintf(__('Get the Pro version of Onetone to acquire this feature.', 'onetone' ),esc_url('https://www.mageewp.com/onetone-theme.html')),
'id' => 'onetone_get_pro',
'std' => '',
'type' => 'info',
'class'=>'section-item accordion-group-section-order'
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'home-section-wrapper');
$options[] = array('name' => '','id' => 'section_order_','type' => 'end_group','class'=>'');
$o_section_num = onetone_option( 'section_num' );
for($i=0; $i < $section_num; $i++){
if(!isset($section_title[$i])){$section_title[$i] = "";}
if(!isset($section_subtitle[$i])){$section_subtitle[$i] = "";}
if(!isset($section_color[$i])){$section_color[$i] = "";}
if(!isset($section_menu[$i])){$section_menu[$i] = "";}
if(!isset($section_background[$i])){
$section_background[$i] = array('color' => '','image' => '','repeat' => '','position' => '','attachment'=>'');
}
if(!isset($section_css_class[$i])){$section_css_class[$i] = "";}
if(!isset($section_content[$i])){$section_content[$i] = "";}
if(!isset($section_slug[$i])){ $section_slug[$i] = "";}
if(!isset($text_align[$i])){ $text_align[$i] = "";}
if(!isset($section_padding[$i])){ $section_padding[$i] = "";}
$section_name = onetone_option('section_title_'.$i);
$section_name = $section_name?$section_name:onetone_option('menu_title_'.$i);
$section_name = $section_name? ' ('.$section_name.')':'';
$section_name = $home_sections[$i+1] .' '. $section_name;
if(!isset($section_title_typography_defaults[$i])){ $section_title_typography_defaults[$i] = $section_title_typography_defaults_1;}
if(!isset($section_content_typography_defaults[$i])){ $section_content_typography_defaults[$i] = $section_title_typography_defaults_1;}
$hide_section = '';
if( $i >= $o_section_num && $o_section_num >0 )
$hide_section = 1;
if( $o_section_num <=0 && $i >8 ){
$hide_section = 1;
$content_model = 1;
}
if ( isset( $_POST['reset'] ) )
$content_model = 0;
$options[] = array('name' => '','id' => 'section_group_start_'.$i.'','type' => 'start_group','class'=>'home-section group_close');
$options[] = array(
'id' => 'sections_titled_'.$i,
'name' => $section_name.' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'rows' => '',
'class' => 'section-accordion close accordion-group-title-section-'.$i
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'home-section-wrapper');
$options[] = array(
'name' => __('Hide Section', 'onetone'),
'std' => $hide_section,
'id' => 'section_hide_'.$i,
'type' => 'checkbox',
'class'=>'section-item accordion-group-section-'.$i,
'desc'=> __('Hide this section on front page.', 'onetone'),
);
$options[] = array(
'name' => __('Section Title', 'onetone'),
'id' => 'section_title_'.$i.'',
'type' => 'text',
'std'=> $section_title[$i],
'class'=>'section-item accordion-group-section-'.$i,
'desc'=> __('Insert title for this section. It would appear at the top of the section.', 'onetone'),
);
$options[] = array(
'name' => __('Menu Title', 'onetone'),
'id' => 'menu_title_'.$i.'',
'type' => 'text',
'std'=>$section_menu[$i],
'desc'=> __('Insert menu title for this section. This title would appear in the header menu. If leave it as blank, the link of this section would not be displayed in header menu.', 'onetone'),
'class'=>'section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => __('Menu Slug', 'onetone'),
'id' => 'menu_slug_'.$i.'',
'type' => 'text',
'std'=>$section_slug[$i],
'desc'=> __('The "slug" is the URL-friendly version of menu title. It is usually all lowercase and contains only letters, numbers, and hyphens. If the menu title contains non-eng characters, you need to fill this form.', 'onetone'),
'class'=>'section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => __('Section Background', 'onetone'),
'id' => 'section_background_'.$i.'',
'std' => $section_background[$i],
'type' => 'background' ,
'class'=>'section-item accordion-group-section-'.$i,
'desc'=> __('Set background color & background image for this section.', 'onetone'),
);
$options[] = array(
'name' => __('Parallax Scrolling Background Image', 'onetone'),
'std' => 'no',
'id' => 'parallax_scrolling_'.$i.'',
'type' => 'select',
'class'=>'mini section-item accordion-group-section-'.$i,
'options'=>$choices,
'desc'=> __('Choose to apply parallax scrolling effect for background image.', 'onetone'),
);
$options[] = array(
'name' => __('Section Css Class', 'onetone'),
'id' => 'section_css_class_'.$i.'',
'type' => 'text',
'std'=>$section_css_class[$i],
'class'=>'section-item accordion-group-section-'.$i,
'desc' => __('Set an aditional css class of this section.', 'onetone'),
);
$options[] = array(
'name' => __('Section Padding', 'onetone'),
'id' => 'section_padding_'.$i.'',
'type' => 'text',
'std'=>$section_padding[$i],
'class'=>'section-item accordion-group-section-'.$i,
'desc' => __('Set padding for this section. In pixels (px), eg: 10px 20px 30px 0. These four numbers represent padding top/right/bottom/left.', 'onetone'),
);
$options[] = array(
'name' => __('Text Align', 'onetone'),
'std' => $text_align[$i],
'id' => 'text_align_'.$i.'',
'type' => 'select',
'class'=>'mini section-item accordion-group-section-'.$i,
'options'=>$align,
'desc' => __('Set content align for this section.', 'onetone'),
);
$options[] = array(
'name' => __('Section Title Typography', 'onetone'),
'id' => "section_title_typography_".$i,
'std' => $section_title_typography_defaults[$i],
'type' => 'typography',
'options' => $typography_options ,
'class'=>'section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => __('Section Content Typography', 'onetone'),
'id' => 'section_content_typography_'.$i,
'std' => $section_content_typography_defaults[$i],
'type' => 'typography',
'options' => $typography_options ,
'class'=> 'section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => __('Section Content Model', 'onetone'),
'id' =>'section_content_model_'.$i,
'std' => $content_model,
'class' => 'section-content-model section-item accordion-group-section-'.$i,
'type' => 'radio',
'options'=>array('0'=> __('Default', 'onetone'),'1'=>__('Custom', 'onetone'))
);
// Fixed content
$options[] = array(
'id' => 'section_color_'.$i.'',
'name' => __( 'Font Color', 'onetone' ),
'desc' => '',
'std' => $section_color[$i],
'type' => 'color',
'class' => 'content-model-0 section-item accordion-group-section-'.$i,
);
$options[] = array(
'name' => __('Section Subtitle', 'onetone'),
'id' => 'section_subtitle_'.$i.'',
'type' => 'text',
'std'=> $section_subtitle[$i],
'class'=>'content-model-0 section-item accordion-group-section-'.$i,
'desc'=> __('Insert sub-title for this section. It would appear at the bottom of the section title.', 'onetone'),
);
switch( $i ){
case "0": // Section Slogan
$options[] = array(
'name' => __('Button Text', 'onetone'),
'id' => "section_btn_text_".$i,
'std' => 'Click Me',
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => __('Button Link', 'onetone'),
'id' => "section_btn_link_".$i,
'std' => '#',
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => __('Button Target', 'onetone'),
'id' => "section_btn_target_".$i,
'std' => '_self',
'type' => 'select',
'class'=>'content-model-0 section-item accordion-group-section-'.$i,
'options' => $target
);
$banner_social_icon = array('fa-facebook','fa-skype','fa-twitter','fa-linkedin','fa-google-plus','fa-rss');
for( $s=0;$s<6;$s++ ):
$options[] = array(
'name' => __('Social Icon', 'onetone').' '.($s+1),
'id' => "section_social_icon_".$i."_".$s,
'std' => $banner_social_icon[$s],
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => __('Social Icon Link', 'onetone').' '.($s+1),
'id' => "section_icon_link_".$i."_".$s,
'std' => '#',
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i,
'desc' => __('Using Fontawsome Icon.', 'onetone')
);
endfor;
break;
case "1":
$options[] = array(
'name' => __('Button Text', 'onetone'),
'id' => "section_btn_text_".$i,
'std' => 'Click Me',
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => __('Button Link', 'onetone'),
'id' => "section_btn_link_".$i,
'std' => '#',
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => __('Button Target', 'onetone'),
'id' => "section_btn_target_".$i,
'std' => '_self',
'type' => 'select',
'class'=>'content-model-0 section-item accordion-group-section-'.$i,
'options' => $target
);
$options[] = array(
'name' => __('Description', 'onetone'),
'desc' => '',
'id' => 'section_desc_'.$i,
'std' => '
Morbi rutrum, elit ac fermentum egestas, tortor ante vestibulum est, eget scelerisque nisl velit eget tellus.
',
'type' => 'textarea',
'class'=>'content-model-0 section-item accordion-group-section-'.$i,
);
break;
case "2": // Section Service
$icons = array('fa-leaf','fa-hourglass-end','fa-signal','fa-heart','fa-camera','fa-tag');
for($c=0;$c<6;$c++){
$options[] = array(
'name' => sprintf(__('Service Icon %d', 'onetone'),$c+1),
'id' => "section_icon_".$i."_".$c,
'std' => $icons[$c],
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => sprintf(__('Service Image %d', 'onetone'),$c+1),
'id' => "section_image_".$i."_".$c,
'std' => '',
'type' => 'upload',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => sprintf(__('Service Title %d', 'onetone'),$c+1),
'id' => "section_title_".$i."_".$c,
'std' => 'FREE PSD TEMPLATE',
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => sprintf(__('Title Link %d', 'onetone'),$c+1),
'id' => "section_link_".$i."_".$c,
'std' => '',
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => sprintf(__('Link Target %d', 'onetone'),$c+1),
'id' => "section_target_".$i."_".$c,
'std' => '',
'type' => 'select',
'options'=>$target,
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => sprintf(__('Service Description %d', 'onetone'),$c+1),
'id' => "section_desc_".$i."_".$c,
'std' => 'Integer pulvinar elementum est, suscipit ornare ante finibus ac. Praesent vel ex dignissim, rhoncus eros luctus, dignissim arcu.',
'type' => 'textarea',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
}
break;
case "3": // Section Gallery
$default_images = array(
esc_url('http://www.mageewp.com/onetone/wp-content/uploads/sites/17/2015/11/7.jpg'),
esc_url('http://www.mageewp.com/onetone/wp-content/uploads/sites/17/2015/11/8.jpg'),
esc_url('http://www.mageewp.com/onetone/wp-content/uploads/sites/17/2015/11/9.jpg'),
esc_url('http://www.mageewp.com/onetone/wp-content/uploads/sites/17/2015/11/10.jpg'),
esc_url('http://www.mageewp.com/onetone/wp-content/uploads/sites/17/2015/11/11.jpg'),
esc_url('http://www.mageewp.com/onetone/wp-content/uploads/sites/17/2015/11/12.jpg'),
);
for($c=0;$c<6;$c++){
$options[] = array(
'name' => sprintf(__('Image %d', 'onetone'),$c+1),
'id' => "section_image_".$i."_".$c,
'std' => $default_images[$c],
'type' => 'upload',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => sprintf(__('Link %d', 'onetone'),$c+1),
'id' => "section_link_".$i."_".$c,
'std' => '',
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => sprintf(__('Link Target %d', 'onetone'),$c+1),
'id' => "section_target_".$i."_".$c,
'std' => '',
'type' => 'select',
'options'=>$target,
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
}
break;
case "4": // Section Team
$social_icon = array('instagram','facebook','google-plus','envelope','','');
$avatar = array(
esc_url('http://www.mageewp.com/onetone/wp-content/uploads/sites/17/2015/11/001.jpg'),
esc_url('http://www.mageewp.com/onetone/wp-content/uploads/sites/17/2015/11/002.jpg'),
esc_url('http://www.mageewp.com/onetone/wp-content/uploads/sites/17/2015/11/003.jpg'),
esc_url('http://www.mageewp.com/onetone/wp-content/uploads/sites/17/2015/11/004.jpg'),
'',
'',
'',
''
);
$options[] = array(
'id' => "section_team_columns",
'name' => __( 'Columns', 'onetone' ),
'desc' => '',
'type' => 'select',
'options' => array(2=>2,3=>3,4=>4),
'std' => '4',
'class'=>'content-model-0 section-item accordion-group-section-'.$i,
);
for( $t=0; $t<8; $t++ ){
$options[] = array(
'name' => sprintf(__('Avatar %d', 'onetone'),$t+1),
'id' => "section_avatar_".$i."_".$t,
'std' => $avatar[$t],
'type' => 'upload',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => sprintf(__('Link %d', 'onetone'),$t+1),
'id' => "section_link_".$i."_".$t,
'std' => '',
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => sprintf(__('Name %d', 'onetone'),$t+1),
'id' => "section_name_".$i."_".$t,
'std' => 'KEVIN PERRY',
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => sprintf(__('Byline %d', 'onetone'),$t+1),
'id' => "section_byline_".$i."_".$t,
'std' => 'SOFTWARE DEVELOPER',
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => sprintf(__('Description %d', 'onetone'),$t+1),
'id' => "section_desc_".$i."_".$t,
'std' => 'Vivamus congue justo eget diam interdum scelerisque. In hac habitasse platea dictumst.',
'type' => 'textarea',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
for($k=0;$k<4;$k++):
$options[] = array(
'id' => 'section_icon_'.$i.'_'.$t.'_'.$k,
'name' => sprintf(__( 'Social Icon %d - %d', 'onetone' ),$t+1,$k+1),
'desc' => '',
'type' => 'text',
'std' => $social_icon[$k],
'class'=>'content-model-0 section-item accordion-group-section-'.$i,
);
$options[] = array(
'id' => 'section_icon_link_'.$i.'_'.$t.'_'.$k,
'name' => sprintf(__( 'Social Icon Link %d - %d', 'onetone' ),$t+1,$k+1),
'desc' => '',
'type' => 'text',
'std' => '#',
'class'=>'content-model-0 section-item accordion-group-section-'.$i,
);
endfor;
}
break;
case "5": // Section About
$options[] = array(
'name' => __('Left Content', 'onetone'),
'id' => "section_left_content_".$i,
'std' => 'Biography
Morbi rutrum, elit ac fermentum egestas, tortor ante vestibulum est, eget scelerisque nisl velit eget tellus. Fusce porta facilisis luctus. Integer neque dolor, rhoncus nec euismod eget, pharetra et tortor. Nulla id pulvinar nunc. Vestibulum auctor nisl vel lectus ullamcorper sed pellentesque dolor eleifend. Praesent lobortis magna vel diam mattis sagittis.Mauris porta odio eu risus scelerisque id facilisis ipsum dictum vitae volutpat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pulvinar neque eu purus sollicitudin et sollicitudin dui ultricies. Maecenas cursus auctor tellus sit amet blandit. Maecenas a erat ac nibh molestie interdum. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Sed lorem enim, ultricies sed sodales id, convallis molestie ipsum. Morbi eget dolor ligula. Vivamus accumsan rutrum nisi nec elementum. Pellentesque at nunc risus. Phasellus ullamcorper bibendum varius. Quisque quis ligula sit amet felis ornare porta. Aenean viverra lacus et mi elementum mollis. Praesent eu justo elit.
',
'type' => 'textarea',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => __('Right Content', 'onetone'),
'id' => "section_right_content_".$i,
'std' => 'Personal Info
- 3301 Lorem Ipsum, Dolor Sit St
',
'type' => 'textarea',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
break;
case "6": // Section Custom
break;
case "7": // Section Testimonial
$avatar = array(
esc_url('http://www.mageewp.com/onetone/wp-content/uploads/sites/17/2015/11/111.jpg'),
esc_url('http://www.mageewp.com/onetone/wp-content/uploads/sites/17/2015/11/222.jpg'),
esc_url('http://www.mageewp.com/onetone/wp-content/uploads/sites/17/2015/11/333.jpg'),
'',
'',
'',
'',
''
);
$options[] = array(
'id' => "section_testimonial_columns",
'name' => __( 'Columns', 'onetone' ),
'desc' => '',
'type' => 'select',
'options' => array(2=>2,3=>3,4=>4),
'std' => '3',
'class'=>'content-model-0 section-item accordion-group-section-'.$i,
);
for( $t=0; $t<8; $t++ ){
$description = '';
if( $t<3 )
$description = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris consequat non ex quis consectetur. Aliquam iaculis dolor erat, ut ornare dui vulputate nec. Cras a sem mattis, tincidunt urna nec, iaculis nisl. Nam congue ultricies dui.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris consequat non ex quis consectetur. Aliquam iaculis dolor erat, ut ornare dui vulputate nec. Cras a sem mattis, tincidunt urna nec, iaculis nisl. Nam congue ultricies dui.';
$options[] = array(
'name' => sprintf(__('Avatar %d', 'onetone'),$t+1),
'id' => "section_avatar_".$i."_".$t,
'std' => $avatar[$t],
'type' => 'upload',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => sprintf(__('Name %d', 'onetone'),$t+1),
'id' => "section_name_".$i."_".$t,
'std' => 'KEVIN PERRY',
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => sprintf(__('Byline %d', 'onetone'),$t+1),
'id' => "section_byline_".$i."_".$t,
'std' => 'Web Developer',
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => sprintf(__('Description %d', 'onetone'),$t+1),
'id' => "section_desc_".$i."_".$t,
'std' => $description,
'type' => 'textarea',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
}
break;
case "8": // Section Contact
$emailTo = get_option('admin_email');
$options[] = array(
'name' => __('Your E-mail', 'onetone'),
'id' => "section_email_".$i,
'std' => $emailTo,
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
$options[] = array(
'name' => __('Button Text', 'onetone'),
'id' => "section_btn_text_".$i,
'std' => 'Post',
'type' => 'text',
'class'=>'content-model-0 section-item accordion-group-section-'.$i
);
break;
}
$options[] = array(
'name' => __('Section Content', 'onetone'),
'id' => 'section_content_'.$i,
'std' => '',
'type' => 'editor',
'class'=>'content-model-1 section-item accordion-group-section-'.$i
);
/*$options[] = array(
'name' => '',
'desc' => '',
'id' => 'delete_section_'.$i,
'std' => '',
'type' => 'info',
'class'=>'section-item accordion-group-section-'.$i
);*/
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'section_group_end_'.$i.'','type' => 'end_group');
}
//END HOME PAGE SECTION
// General
$options[] = array(
'icon' => 'fa-tachometer',
'name' => __('General Options', 'onetone'),
'type' => 'heading');
$options[] = array(
'name' => __('Back to Top Button', 'onetone'),
'id' => 'back_to_top_btn',
'std' => 'show',
'class' => 'mini',
'type' => 'select',
'options'=>array("show"=> __('Show', 'onetone'),"hide"=>__('Hide', 'onetone'))
);
$options[] = array(
'name' => __('Custom CSS', 'onetone'),
'desc' => __('The following css code will add to the header before the closing </head> tag.', 'onetone'),
'id' => 'custom_css',
'std' => 'body{margin:0px;}',
'type' => 'textarea');
$options[] = array(
'id' => 'tracking_titled',
'name' => __( 'Tracking', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'section' => 'general_tab_section',
'class' => 'sub_section_titled',
);
$options[] = array(
'id' => 'tracking_code',
'name' => __( 'Tracking Code', 'onetone' ),
'desc' => __( 'Paste your Google Analytics (or other) tracking code here. This will be added into the header template of your theme. Please put code inside script tags.', 'onetone' ),
'std' => '',
'type' => 'textarea',
'section' => 'general_tab_section',
'rows' => '8',
'class' => '',
);
$options[] = array(
'id' => 'space_before_head',
'name' => __( 'Space before </head>', 'onetone' ),
'desc' => __( 'Add code before the head tag.', 'onetone' ),
'std' => '',
'type' => 'textarea',
'section' => 'general_tab_section',
'rows' => '6',
'class' => '',
);
$options[] = array(
'id' => 'space_before_body',
'name' => __( 'Space before </body>', 'onetone' ),
'desc' => __( 'Add code before the body tag.', 'onetone' ),
'std' => '',
'type' => 'textarea',
'section' => 'general_tab_section',
'rows' => '6',
'class' => '',
);
// header
$options[] = array(
'icon' => 'fa-h-square',
'name' => __('Header', 'onetone'),
'type' => 'heading'
);
////
$options[] = array('name' => '','id' => 'header_background_group','type' => 'start_group','class'=>'');
$options[] = array(
'id' => 'header_background_titled',
'name' => __( 'Header Background', 'onetone' ).' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'section' => 'header_tab_section',
'rows' => '4',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'id' => 'header_background_image',
'name' => __( 'Header Background Image', 'onetone' ),
'desc' => __( 'Background Image For Header Area', 'onetone' ),
'std' => '',
'type' => 'upload',
'section' => 'header_tab_section',
'class' => 'accordion-group-header_background',
);
$options[] = array(
'id' => 'header_background_full',
'name' => __( '100% Background Image', 'onetone' ),
'desc' => __( 'Turn on to have the header background image display at 100% in width and height and scale according to the browser size.', 'onetone' ),
'std' => 'yes',
'type' => 'select',
'section' => 'header_tab_section',
'class' => 'accordion-group-header_background',
'options' => $choices
);
$options[] = array(
'id' => 'header_background_parallax',
'name' => __( 'Parallax Background Image', 'onetone' ),
'desc' => __( 'Turn on to enable parallax scrolling on the background image for header top positions.', 'onetone' ),
'std' => 'no',
'type' => 'select',
'section' => 'header_tab_section',
'class' => 'accordion-group-header_background',
'options' => $choices_reverse
);
$options[] = array(
'id' => 'header_background_repeat',
'name' => __( 'Background Repeat', 'onetone' ),
'desc' => __( 'Select how the background image repeats.', 'onetone' ),
'std' => '',
'type' => 'select',
'section' => 'header_tab_section',
'class' => 'accordion-group-header_background',
'options' => $repeat
);
$options[] = array(
'id' => 'header_top_padding',
'name' => __( 'Header Top Padding', 'onetone' ),
'desc' => __( 'In pixels or percentage, ex: 10px or 10%.', 'onetone' ),
'std' => '0px',
'type' => 'text',
'section' => 'header_tab_section',
'class' => 'accordion-group-header_background',
);
$options[] = array(
'id' => 'header_bottom_padding',
'name' => __( 'Header Bottom Padding', 'onetone' ),
'desc' => __( 'In pixels or percentage, ex: 10px or 10%.', 'onetone' ),
'std' => '0px',
'type' => 'text',
'section' => 'header_tab_section',
'class' => 'accordion-group-header_background',
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'header_background_group_','type' => 'end_group','class'=>'');
$options[] = array('name' => '','id' => 'top_bar_options_group','type' => 'start_group','class'=>'');
//// Top Bar
$options[] = array(
'id' => 'top_bar_options',
'name' => __( 'Top Bar Options', 'onetone' ).' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'section' => 'header_tab_section',
'rows' => '4',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'id' => 'display_top_bar',
'name' => __( 'Display Top Bar', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'select',
'section' => 'header_tab_section',
'class' => 'accordion-group-3',
'options' => $choices
);
$options[] = array(
'id' => 'top_bar_background_color',
'name' => __( 'Background Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'header_tab_section',
'class' => 'accordion-group-3',
);
$options[] = array(
'id' => 'top_bar_left_content',
'name' => __( 'Left Content', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'select',
'section' => 'header_tab_section',
'class' => 'accordion-group-3',
'options' => array(
'info' => __( 'info', 'onetone' ),
'sns' => __( 'sns', 'onetone' ),
'menu' => __( 'menu', 'onetone' ),
'none' => __( 'none', 'onetone' ),
)
);
$options[] = array(
'id' => 'top_bar_right_content',
'name' => __( 'Right Content', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'select',
'section' => 'header_tab_section',
'class' => 'accordion-group-3',
'options' => array(
'info' => __( 'info', 'onetone' ),
'sns' => __( 'sns', 'onetone' ),
'menu' => __( 'menu', 'onetone' ),
'none' => __( 'none', 'onetone' ),
),
);
$options[] = array(
'id' => 'top_bar_info_color',
'name' => __( 'Info Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'header_tab_section',
'class' => 'accordion-group-3',
);
$options[] = array(
'id' => 'top_bar_info_content',
'name' => __( 'Info Content', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'textarea',
'section' => 'header_tab_section',
'rows' => '4',
'class' => 'accordion-group-3',
);
$options[] = array(
'id' => 'top_bar_menu_color',
'name' => __( 'Menu Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'header_tab_section',
'class' => 'accordion-group-3',
);
$options[] = array(
'id' => 'social_links',
'name' => __( 'Social Links', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'section' => 'header_tab_section',
'rows' => '4',
'class' => 'accordion-group-3',
);
if( $social_icons ):
$i = 1;
foreach($social_icons as $social_icon){
$options[] = array(
'id' => 'header_social_title_'.$i,
'name' => __( 'Social Title', 'onetone' ) .' '.$i,
'desc' => '',
'std' => $social_icon['title'],
'type' => 'text',
'section' => 'header_tab_section',
'class' => 'accordion-group-3',
);
$options[] = array(
'id' => 'header_social_icon_'.$i,
'name' => __( 'Social Icon', 'onetone' ).' '.$i,
'desc' => __( 'FontAwesome Icon', 'onetone' ),
'std' => $social_icon['icon'],
'type' => 'text',
'section' => 'header_tab_section',
'class' => 'accordion-group-3',
);
$options[] = array(
'id' => 'header_social_link_'.$i,
'name' => __( 'Social Icon Link', 'onetone' ).' '.$i,
'desc' => '',
'std' => $social_icon['link'],
'type' => 'text',
'section' => 'header_tab_section',
'class' => 'accordion-group-3',
);
$i++;
}
endif;
$options[] = array(
'id' => 'top_bar_social_icons_color',
'name' => __( 'Social Icons Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'header_tab_section',
'class' => 'accordion-group-3',
);
$options[] = array(
'id' => 'top_bar_social_icons_tooltip_position',
'name' => __( 'Social Icon Tooltip Position', 'onetone' ),
'desc' => '',
'std' => 'bottom',
'type' => 'select',
'section' => 'header_tab_section',
'class' => 'accordion-group-3',
'options' => array(
'left' => __( 'left', 'onetone' ),
'right' => __( 'right', 'onetone' ),
'bottom' => __( 'bottom', 'onetone' ),
),
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'top_bar_options_group_','type' => 'end_group','class'=>'');
// Sticky Header
$options[] = array(
'icon' => 'fa-thumb-tack',
'name' => __('Sticky Header', 'onetone'),
'type' => 'heading'
);
$options[] = array(
'id' => 'enable_sticky_header',
'name' => __( 'Enable Sticky Header', 'onetone' ),
'desc' => '',
'std' => 'yes',
'type' => 'select',
'section' => 'sticky_header_tab_section',
'class' => '',
'options' => $choices
);
$options[] = array(
'id' => 'enable_sticky_header_tablets',
'name' => __( 'Enable Sticky Header on Tablets', 'onetone' ),
'desc' => '',
'std' => 'yes',
'type' => 'select',
'section' => 'sticky_header_tab_section',
'class' => '',
'options' => $choices
);
$options[] = array(
'id' => 'enable_sticky_header_mobiles',
'name' => __( 'Enable Sticky Header on Mobiles', 'onetone' ),
'desc' => 'yes',
'std' => '',
'type' => 'select',
'section' => 'sticky_header_tab_section',
'class' => '',
'options' => $choices
);
$options[] = array(
'id' => 'sticky_header_menu_item_padding',
'name' => __( 'Sticky Header Menu Item Padding', 'onetone' ),
'desc' => __( 'Controls the space between each menu item in the sticky header. Use a number without \'px\', default is 0. ex: 10', 'onetone' ),
'std' => '0',
'type' => 'text',
'section' => 'sticky_header_tab_section',
'class' => '',
);
$options[] = array(
'id' => 'sticky_header_navigation_font_size',
'name' => __( 'Sticky Header Navigation Font Size', 'onetone' ),
'desc' => __( 'Controls the font size of the menu items in the sticky header. Use a number without \'px\', default is 14. ex: 14', 'onetone' ),
'std' => '14',
'type' => 'text',
'section' => 'sticky_header_tab_section',
'class' => '',
);
$options[] = array(
'id' => 'sticky_header_logo_width',
'name' => __( 'Sticky Header Logo Width', 'onetone' ),
'desc' => __( 'Controls the logo width in the sticky header. Use a number without \'px\'.', 'onetone' ),
'std' => '',
'type' => 'text',
'section' => 'sticky_header_tab_section',
'class' => '',
);
//// logo
$options[] = array(
'icon' => 'fa-star',
'name' => __('Logo', 'onetone'),
'type' => 'heading'
);
$options[] = array('name' => '','id' => 'section_group_start_logo','type' => 'start_group','class'=>'home-section group_close');
$options[] = array(
'id' => 'logo',
'name' => __( 'Logo', 'onetone' ).' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'section' => 'logo_tab_section',
'rows' => '4',
'class' => 'section-accordion close ',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'id' => 'logo',
'name' => __( 'Upload Logo', 'onetone' ),
'desc' => __( 'Select an image file for your logo.', 'onetone' ),
'std' => '',
'type' => 'upload',
'section' => 'logo_tab_section',
'class' => '',
);
$options[] = array(
'id' => 'logo_retina',
'name' => __( 'Upload Logo (Retina Version @2x)', 'onetone' ),
'desc' => __( 'Select an image file for the retina version of the logo. It should be exactly 2x the size of main logo.', 'onetone' ),
'std' => '',
'type' => 'upload',
'section' => 'logo_tab_section',
'class' => '',
);
$options[] = array(
'id' => 'retina_logo_width',
'name' => __( 'Standard Logo Width for Retina Logo', 'onetone' ),
'desc' => __( 'If retina logo is uploaded, enter the standard logo (1x) version width, do not enter the retina logo width. Use a number without \'px\', ex: 40', 'onetone' ),
'std' => '',
'type' => 'text',
'section' => 'logo_tab_section',
'class' => '',
);
$options[] = array(
'id' => 'retina_logo_height',
'name' => __( 'Standard Logo Height for Retina Logo', 'onetone' ),
'desc' => __( 'If retina logo is uploaded, enter the standard logo (1x) version height, do not enter the retina logo height. Use a number without \'px\', ex: 40', 'onetone' ),
'std' => '',
'type' => 'text',
'section' => 'logo_tab_section',
'class' => '',
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'section_group_end_logo','type' => 'end_group');
$options[] = array('name' => '','id' => 'section_group_start_sticky_header','type' => 'start_group','class'=>'home-section group_close');
$options[] = array(
'id' => 'sticky_header_logo',
'name' => __( 'Sticky Header Logo', 'onetone' ).' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'section' => 'logo_tab_section',
'rows' => '4',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'home-section-wrapper');
$options[] = array(
'id' => 'sticky_logo',
'name' => __( 'Upload Logo', 'onetone' ),
'desc' => __( 'Select an image file for your logo.', 'onetone' ),
'std' => '',
'type' => 'upload',
'section' => 'logo_tab_section',
'class' => 'accordion-group-sticky_header',
);
$options[] = array(
'id' => 'sticky_logo_retina',
'name' => __( 'Upload Logo (Retina Version @2x)', 'onetone' ),
'desc' => __( 'Select an image file for the retina version of the logo. It should be exactly 2x the size of main logo.', 'onetone' ),
'std' => '',
'type' => 'upload',
'section' => 'logo_tab_section',
'class' => 'accordion-group-sticky_header',
);
$options[] = array(
'id' => 'sticky_logo_width_for_retina_logo',
'name' => __( 'Sticky Logo Width for Retina Logo', 'onetone' ),
'desc' => __( 'If retina logo is uploaded, enter the standard logo (1x) version width, do not enter the retina logo width. Use a number without \'px\', ex: 40', 'onetone' ),
'std' => '',
'type' => 'text',
'section' => 'logo_tab_section',
'class' => 'accordion-group-sticky_header',
);
$options[] = array(
'id' => 'sticky_logo_height_for_retina_logo',
'name' => __( 'Sticky Logo Height for Retina Logo', 'onetone' ),
'desc' => __( 'If retina logo is uploaded, enter the standard logo (1x) version height, do not enter the retina logo height. Use a number without \'px\', ex: 40', 'onetone' ),
'std' => '',
'type' => 'text',
'section' => 'logo_tab_section',
'class' => 'accordion-group-sticky_header',
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'section_group_end_sticky_header','type' => 'end_group');
$options[] = array(
'id' => 'logo_left_margin',
'name' => __( 'Logo Left Margin', 'onetone' ),
'desc' => __( 'Use a number without \'px\', ex: 40', 'onetone' ),
'std' => '',
'type' => 'text',
'section' => 'logo_tab_section',
'class' => '',
);
$options[] = array(
'id' => 'logo_right_margin',
'name' => __( 'Logo Right Margin', 'onetone' ),
'desc' => __( 'Use a number without \'px\', ex: 40', 'onetone' ),
'std' => '',
'type' => 'text',
'section' => 'logo_tab_section',
'class' => '',
);
$options[] = array(
'id' => 'logo_top_margin',
'name' => __( 'Logo Top Margin', 'onetone' ),
'desc' => __( 'Use a number without \'px\', ex: 40', 'onetone' ),
'std' => '',
'type' => 'text',
'section' => 'logo_tab_section',
'class' => '',
);
$options[] = array(
'id' => 'logo_bottom_margin',
'name' => __( 'Logo Bottom Margin', 'onetone' ),
'desc' => __( 'Use a number without \'px\', ex: 40', 'onetone' ),
'std' => '',
'type' => 'text',
'section' => 'logo_tab_section',
'class' => '',
);
// styleling
$options[] = array(
'icon' => 'fa-eyedropper',
'name' => __('Styling', 'onetone'),
'type' => 'heading'
);
$options[] = array(
'id' => 'primary_color',
'name' => __( 'Primary Color', 'onetone' ),
'desc' => '',
'std' => '#eda869',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => '',
);
//Background Colors
$options[] = array('name' => '','id' => 'background_colors_group','type' => 'start_group','class'=>'');
$options[] = array(
'id' => 'background_colors',
'name' => __( 'Background Colors', 'onetone' ).' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'section' => 'styling_tab_section',
'rows' => '4',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'id' => 'sticky_header_background_color',
'name' => __( 'Sticky Header Background Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-background_colors',
);
$options[] = array(
'id' => 'sticky_header_background_opacity',
'name' => __( 'Sticky Header Background Opacity', 'onetone' ),
'desc' => __( 'Opacity only works with header top position and ranges between 0 (transparent) and 1.', 'onetone' ),
'std' => '0.7',
'type' => 'select',
'section' => 'styling_tab_section',
'options' => $opacity,
'class' => 'accordion-group-background_colors',
);
$options[] = array(
'id' => 'header_background_color',
'name' => __( 'Header Background Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-background_colors',
);
$options[] = array(
'id' => 'header_background_opacity',
'name' => __( 'Header Background Opacity', 'onetone' ),
'desc' => __( 'Opacity only works with header top position and ranges between 0 (transparent) and 1.', 'onetone' ),
'std' => '1',
'type' => 'select',
'section' => 'styling_tab_section',
'options' => $opacity,
'class' => 'accordion-group-background_colors',
);
$options[] = array(
'id' => 'content_background_color',
'name' => __( 'Content Background Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-background_colors',
);
$options[] = array(
'id' => 'sidebar_background_color',
'name' => __( 'Sidebar Background Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-background_colors',
);
$options[] = array(
'id' => 'footer_background_color',
'name' => __( 'Footer Background Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-background_colors',
);
$options[] = array(
'id' => 'copyright_background_color',
'name' => __( 'Copyright Background Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-background_colors',
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'background_colors_group_','type' => 'end_group','class'=>'');
//Background Colors
$options[] = array('name' => '','id' => 'element_colors_group','type' => 'start_group','class'=>'');
$options[] = array(
'id' => 'element_colors',
'name' => __( 'Element Colors', 'onetone' ).' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'section' => 'styling_tab_section',
'rows' => '4',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'id' => 'footer_widget_divider_color',
'name' => __( 'Footer Widget Divider Color', 'onetone' ),
'desc' => __( 'Controls the divider color in the footer.', 'onetone' ),
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-element_colors',
);
$options[] = array(
'id' => 'form_background_color',
'name' => __( 'Form Background Color', 'onetone' ),
'desc' => __( 'Controls the background color of form fields.', 'onetone' ),
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-element_colors',
);
$options[] = array(
'id' => 'form_text_color',
'name' => __( 'Form Text Color', 'onetone' ),
'desc' => __( 'Controls the text color for forms.', 'onetone' ),
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-element_colors',
);
$options[] = array(
'id' => 'form_border_color',
'name' => __( 'Form Border Color', 'onetone' ),
'desc' => __( 'Controls the border color for forms.', 'onetone' ),
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-element_colors',
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'element_colors_group_','type' => 'end_group','class'=>'');
// layout options
$options[] = array('name' => '','id' => 'layout_options_group','type' => 'start_group','class'=>'');
$options[] = array(
'id' => 'layout_options',
'name' => __( 'Layout Options', 'onetone' ).' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'section' => 'styling_tab_section',
'rows' => '4',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'id' => 'page_content_top_padding',
'name' => __( 'Page Content Top Padding', 'onetone' ),
'desc' => __( 'In pixels or percentage, ex: 10px or 10%.', 'onetone' ),
'std' => '55px',
'type' => 'text',
'section' => 'styling_tab_section',
'class' => 'accordion-group-layout_options',
);
$options[] = array(
'id' => 'page_content_bottom_padding',
'name' => __( 'Page Content Bottom Padding', 'onetone' ),
'desc' => __( 'In pixels or percentage, ex: 10px or 10%.', 'onetone' ),
'std' => '40px',
'type' => 'text',
'section' => 'styling_tab_section',
'class' => 'accordion-group-layout_options',
);
$options[] = array(
'id' => 'hundredp_padding',
'name' => __( '100% Width Left/Right Padding ###', 'onetone' ),
'desc' => __( 'This option controls the left/right padding for page content when using 100% site width or 100% width page template. In pixels or percentage, ex: 10px or 10%.', 'onetone' ),
'std' => '20px',
'type' => 'text',
'section' => 'styling_tab_section',
'class' => 'accordion-group-layout_options',
);
$options[] = array(
'id' => 'sidebar_padding',
'name' => __( 'Sidebar Padding', 'onetone' ),
'desc' => __( 'Enter a pixel or percentage based value, ex: 5px or 5%', 'onetone' ),
'std' => '0',
'type' => 'text',
'section' => 'styling_tab_section',
'class' => 'accordion-group-layout_options',
);
$options[] = array(
'id' => 'column_top_margin',
'name' => __( 'Column Top Margin', 'onetone' ),
'desc' => __( 'Controls the top margin for all column sizes. In pixels or percentage, ex: 10px or 10%.', 'onetone' ),
'std' => '0px',
'type' => 'text',
'section' => 'styling_tab_section',
'class' => 'accordion-group-layout_options',
);
$options[] = array(
'id' => 'column_bottom_margin',
'name' => __( 'Column Bottom Margin', 'onetone' ),
'desc' => __( 'Controls the bottom margin for all column sizes. In pixels or percentage, ex: 10px or 10%.', 'onetone' ),
'std' => '20px',
'type' => 'text',
'section' => 'styling_tab_section',
'class' => 'accordion-group-layout_options',
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'layout_options_group_','type' => 'end_group','class'=>'');
// Font Colors
$options[] = array('name' => '','id' => 'font_colors_group','type' => 'start_group','class'=>'');
$options[] = array(
'id' => 'font_colors',
'name' => __( 'Font Colors', 'onetone' ).' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'section' => 'styling_tab_section',
'rows' => '4',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'id' => 'header_tagline_color',
'name' => __( 'Header Tagline', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-font_colors_options',
);
$options[] = array(
'id' => 'page_title_color',
'name' => __( 'Page Title', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-font_colors_options',
);
$options[] = array(
'id' => 'h1_color',
'name' => __( 'Heading 1 (H1) Font Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-font_colors_options',
);
$options[] = array(
'id' => 'h2_color',
'name' => __( 'Heading 2 (H2) Font Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-font_colors_options',
);
$options[] = array(
'id' => 'h3_color',
'name' => __( 'Heading 3 (H3) Font Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-font_colors_options',
);
$options[] = array(
'id' => 'h4_color',
'name' => __( 'Heading 4 (H4) Font Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-font_colors_options',
);
$options[] = array(
'id' => 'h5_color',
'name' => __( 'Heading 5 (H5) Font Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-font_colors_options',
);
$options[] = array(
'id' => 'h6_color',
'name' => __( 'Heading 6 (H6) Font Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-font_colors_options',
);
$options[] = array(
'id' => 'body_text_color',
'name' => __( 'Body Text Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-font_colors_options',
);
$options[] = array(
'id' => 'links_color',
'name' => __( 'Links Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-font_colors_options',
);
$options[] = array(
'id' => 'breadcrumbs_text_color',
'name' => __( 'Breadcrumbs Text Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-font_colors_options',
);
$options[] = array(
'id' => 'sidebar_widget_headings_color',
'name' => __( 'Sidebar Widget Headings Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-font_colors_options',
);
$options[] = array(
'id' => 'footer_headings_color',
'name' => __( 'Footer Headings Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-font_colors_options',
);
$options[] = array(
'id' => 'footer_text_color',
'name' => __( 'Footer Text Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-font_colors_options',
);
$options[] = array(
'id' => 'footer_link_color',
'name' => __( 'Footer Link Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-font_colors_options',
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'font_colors_group_','type' => 'end_group','class'=>'');
// main menu colors
$options[] = array('name' => '','id' => 'main_menu_colors_group','type' => 'start_group','class'=>'');
$options[] = array(
'id' => 'main_menu_colors',
'name' => __( 'Main Menu Colors', 'onetone' ).' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'section' => 'styling_tab_section',
'rows' => '4',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'id' => 'main_menu_background_color_1',
'name' => __( 'Main Menu Background Color', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-main_menu_colors_options',
);
$options[] = array(
'id' => 'main_menu_font_color_1',
'name' => __( 'Main Menu Font Color ( First Level )', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-main_menu_colors_options',
);
$options[] = array(
'id' => 'main_menu_font_hover_color_1',
'name' => __( 'Main Menu Font Hover Color ( First Level )', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-main_menu_colors_options',
);
$options[] = array(
'id' => 'main_menu_background_color_2',
'name' => __( 'Main Menu Background Color ( Sub Level )', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-main_menu_colors_options',
);
$options[] = array(
'id' => 'main_menu_font_color_2',
'name' => __( 'Main Menu Font Color ( Sub Level )', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-main_menu_colors_options',
);
$options[] = array(
'id' => 'main_menu_font_hover_color_2',
'name' => __( 'Main Menu Font Hover Color ( Sub Level )', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-main_menu_colors_options',
);
$options[] = array(
'id' => 'main_menu_separator_color_2',
'name' => __( 'Main Menu Separator Color ( Sub Levels )', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'color',
'section' => 'styling_tab_section',
'class' => 'accordion-group-main_menu_colors_options',
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'main_menu_colors_group_','type' => 'end_group','class'=>'');
//Sidebar
$options[] = array(
'icon' => 'fa-columns',
'name' => __('Sidebar', 'onetone'),
'type' => 'heading'
);
$options[] = array('name' => '','id' => 'sidebar_blog_posts_group','type' => 'start_group','class'=>'');
$options[] = array(
'id' => 'sidebar_blog_posts',
'name' => __( 'Blog Posts', 'onetone' ).' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'section' => 'sidebar_tab_section',
'rows' => '4',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'id' => 'left_sidebar_blog_posts',
'name' => __( 'Left Sidebar', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'select',
'section' => 'sidebar_tab_section',
'class' => 'accordion-group-8',
'options' => $sidebars,
);
$options[] = array(
'id' => 'right_sidebar_blog_posts',
'name' => __( 'Right Sidebar', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'select',
'section' => 'sidebar_tab_section',
'class' => 'accordion-group-8',
'options' => $sidebars,
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'sidebar_blog_posts_group_','type' => 'end_group','class'=>'');
//
$options[] = array('name' => '','id' => 'sidebar_blog_archive_group','type' => 'start_group','class'=>'');
$options[] = array(
'id' => 'sidebar_blog_archive',
'name' => __( 'Blog Archive / Category Pages', 'onetone' ).' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'section' => 'sidebar_tab_section',
'rows' => '4',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'id' => 'left_sidebar_blog_archive',
'name' => __( 'Left Sidebar', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'select',
'section' => 'sidebar_tab_section',
'class' => 'accordion-group-10',
'options' => $sidebars,
);
$options[] = array(
'id' => 'right_sidebar_blog_archive',
'name' => __( 'Right Sidebar', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'select',
'section' => 'sidebar_tab_section',
'class' => 'accordion-group-10',
'options' => $sidebars,
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'sidebar_blog_archive_group_','type' => 'end_group','class'=>'');
//Sidebar search'
$options[] = array('name' => '','id' => 'sidebar_search_group','type' => 'start_group','class'=>'');
$options[] = array(
'id' => 'sidebar_search',
'name' => __( 'Search Page', 'onetone' ).' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'section' => 'sidebar_tab_section',
'rows' => '4',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'id' => 'left_sidebar_search',
'name' => __( 'Left Sidebar', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'select',
'section' => 'sidebar_tab_section',
'class' => 'accordion-group-14',
'options' => $sidebars,
);
$options[] = array(
'id' => 'right_sidebar_search',
'name' => __( 'Right Sidebar', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'select',
'section' => 'sidebar_tab_section',
'class' => 'accordion-group-14',
'options' => $sidebars,
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'sidebar_search_group_','type' => 'end_group','class'=>'');
//Sidebar 404 page'
$options[] = array('name' => '','id' => 'sidebar_404_group','type' => 'start_group','class'=>'');
$options[] = array(
'id' => 'sidebar_404',
'name' => __( '404 Page', 'onetone' ).' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'section' => 'sidebar_tab_section',
'rows' => '4',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'id' => 'left_sidebar_404',
'name' => __( 'Left Sidebar', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'select',
'section' => 'sidebar_tab_section',
'class' => 'accordion-group-404',
'options' => $sidebars,
);
$options[] = array(
'id' => 'right_sidebar_404',
'name' => __( 'Right Sidebar', 'onetone' ),
'desc' => '',
'std' => '',
'type' => 'select',
'section' => 'sidebar_tab_section',
'class' => 'accordion-group-404',
'options' => $sidebars,
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'sidebar_404_group_','type' => 'end_group','class'=>'');
// Slider
$options[] = array(
'icon' => 'fa-sliders',
'name' => __('Slider', 'onetone'),
'type' => 'heading');
//HOME PAGE SLIDER
$options[] = array('name' => __('Slideshow', 'onetone'),'id' => 'group_title','type' => 'title');
$options[] = array('name' => '','id' => 'slide_1_group','type' => 'start_group','class'=>'');
$options[] = array(
'id' => 'slide_titled_1',
'name' => __('Slide 1', 'onetone').' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'rows' => '',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'name' => __('Image', 'onetone'),
'id' => 'onetone_slide_image_1',
'type' => 'upload',
'std'=>ONETONE_THEME_BASE_URL.'/images/banner-1.jpg',
'class'=>'slide-item accordion-group-slide-1'
);
$options[] = array(
'name' => __('Text', 'onetone'),
'id' => 'onetone_slide_text_1',
'type' => 'editor',
'std'=>'The jQuery slider that just slides.
No fancy effects or unnecessary markup.
Download',
'class'=>'slide-item accordion-group-slide-1'
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'slide_1_group_','type' => 'end_group','class'=>'');
$options[] = array('name' => '','id' => 'slide_2_group','type' => 'start_group','class'=>'');
$options[] = array(
'id' => 'slide_titled_2',
'name' => __('Slide 2', 'onetone').' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'rows' => '',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'name' => __('Image', 'onetone'),
'id' => 'onetone_slide_image_2',
'type' => 'upload',
'std'=>ONETONE_THEME_BASE_URL.'/images/banner-2.jpg',
'class'=>'slide-item accordion-group-slide-2'
);
$options[] = array(
'name' => __('Text', 'onetone'),
'id' => 'onetone_slide_text_2',
'type' => 'editor',
'std'=>'Fluid, flexible, fantastically minimal.
Use any HTML in your slides, extend with CSS. You have full control.
Download',
'class'=>'slide-item accordion-group-slide-2'
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'slide_2_group_','type' => 'end_group','class'=>'');
$options[] = array('name' => '','id' => 'slide_3_group','type' => 'start_group','class'=>'');
$options[] = array(
'id' => 'slide_titled_3',
'name' => __('Slide 3', 'onetone').' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'rows' => '',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'name' => __('Image', 'onetone'),
'id' => 'onetone_slide_image_3',
'type' => 'upload',
'std'=>ONETONE_THEME_BASE_URL.'/images/banner-3.jpg',
'class'=>'slide-item accordion-group-slide-3'
);
$options[] = array(
'name' => __('Text', 'onetone'),
'id' => 'onetone_slide_text_3',
'type' => 'editor',
'std'=>'Open-source.
Vestibulum auctor nisl vel lectus ullamcorper sed pellentesque dolor eleifend.
Contribute',
'class'=>'slide-item accordion-group-slide-3'
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'slide_3_group_','type' => 'end_group','class'=>'');
$options[] = array('name' => '','id' => 'slide_4_group','type' => 'start_group','class'=>'');
$options[] = array(
'id' => 'slide_titled_4',
'name' => __('Slide 4', 'onetone').' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'rows' => '',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'name' => __('Image', 'onetone'),
'id' => 'onetone_slide_image_4',
'type' => 'upload',
'std'=>ONETONE_THEME_BASE_URL.'/images/banner-4.jpg',
'class'=>'slide-item accordion-group-slide-4'
);
$options[] = array(
'name' => __('Text', 'onetone'),
'id' => 'onetone_slide_text_4',
'type' => 'editor','std'=>'Uh, that\'s about it.
I just wanted to show you another slide.
Download',
'class'=>'slide-item accordion-group-slide-4'
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'slide_4_group_','type' => 'end_group','class'=>'');
$options[] = array('name' => '','id' => 'slide_5_group','type' => 'start_group','class'=>'');
$options[] = array(
'id' => 'slide_titled_5',
'name' => __('Slide 5', 'onetone').' ',
'desc' => '',
'std' => '',
'type' => 'textblock-titled',
'rows' => '',
'class' => 'section-accordion close',
);
$options[] = array('name' => '','id' => 'wrapper_start','type' => 'wrapper_start','class'=>'');
$options[] = array(
'name' => __('Image', 'onetone'),
'id' => 'onetone_slide_image_5',
'type' => 'upload',
'class'=>'slide-item accordion-group-slide-5'
);
$options[] = array(
'name' => __('Text', 'onetone'),
'id' => 'onetone_slide_text_5',
'type' => 'editor',
'class'=>'slide-item accordion-group-slide-5'
);
$options[] = array('name' => '','id' => 'wrapper_end','type' => 'wrapper_end','class'=>'');
$options[] = array('name' => '','id' => 'slide_5_group','type' => 'end_group','class'=>'');
$options[] = array(
'name' => __('Slide Speed', 'onetone'),
'id' => 'slide_time',
'std' => '5000',
'desc'=>__('Milliseconds between the end of the sliding effect and the start of the nex one.','onetone'),
'type' => 'text');
//END HOME PAGE SLIDER
// FOOTER
$options[] = array(
'icon' => 'fa-hand-o-down',
'name' => __('Footer', 'onetone'),
'type' => 'heading');
$options[] = array(
'name' => __('Enable Footer Widgets Area', 'onetone'),
'desc' => '',
'id' => 'enable_footer_widget_area',
'std' => '0',
'type' => 'checkbox');
// 404
$options[] = array(
'icon' => 'fa-frown-o',
'name' => __('404 page', 'onetone'),
'type' => 'heading'
);
$options[] = array(
'name' => __('404 page content', 'onetone'),
'desc' => '',
'id' => 'content_404',
'std' => 'WHOOPS!
THERE IS NOTHING HERE.
PERHAPS YOU WERE GIVEN THE WRONG URL?
',
'type' => 'editor');
return $options;
}
endif;