'',
'image' => '',
'repeat' => 'repeat',
'position' => 'top center',
'attachment'=>'scroll' );
// Typography Defaults
$typography_defaults = array(
'size' => '15px',
'face' => 'georgia',
'style' => 'bold',
'color' => '#bada55' );
// Typography Options
$typography_options = array(
'sizes' => array( '6','12','14','16','20' ),
'faces' => array( 'Helvetica Neue' => 'Helvetica Neue','Arial' => 'Arial' ),
'styles' => array( 'normal' => 'Normal','bold' => 'Bold' ),
'color' => false
);
$home_footer_background_defaults = array(
'color' => '#020202',
'image' => '',
'repeat' => 'repeat',
'position' => 'top center',
'attachment'=>'scroll' );
$footer_widget_area_background = array(
'color' => '#222222',
'image' => '',
'repeat' => 'repeat',
'position' => 'top center',
'attachment'=>'scroll' );
//$imagepath = get_template_directory_uri() . '/images/';
$imagepath = 'https://www.coothemes.com/wp-content/themes/acool/images/';
//$imagepath = 'http://localhost/wp440/images/';
$options = array();
/**
* For $settings options see:
* http://codex.wordpress.org/Function_Reference/wp_editor
*
* 'media_buttons' are not supported as there is no post to attach items to
* 'textarea_name' is set by the 'id' you choose
*/
$options[] = array(
'name' => __('General Options', 'Acool'),
'type' => 'heading');
$options[] = array(
'name' => __('Enable Query Loader', 'Acool'),
'desc' => __('Enable page query loader progress bar.', 'Acool'),
'id' => 'enable_query_loader',
'std' => '',
'type' => 'checkbox');
$options[] = array(
'name' => __('Upload Logo (recommended use 262px*52px ,png format )', 'Acool'),
'id' => 'logo',
'std' => '',
'type' => 'upload');
$options[] = array(
'name' => __('Favicon', 'Acool'),
'desc' => sprintf(__('An icon associated with a URL that is variously displayed, as in a browser\'s address bar or next to the site name in a bookmark list. Learn more about Favicon', 'Acool'),esc_url("http://en.wikipedia.org/wiki/Favicon")),
'id' => 'favicon',
'type' => 'upload');
$options[] = array(
'name' => __('Default featured image for front page ', 'Acool'),
'desc' => __('Recommended size: 475*313px;', 'Acool'),
'id' => 'default-featured-image',
'type' => 'upload');
//$options[] = array('name' => __('Link Color', 'Acool'),'id' => 'link_color','std'=>'#03a325' ,'type'=> 'color');
//$options[] = array('name' => __('Link Mouseover Color', 'Acool'),'std'=>'#0c8432','id' => 'link_mouseover_color' ,'type'=> 'color');
//$options[] = array('name' => __('Site Title Color', 'Acool'),'id' => 'site_title_color','std'=>'#2C2C2C' ,'type'=> 'color');
$options[] = array(
'name' => __('404 Page Content', 'Acool'),
'id' => 'page_404_content',
'std' => '
',
'type' => 'editor');
$options[] = array(
'name' => __('Custom CSS', 'Acool'),
'desc' => __('The following css code will add to the header before the closing </head> tag.', 'Acool'),
'id' => 'custom_css',
'std' => 'body{margin:0px;}',
'type' => 'textarea');
//Home page
if ( defined( 'CT_FEATURED_HOMEPAGE_USED' ) && CT_FEATURED_HOMEPAGE_USED )
{
$options[] = array(
'name' => __('Home Page', 'Acool'),
'type' => 'heading');
$options[] = array(
'name' => __('Enable Featured Homepage', 'Acool'),
'desc' => sprintf(__('Active featured homepage Layout. The standardized way of creating Static Front Pages: Creating a Static Front Page', 'Acool'),esc_url('http://codex.wordpress.org/Creating_a_Static_Front_Page')),
'id' => 'enable_home_page',
'std' => '0',
'type' => 'checkbox');
$options[] = array(
'name' => __('Number of Sections', 'Acool'),
'desc' => __('Select number of sections', 'Acool'),
'id' => 'section_num',
'type' => 'select',
'class' => 'mini',
'std' => '7',
'options' => array_combine(range(1,10), range(1,10)) );
$section_num = of_get_option( 'section_num', 7 );
//set video main div
$options[] = array( 'desc' =>''.__('Video Background Options', 'Acool').'
', 'class' => 'toggle_option_group group_close','type' => 'info');
//set YouTube Video ID
$options[] = array('name' => __('Section Background Video', 'Acool'),'std' => 'e1c-n1dRxwc','desc' => __('YouTube Video ID', 'Acool'),'id' => 'youtube_background_video','type' => 'text');
$options[] = array('name' => __('Display Buttons', 'Acool'), 'desc' => __('Display video control buttons.', 'Acool'),'id' => 'video_controls', 'std' => '1','class' => 'mini', 'options' => array('1'=>'yes','0'=>'no'),'type' => 'select');
$options[] = array('name' => __('Video Loop', 'Acool'), 'desc' => __('Play video loop.', 'Acool'),'id' => 'youtube_video_loop', 'std' => '1','class' => 'mini', 'options' => array('1'=>'yes','0'=>'no'),'type' => 'select');
$options[] = array('name' => __('Default Volum', 'Acool'),'desc' => '','id' => 'default_volum','type' => 'select', 'class' => 'mini', 'std' => '10','options' => array_combine(range(0,100,10), range(0,100,10)) );
$options[] = array('name' => __('Seeks To', 'Acool'),'std' => '3','desc' => __('Seeks to a specified time in the video ( number of seconds ).', 'Acool'),'id' => 'youtube_seekto','type' => 'text');
$video_background_section = array("0"=>__('No video background', 'Acool'),"1"=>__('Secion 1', 'Acool'));
/*if( is_numeric( $section_num ) )
{
for($i=1; $i <= $section_num; $i++)
{
$video_background_section[$i] = "Secion ".$i;
}
}*/
$options[] = array('name' => __('Video Background Section', 'Acool'),'std' => '1','id' => 'video_background_section',
'type' => 'select','options'=>$video_background_section);
//shut video main div
$options[] = array('desc' => __('', 'Acool'), 'class' => 'toggle_title','type' => 'info');
//slider or content
$options[] = array('name' => __('Section 1 Content', 'Acool'),'std' => 'slider','class' => 'mini','id' => 'section_1_content','type' => 'select','options'=>array("content"=>__('Content', 'Acool'),"slider"=>__('Slider', 'Acool')));
//$section_title_border_color = array("","#009dc4","#459a00","#305999","#ff6c00");
$section_title = array("video" , "columns" ,"post_list" ,"team" ,"facts" ,"progress_bar" ,"price" );
$section_title_color = array("" , "#00bceb" ,"#ffffff" ,"#3b3b3b" ,"#303030" ,"#303030" ,"#303030" );
$section_content_color = array("#ffffff" ,"#595959" ,"#ffffff" ,"#595959" ,"#303030" ,"#ffffff" ,"#ffffff" );
$section_anchor = array("section-video-default","section-columns","section-post-list","section-team","section-facts" ,"section-progress-bar","section-price");
$section_css_class = array("" ,"" ,"" ,"" ,"" ,"" ,"" );
$section_background_size = array("yes" ,"yes" ,"yes" ,"yes" ,"yes" ,"yes" ,"yes" );
$section_full_width = array("yes" ,"no" ,"yes" ,"no" ,"no" ,"no" ,"no" );
$section_background = array
(
array(
'color' => '',
'image' => $imagepath.'youtube-video-screenshot.jpg',
'repeat' => 'repeat',
'position' => 'top left',
'attachment'=>'scroll'
),
array(
'color' => '',
'image' => $imagepath.'default-bg-section.png',
'repeat' => 'repeat',
'position' => 'top left',
'attachment'=>'scroll'
),
array(
'color' => '#222222',
'image' => '',
'repeat' => 'repeat',
'position' => 'top left',
'attachment'=>'scroll'
),
array(
'color' => '',
'image' => $imagepath.'default-bg-section.png',
'repeat' => 'repeat',
'position' => 'top left',
'attachment'=>'scroll'
),
array(
'color' => '#ffffff',
'image' => '',
'repeat' => 'repeat',
'position' => 'top left',
'attachment'=>'scroll'
),
array(
'color' => '#61c148',
'image' => '',
'repeat' => 'repeat',
'position' => 'top left',
'attachment'=>'scroll'
),
array(
'color' => '#ffffff',
'image' => '',
'repeat' => 'repeat',
'position' => 'top left',
'attachment'=>'scroll'
)
);
$section_content = array(
'
The jQuery slider that just slides.
No fancy effects or unnecessary markup.
Download
',
'
We are always dedicated to...
CooThemes.com is a creative design company focused on visual presentation and interactive experience!
Impress your potential cusomters with a unique and fantastic website.
Shortcodes, page templates and theme options give easy control over your websites.
All of our WordPress themes are responsive on mainstream browsers and mobile devices.
Top design quality, fastest tech support and many other great features at an affodable price.
',
'Perfect Solution for Your Project.
Our constant innovation meets your specific needs, here you can check out our most recent news...
',
'
Our Team
CooThemes.com is a creative design company focused on visual presentation and interactive experience!
Anna
Support
consectetur adipisicing elit Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Brown
Designer
consectetur adipisicing elit Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Emma
Designer
consectetur adipisicing elit Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Hannah
SUPPORT
consectetur adipisicing elit Lorem ipsum dolor sit amet, consectetur adipisicing elit.
',
'FACTS
',
'OUR SKILLS
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry standard dummy text ever since the 1500s,
when an unknown printer took a galley of type and scrambled it to make a type specimen book.
Web Design
HTML/CSS
PHP Coding
SEO
',
'PRICE TABLE
-
Plan 1
$10/month
-
- 2x option 1
- Free option 2
- Unlimited option 3
- Unlimited option 4
- 1x option 5
- Purchase
-
Plan 2
$20/month
-
- 2x option 1
- Free option 2
- Unlimited option 3
- Unlimited option 4
- 1x option 5
- Purchase
-
Plan 3
$30/month
-
- 2x option 1
- Free option 2
- Unlimited option 3
- Unlimited option 4
- 1x option 5
- Purchase
-
Plan 4
$40/month
-
- 2x option 1
- Free option 2
- Unlimited option 3
- Unlimited option 4
- 1x option 5
- Purchase
'
);
for($i=0; $i < $section_num; $i++)
{
if(!isset($section_title[$i])){$section_title[$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_title_color[$i])){$section_title_color[$i] = "";}
if(!isset($section_title_border_color[$i])){$section_title_border_color[$i] = "";}
if(!isset($section_content_color[$i])){$section_content_color[$i] = "";}
if(!isset($section_anchor[$i])){$section_anchor[$i] = "";}
if(!isset($section_background[$i])){$section_background[$i] = "";}
if(!isset($section_background_size[$i])){$section_background_size[$i] = "";}
if(!isset($section_full_width[$i])){$section_full_width[$i] = "";}
if(!isset($section_full_width[$i])){$section_full_width[$i] = "";}
$options[] = array( 'desc' => 'Section '.($i+1).'
', 'class' => 'toggle_option_group home-section group_close','type' => 'info');
$options[] = array(
'name' => '',
'desc' => '
',
'id' => 'delete_section_'.$i,
'std' => '',
'type' => 'info',
'class'=>'section-item section-delete-button');
if($i==0)
{
$options[] = array(
'name' => __('Select Content Template for this section', 'Acool'),
'std' => ct_std_select($i),
'id' => 'ct_select_section_temp_'.$i.'',
'type' => 'select',
'class'=>'mini ct_select_section_temp',
'options'=>array(
"video"=>"video",
"slider"=>"slider",
//"columns"=>"columns",
//"post_list"=>"post_list",
//"team"=>"team",
//"workteam"=>"workteam"
)
);
}else{
$options[] = array(
'name' => __('Select Content Template for this section', 'Acool'),
'std' => ct_std_select($i),
'id' => 'ct_select_section_temp_'.$i.'',
'type' => 'select',
'class'=>'mini ct_select_section_temp',
'options'=>array(
//"video"=>"video",
"columns"=>"columns",
"post_list"=>"post_list",
"team"=>"team",
"facts"=>"facts",
"progress_bar"=>"progress_bar",
"price"=>"price"
)
);
}
//$options[] = array('name' => __('Section Content', 'Acool'),'id' => 'section_content_'.$i,'std' => $section_content[$i],'type' => 'editor');
//$options[] = array('name' => __('Section Title', 'Acool'),'id' => 'section_title_'.$i.'','type' => 'text','std'=>$section_title[$i]);
$options[] = array('name' => __('Title Color', 'Acool'),'id' => 'section_title_color_'.$i.'','type' => 'color','std'=>$section_title_color[$i]);
//$options[] = array('name' => __('Title Border Color', 'Acool'),'id' => 'section_title_border_color_'.$i.'','type' => 'color','std'=>$section_title_border_color[$i]);
$options[] = array('name' => __('Content Color', 'Acool'),'id' => 'section_content_color_'.$i.'','type' => 'color','std'=>$section_content_color[$i]);
//$options[] = array('name' => __('Section ID', 'Acool'),'id' => 'section_anchor_'.$i.'','type' => 'text','std'=>$section_anchor[$i],'desc'=>__('Add anchor tag to jump to specific section on one page without having any space or symbol. This section id will be related with the menu link, it should be call on wp appearance menu by using # after site url. It is usually all lowercase and contains only letters, numbers, and hyphens.', 'Acool'));
if($section_title[$i] =='post_list' )
{
//$options[] = array('name' => __('Blog List Link', 'Acool'),'id' => 'section_title_post_list_'.$i,"class" => 'mini','type' => 'text');
$options[] = array('name' => __('Blog List Link', 'Acool'),'id' => 'section_post_list_'.$i.'','type' => 'text','std'=>esc_url(home_url('/')).'blog/');
}
$options[] = array('name' => __('Section Background', 'Acool'),'id' => 'section_background_'.$i.'','std' => $section_background[$i],'type' => 'background' );
$options[] = array('name' => __('100% Width Background Image', 'Acool'),'std' => $section_background_size[$i],'id' => 'background_size_'.$i.'',
'type' => 'select','class'=>'mini','options'=>array("no"=>"no","yes"=>"yes"));
$options[] = array('name' => __('Full Width', 'Acool'),'std' => $section_full_width[$i],'id' => 'full_width_'.$i.'','type' => 'select','class'=>'mini','options'=>array("no"=>"no","yes"=>"yes"));
$options[] = array('name' => __('Section Css Class', 'Acool'),'id' => 'section_css_class_'.$i.'','type' => 'text','std'=>$section_css_class[$i]);
$options[] = array('name' => __('Section Content', 'Acool'),'id' => 'section_content_'.$i,'std' => $section_content[$i],'type' => 'editor');
$options[] = array('desc' => __('
', 'Acool'),'class' => 'toggle_title','type' => 'info');
}
}//end if ( defined( 'CT_FEATURED_HOMEPAGE_USED' ) && CT_FEATURED_HOMEPAGE_USED )
// HEADER
$options[] = array('name' => __('Header', 'Acool'),'type' => 'heading');
$options[] = array('name' => __('Header Opacity', 'Acool'),'desc' =>'', 'id' => 'header_opacity', 'type' => 'select', 'class' => 'mini', 'std' => '0.8','options' => array_combine(range(0,1,0.1), range(0,1,0.1)) );
$options[] = array('name' => __('Fixed Header', 'Acool'),'desc' =>'', 'id' => 'fixed_header', 'type' => 'select', 'class' => 'mini', 'std' => '1','options' => array('no'=>'no','yes'=>'yes') );
//since 1.0.2
$options[] = array('name' => __('Breadcrumb', 'Acool'),'desc' =>__( "Display the breadcrumb in posts lists :post page, blog page, archives, search results..." , "Acool" ), 'id' => 'show_breadcrumb', 'type' => 'select', 'class' => 'mini', 'std' => '1','options' => array('yes'=>'yes','no'=>'no') );
//$show_breadcrumb = of_get_option("show_breadcrumb");
//since 1.0.2 end
// FOOTER
$social_icons = array(
'fa fa-facebook'=>'facebook',
'fa fa-flickr'=>'flickr',
'fa fa-google-plus'=>'google plus',
'fa fa-linkedin'=>'linkedin',
'fa fa-pinterest'=>'pinterest',
'fa fa-twitter'=>'twitter',
'fa fa-tumblr'=>'tumblr',
'fa fa-digg'=>'digg',
'fa fa-rss'=>'rss',
);
$options[] = array('name' => __('Footer', 'Acool'),'type' => 'heading');
$options[] = array('name' => __('Display Footer Widget Area', 'Acool'), 'desc' =>'','id' => 'display_footer_widget_area', 'std' => '0','class' => 'mini', 'options' => array('0'=>'no','1'=>'yes'),'type' => 'select');
$options[] = array('name' => __('Footer Widget Area Background', 'Acool'),'id' => 'footer_widget_area_background','std' => $footer_widget_area_background,'type' => 'background' );
$options[] = array('name' => __('Social Icon Color', 'Acool'),'std' => '#FFFFFF','id' => 'social_icon_color' ,'type'=> 'color');
$options[] = array('name' => __('Social Icon Background Color', 'Acool'),'std' => '#0c8432','id' => 'social_icon_background_color' ,'type'=> 'color');
$options[] = array('name' => __('Home Page Footer Background', 'Acool'),'id' => 'home_footer_background','std' =>$home_footer_background_defaults,'type' => 'background' );
$options[] = array('name' => __('Single Page Footer Background', 'Acool'),'id' => 'single_footer_background','std' => $background_defaults,'type' => 'background' );
for($i=0;$i<9;$i++)
{
$options[] = array("name" => sprintf(__('Social Icon #%s', 'Acool'),($i+1)), "id" => "social_icon_".$i,"std" => "","class" => 'mini',"type" => "select", "options" => $social_icons );
$options[] = array('name' => sprintf(__('Social Title #%s', 'Acool'),($i+1)),'id' => 'social_title_'.$i,"class" => 'mini','type' => 'text');
$options[] = array('name' => sprintf(__('Social Link #%s', 'Acool'),($i+1)),'id' => 'social_link_'.$i,'type' => 'text');
}
if ( defined( 'CT_HOMEPAGE_SLIDER_USED' ) && CT_HOMEPAGE_SLIDER_USED )
{
// Slider
$options[] = array( 'name' => __('Homepage Slider', 'Acool'), 'type' => 'heading');
//HOME PAGE SLIDER
$options[] = array('name' => __('Slideshow', 'Acool'),'id' => 'group_title','type' => 'title');
$options[] = array( 'desc' => __(''.__('Slide One','Acool').'
', 'Acool'), 'class' => 'toggle_option_group group_close','type' => 'info');
$options[] = array('name' => __('Image', 'Acool'),'id' => 'acool_slide_image_1','type' => 'upload','std'=>$imagepath.'banner1.jpg');
$options[] = array('name' => __('Text', 'Acool'),'id' => 'acool_slide_text_1','type' => 'editor','std'=>'
The jQuery slider that just slides.
No fancy effects or unnecessary markup.
Download');
$options[] = array( 'desc' => __('
', 'Acool'), 'class' => 'toggle_title','type' => 'info');
$options[] = array( 'desc' => __(''.__('Slide Two','Acool').'
', 'Acool'), 'class' => 'toggle_option_group group_close','type' => 'info');
$options[] = array('name' => __('Image', 'Acool'),'id' => 'acool_slide_image_2','type' => 'upload','std'=>$imagepath.'banner2.jpg');
$options[] = array('name' => __('Text', 'Acool'),'id' => 'acool_slide_text_2','type' => 'editor','std'=>'
Fluid, flexible, fantastically minimal.
Use any HTML in your slides, extend with CSS. You have full control.
Download');
$options[] = array( 'desc' => __('
', 'Acool'), 'class' => 'toggle_title','type' => 'info');
$options[] = array( 'desc' => __(''.__('Slide Three','Acool').'
', 'Acool'), 'class' => 'toggle_option_group group_close','type' => 'info');
$options[] = array('name' => __('Image', 'Acool'),'id' => 'acool_slide_image_3','type' => 'upload','std'=>$imagepath.'banner3.jpg');
$options[] = array('name' => __('Text', 'Acool'),'id' => 'acool_slide_text_3','type' => 'editor','std'=>'
Open-source.
Vestibulum auctor nisl vel lectus ullamcorper sed pellentesque dolor eleifend.
Contribute');
$options[] = array( 'desc' => __('
', 'Acool'), 'class' => 'toggle_title','type' => 'info');
$options[] = array( 'desc' => __(''.__('Slide Four','Acool').'
', 'Acool'), 'class' => 'toggle_option_group group_close','type' => 'info');
$options[] = array('name' => __('Image', 'Acool'),'id' => 'acool_slide_image_4','type' => 'upload','std'=>$imagepath.'banner4.jpg');
$options[] = array('name' => __('Text', 'Acool'),'id' => 'acool_slide_text_4','type' => 'editor','std'=>'
Uh, that\'s about it.
I just wanted to show you another slide.
Download');
$options[] = array( 'desc' => __('
', 'Acool'), 'class' => 'toggle_title','type' => 'info');
$options[] = array( 'desc' => __(''.__('Slide Five','Acool').'
', 'Acool'), 'class' => 'toggle_option_group group_close','type' => 'info');
$options[] = array('name' => __('Image', 'Acool'),'id' => 'acool_slide_image_5','type' => 'upload');
$options[] = array('name' => __('Text', 'Acool'),'id' => 'acool_slide_text_5','type' => 'editor');
$options[] = array( 'desc' => __('', 'Acool'), 'class' => 'toggle_title','type' => 'info');
$options[] = array( 'name' => __('Slide Time', 'Acool'),'id' => 'slide_time', 'std' => '5000','desc'=>__('Milliseconds between the end of the sliding effect and the start of the nex one.','Acool'),'type' => 'text');
//END HOME PAGE SLIDER
}
//Blog
$options[] = array('name' => __('Blog', 'Acool'),'type' => 'heading');
$options[] = array('name' => __('Hide Post Meta', 'Acool'),'std' => 'no','desc'=>__('Hide date, author, category...below blog title.','Acool'),'id' => 'hide_post_meta',
'type' => 'select','class'=>'mini','options'=>array("no"=>"no","yes"=>"yes"));
//$options[] = array('name' => __('Blog Title Color', 'Acool'),'id' => 'blog_title_color','std'=>'#4ca702' ,'type'=> 'color');
return $options;
}