__( 'Color Value', 'theme-textdomain' ),
'imagebg' => __( 'Background Image', 'theme-textdomain' )
);
// Background Defaults
$background_color = array(
'color' => '',
'image' => '',
'repeat' => 'repeat',
'position' => 'top center',
'attachment'=>'scroll' );
/////////////////////////////////////////////////////////////////////////////////////////
// Test data
$test_array = array(
'one' => __( 'One', 'theme-textdomain' ),
'two' => __( 'Two', 'theme-textdomain' ),
'three' => __( 'Three', 'theme-textdomain' ),
'four' => __( 'Four', 'theme-textdomain' )
);
// slider count array
$slider_array = array(
'three' => __( 'Three', 'theme-textdomain' ),
'four' => __( 'Four', 'theme-textdomain' ),
'five' => __( 'Five', 'theme-textdomain' ),
'six' => __( 'Six', 'theme-textdomain' ),
'seven' => __( 'Seven', 'theme-textdomain' ),
);
// Multicheck Array
$multicheck_array = array(
'one' => __( 'French Toast', 'theme-textdomain' ),
'two' => __( 'Pancake', 'theme-textdomain' ),
'three' => __( 'Omelette', 'theme-textdomain' ),
'four' => __( 'Crepe', 'theme-textdomain' ),
'five' => __( 'Waffle', 'theme-textdomain' )
);
// Multicheck Defaults
$multicheck_defaults = array(
'one' => '1',
'five' => '1'
);
// Background Defaults
$background_defaults = array(
'color' => '',
'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
);
// Pull all the categories into an array
$options_categories = array();
$options_categories_obj = get_categories();
foreach ($options_categories_obj as $category) {
$options_categories[$category->cat_ID] = $category->cat_name;
}
// Pull all tags into an array
$options_tags = array();
$options_tags_obj = get_tags();
foreach ( $options_tags_obj as $tag ) {
$options_tags[$tag->term_id] = $tag->name;
}
// Pull all the pages into an array
$options_pages = array();
$options_pages_obj = get_pages( 'sort_column=post_parent,menu_order' );
$options_pages[''] = 'Select a page:';
foreach ($options_pages_obj as $page) {
$options_pages[$page->ID] = $page->post_title;
}
// If using image radio buttons, define a directory path
$imagepath = get_template_directory_uri() . '/images/';
$options = array();
$options[] = array(
'name' => __( 'General Setting', 'theme-textdomain' ),
'type' => 'heading'
);
// Logo Upload
$options[] = array(
'name' => __( 'Upload Logo', 'theme-textdomain' ),
'desc' => __( 'This creates a full size uploader that previews the image. Help ', 'theme-textdomain' ),
'id' => 'logo_uploader',
'type' => 'upload'
);
// Default Thumbnail Upload
$options[] = array(
'name' => __( 'Upload Default Thumbnail', 'theme-textdomain' ),
'desc' => __( 'Default Thumbnail. Help ', 'theme-textdomain' ),
'id' => 'default_thumbnail',
'type' => 'upload'
);
$options[] = array(
'name' => __( 'Upload Favicon', 'theme-textdomain' ),
'desc' => __( 'Add favicon icon. Help ', 'theme-textdomain' ),
'id' => 'favicon_uploader',
'type' => 'upload'
);
//Meta Description
$options[] = array(
'name' => __( 'Meta Descriptions', 'theme-textdomain' ),
'desc' => __( 'Meta Descriptions. Help ', 'theme-textdomain' ),
'id' => 'metadescription_code',
'std' => 'Default',
'type' => 'textarea'
);
//Meta Description
$options[] = array(
'name' => __( 'Meta Keywords', 'theme-textdomain' ),
'desc' => __( 'Meta Keywords. Help ', 'theme-textdomain' ),
'id' => 'metakey_code',
'std' => 'Default',
'type' => 'textarea'
);
//Footer Code
$options[] = array(
'name' => __( 'Footer Content', 'theme-textdomain' ),
'desc' => __( 'Do not remove powered by link. Read License ', 'theme-textdomain' ),
'id' => 'footer_code',
'std' => 'Powered by Awotech.com ',
'type' => 'textarea'
);
//Select Background Color
$options[] = array(
'name' => __( 'Background Color', 'theme-textdomain' ),
'desc' => __( 'No color selected by default.', 'theme-textdomain' ),
'id' => 'background_colorpicker',
'std' => '',
'type' => 'color'
);
// Home Page
$options[] = array(
'name' => __( 'Home Page', 'theme-textdomain' ),
'type' => 'heading'
);
// Layout Home Page Selector
$options[] = array(
'name' => "Select Home Page Layout",
'desc' => __( 'Select Home Layout. Help ', 'theme-textdomain' ),
'id' => "select_home_layout",
'std' => "without-sidebar-fixed",
'type' => "images",
'options' => array(
'without-sidebar-fixed' => $imagepath . 'without-sidebar.png',
'right-sidebar-fixed' => $imagepath . 'right-sidebar.png',
'left-sidebar-fixed' => $imagepath . 'left-sidebar.png'
)
);
$options[] = array(
'name' => __( 'Content per row', 'theme-textdomain' ),
'desc' => __( 'how many content per row. Help ', 'theme-textdomain' ),
'id' => 'contentperrow-home',
'std' => 'three',
'type' => 'select',
'class' => 'mini', //mini, tiny, small
'options' => $test_array
);
// Content Box Height
$options[] = array(
'name' => __( 'Content box height', 'theme-textdomain' ),
'desc' => __( 'px. Help ', 'theme-textdomain' ),
'id' => 'contentboxheighthome',
'std' => '400',
'type' => 'text'
);
// Content Page
$options[] = array(
'name' => __( 'Page Setting', 'theme-textdomain' ),
'type' => 'heading'
);
// Layout Content Page Selector
$options[] = array(
'name' => "Select Content Page Layout",
'desc' => __( 'Select content page layout. Help ', 'theme-textdomain' ),
'id' => "select_content_layout",
'std' => "without-sidebar-fixed",
'type' => "images",
'options' => array(
'without-sidebar-fixed' => $imagepath . 'without-sidebar.png',
'right-sidebar-fixed' => $imagepath . 'right-sidebar.png',
'left-sidebar-fixed' => $imagepath . 'left-sidebar.png'
)
);
$options[] = array(
'name' => __( 'Content per row', 'theme-textdomain' ),
'desc' => __( 'how many content per row. Help ', 'theme-textdomain' ),
'id' => 'contentperrow',
'std' => 'three',
'type' => 'select',
'class' => 'mini', //mini, tiny, small
'options' => $test_array
);
// Content Box Height
$options[] = array(
'name' => __( 'Content Box Height', 'theme-textdomain' ),
'desc' => __( 'px. Help ', 'theme-textdomain' ),
'id' => 'contentboxheight',
'std' => '400',
'type' => 'text'
);
// Slide
$options[] = array(
'name' => __( 'Slide', 'theme-textdomain' ),
'type' => 'heading'
);
$options[] = array(
'name' => __( 'Show Slide', 'theme-textdomain' ),
'desc' => __( 'Show Slide, defaults to true. Help ', 'theme-textdomain' ),
'id' => 'show_slide',
'std' => '1',
'type' => 'checkbox'
);
// Slider Height
$options[] = array(
'name' => __( 'Slider Height', 'theme-textdomain' ),
'desc' => __( 'px. Help ', 'theme-textdomain' ),
'id' => 'sliderheight',
'std' => '250',
'type' => 'text'
);
// Slider Count
$options[] = array(
'name' => __( 'How many slide', 'theme-textdomain' ),
'desc' => __( 'Number of slide. Help ', 'theme-textdomain' ),
'id' => 'slidercount',
'std' => 'three',
'type' => 'select',
'class' => 'mini', //mini, tiny, small
'options' => $slider_array
);
// Slider Upload
$options[] = array(
'name' => __( 'Slide 1', 'theme-textdomain' ),
'desc' => __( 'Add Slide 1. Help ', 'theme-textdomain' ),
'id' => 'slider1',
'type' => 'upload'
);
$options[] = array(
'name' => __( 'Slide Link 1', 'theme-textdomain' ),
'desc' => __( ' Help ', 'theme-textdomain' ),
'id' => 'slidelink1',
'std' => 'http://www.awotech.com',
'type' => 'text'
);
$options[] = array(
'name' => __( 'Slide 2', 'theme-textdomain' ),
'desc' => __( 'This creates a full size uploader that previews the image.', 'theme-textdomain' ),
'id' => 'slider2',
'type' => 'upload'
);
$options[] = array(
'name' => __( 'Slide Link 2', 'theme-textdomain' ),
'desc' => __( 'http://www.example.com', 'theme-textdomain' ),
'id' => 'slidelink2',
'std' => 'http://www.awotech.com',
'type' => 'text'
);
$options[] = array(
'name' => __( 'Slide 3', 'theme-textdomain' ),
'desc' => __( 'This creates a full size uploader that previews the image.', 'theme-textdomain' ),
'id' => 'slider3',
'type' => 'upload'
);
$options[] = array(
'name' => __( 'Slide Link 3', 'theme-textdomain' ),
'desc' => __( 'http://www.example.com', 'theme-textdomain' ),
'id' => 'slidelink3',
'std' => 'http://www.awotech.com',
'type' => 'text'
);
$options[] = array(
'name' => __( 'Slide 4', 'theme-textdomain' ),
'desc' => __( 'This creates a full size uploader that previews the image.', 'theme-textdomain' ),
'id' => 'slider4',
'type' => 'upload'
);
$options[] = array(
'name' => __( 'Slide Link 4', 'theme-textdomain' ),
'desc' => __( 'http://www.example.com', 'theme-textdomain' ),
'id' => 'slidelink4',
'std' => 'http://www.awotech.com',
'type' => 'text'
);
$options[] = array(
'name' => __( 'Slide 5', 'theme-textdomain' ),
'desc' => __( 'This creates a full size uploader that previews the image.', 'theme-textdomain' ),
'id' => 'slider5',
'type' => 'upload'
);
$options[] = array(
'name' => __( 'Slide Link 5', 'theme-textdomain' ),
'desc' => __( 'http://www.example.com', 'theme-textdomain' ),
'id' => 'slidelink5',
'std' => 'http://www.awotech.com',
'type' => 'text'
);
$options[] = array(
'name' => __( 'Slide 6', 'theme-textdomain' ),
'desc' => __( 'This creates a full size uploader that previews the image.', 'theme-textdomain' ),
'id' => 'slider6',
'type' => 'upload'
);
$options[] = array(
'name' => __( 'Slide Link 6', 'theme-textdomain' ),
'desc' => __( 'http://www.example.com', 'theme-textdomain' ),
'id' => 'slidelink6',
'std' => 'http://www.awotech.com',
'type' => 'text'
);
$options[] = array(
'name' => __( 'Slide 7', 'theme-textdomain' ),
'desc' => __( 'This creates a full size uploader that previews the image.', 'theme-textdomain' ),
'id' => 'slider7',
'type' => 'upload'
);
$options[] = array(
'name' => __( 'Slide Link 7', 'theme-textdomain' ),
'desc' => __( 'http://www.example.com', 'theme-textdomain' ),
'id' => 'slidelink7',
'std' => 'http://www.awotech.com',
'type' => 'text'
);
return $options;
}