__('Right Sidebar', 'calorii'),'pull-right' => __('Left Sidebar', 'calorii')); // Test data $test_array = array( 'one' => __('One', 'options_framework_theme'), 'two' => __('Two', 'options_framework_theme'), 'three' => __('Three', 'options_framework_theme'), 'four' => __('Four', 'options_framework_theme'), 'five' => __('Five', 'options_framework_theme') ); // Multicheck Array $multicheck_array = array( 'one' => __('French Toast', 'options_framework_theme'), 'two' => __('Pancake', 'options_framework_theme'), 'three' => __('Omelette', 'options_framework_theme'), 'four' => __('Crepe', 'options_framework_theme'), 'five' => __('Waffle', 'options_framework_theme') ); // Multicheck Defaults $multicheck_defaults = array( 'one' => '1', 'five' => '1' ); // Typography Defaults $typography_defaults = array( 'size' => '14px', 'face' => 'Open Sans', 'style' => 'normal', 'color' => '#6B6B6B' ); // Typography Options $typography_options = array( 'sizes' => array( '6','10','12','14','15','16','18','20','24','28','32','36','42','48' ), 'faces' => array( 'arial' => 'Arial', 'verdana' => 'Verdana, Geneva', 'trebuchet' => 'Trebuchet', 'georgia' => 'Georgia', 'times' => 'Times New Roman', 'tahoma' => 'Tahoma, Geneva', 'Open Sans' => 'Open Sans', 'palatino' => 'Palatino', 'helvetica' => 'Helvetica', 'Helvetica Neue' => 'Helvetica Neue' ), 'styles' => array( 'normal' => 'Normal','bold' => 'Bold' ), 'color' => true ); // $radio = array('0' => __('No', 'calorii'),'1' => __('Yes', 'calorii')); // 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/'; // fixed or scroll position $fixed_scroll = array('scroll' => 'Scroll', 'fixed' => 'Fixed'); $options = array(); $options[] = array( 'name' => __('Main', 'calorii'), 'type' => 'heading'); $options[] = array( 'name' => __('Do You want to display image slider on the Home Page?','calorii'), 'desc' => __('Check if you want to enable slider', 'calorii'), 'id' => 'calorii_slider_checkbox', 'std' => 0, 'type' => 'checkbox'); $options[] = array( 'name' => __('Slider Category', 'calorii'), 'desc' => __('Select a category for the featured post slider', 'calorii'), 'id' => 'calorii_slide_categories', 'type' => 'select', 'class' => 'hidden', 'options' => $options_categories); $options[] = array( 'name' => __('Number of slide items', 'calorii'), 'desc' => __('Enter the number of slide items', 'calorii'), 'id' => 'calorii_slide_number', 'std' => '3', 'class' => 'hidden', 'type' => 'text'); $options[] = array( 'name' => __('Website Layout Options', 'calorii'), 'desc' => __('Choose between Left and Right sidebar options to be used as default', 'calorii'), 'id' => 'site_layout', 'std' => 'pull-left', 'type' => 'select', 'class' => 'mini', 'options' => $site_layout); $options[] = array( 'name' => __('Element color', 'calorii'), 'desc' => __('Default used if no color is selected', 'calorii'), 'id' => 'element_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Element color on hover', 'calorii'), 'desc' => __('Default used if no color is selected', 'calorii'), 'id' => 'element_color_hover', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Custom Favicon', 'calorii'), 'desc' => __('Upload a 32px x 32px PNG/GIF image that will represent your websites favicon', 'calorii'), 'id' => 'custom_favicon', 'std' => '', 'type' => 'upload'); $options[] = array( 'name' => __('Action Button', 'calorii'), 'type' => 'heading'); $options[] = array( 'name' => __('Call For Action Text', 'calorii'), 'desc' => __('Enter the text for call for action section', 'calorii'), 'id' => 'w2f_cfa_text', 'std' => '', 'type' => 'textarea'); $options[] = array( 'name' => __('Call For Action Button Title', 'calorii'), 'desc' => __('Enter the title for Call For Action button', 'calorii'), 'id' => 'w2f_cfa_button', 'std' => '', 'type' => 'text'); $options[] = array( 'name' => __('CFA button link', 'calorii'), 'desc' => __('Enter the link for Call For Action button', 'calorii'), 'id' => 'w2f_cfa_link', 'std' => '', 'type' => 'text'); $options[] = array( 'name' => __('Call For Action Text Color', 'calorii'), 'desc' => __('Default used if no color is selected', 'calorii'), 'id' => 'cfa_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Call For Action Background Color', 'calorii'), 'desc' => __('Default used if no color is selected', 'calorii'), 'id' => 'cfa_bg_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Call For Action Button Border Color', 'calorii'), 'desc' => __('Default used if no color is selected', 'calorii'), 'id' => 'cfa_btn_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Call For Action Button Text Color', 'calorii'), 'desc' => __('Default used if no color is selected', 'calorii'), 'id' => 'cfa_btn_txt_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Typography', 'calorii'), 'type' => 'heading'); $options[] = array( 'name' => __('Main Body Text', 'calorii'), 'desc' => __('Used in P tags', 'calorii'), 'id' => 'main_body_typography', 'std' => $typography_defaults, 'type' => 'typography', 'options' => $typography_options ); $options[] = array( 'name' => __('Heading Color', 'calorii'), 'desc' => __('Color for all headings (h1-h6)', 'calorii'), 'id' => 'heading_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Link Color', 'calorii'), 'desc' => __('Default used if no color is selected', 'calorii'), 'id' => 'link_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Link:hover Color', 'calorii'), 'desc' => __('Default used if no color is selected', 'calorii'), 'id' => 'link_hover_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Header', 'calorii'), 'type' => 'heading'); $options[] = array( 'name' => __('Top nav background color', 'calorii'), 'desc' => __('Default used if no color is selected', 'calorii'), 'id' => 'nav_bg_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Top nav item color', 'calorii'), 'desc' => __('Link color', 'calorii'), 'id' => 'nav_link_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Top nav item hover color', 'calorii'), 'desc' => __('Link:hover color', 'calorii'), 'id' => 'nav_item_hover_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Top nav dropdown background color', 'calorii'), 'desc' => __('Background of dropdown item hover color', 'calorii'), 'id' => 'nav_dropdown_bg', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Top nav dropdown item color', 'calorii'), 'desc' => __('Dropdown item color', 'calorii'), 'id' => 'nav_dropdown_item', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Top nav dropdown item hover color', 'calorii'), 'desc' => __('Dropdown item hover color', 'calorii'), 'id' => 'nav_dropdown_item_hover', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Top nav dropdown item background hover color', 'calorii'), 'desc' => __('Background of dropdown item hover color', 'calorii'), 'id' => 'nav_dropdown_bg_hover', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Footer', 'calorii'), 'type' => 'heading'); $options[] = array( 'name' => __('Footer widget area background color', 'calorii'), 'id' => 'footer_widget_bg_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Footer background color', 'calorii'), 'id' => 'footer_bg_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Footer text color', 'calorii'), 'id' => 'footer_text_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Footer link color', 'calorii'), 'id' => 'footer_link_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Footer information', 'calorii'), 'desc' => __('Copyright text in footer', 'calorii'), 'id' => 'custom_footer_text', 'std' => '' . get_bloginfo( 'name', 'display' ) . ' All rights reserved.', 'type' => 'textarea'); $options[] = array( 'name' => __('Social', 'calorii'), 'type' => 'heading'); $options[] = array( 'name' => __('Social icon color', 'calorii'), 'desc' => __('Default used if no color is selected', 'calorii'), 'id' => 'social_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Footer social icon color', 'calorii'), 'desc' => __('Default used if no color is selected', 'calorii'), 'id' => 'social_footer_color', 'std' => '', 'type' => 'color'); $options[] = array( 'name' => __('Add full URL for your social network profiles', 'calorii'), 'desc' => __('Facebook', 'calorii'), 'id' => 'social_facebook', 'std' => '', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'id' => 'social_twitter', 'desc' => __('Twitter', 'calorii'), 'std' => '', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'id' => 'social_googleplus', 'desc' => __('Google+', 'calorii'), 'std' => '', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'id' => 'social_youtube', 'desc' => __('Youtube', 'calorii'), 'std' => '', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'id' => 'social_vimeo', 'desc' => __('Vimeo', 'calorii'), 'std' => '', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'id' => 'social_linkedin', 'desc' => __('LinkedIn', 'calorii'), 'std' => '', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'id' => 'social_pinterest', 'desc' => __('Pinterest', 'calorii'), 'std' => '', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'id' => 'social_rss', 'desc' => __('RSS Feed', 'calorii'), 'std' => '', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'id' => 'social_tumblr', 'desc' => __('Tumblr', 'calorii'), 'std' => '', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'id' => 'social_flickr', 'desc' => __('Flickr', 'calorii'), 'std' => '', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'id' => 'social_instagram', 'desc' => __('Instagram', 'calorii'), 'std' => '', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'id' => 'social_dribbble', 'desc' => __('Dribbble', 'calorii'), 'std' => '', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'id' => 'social_skype', 'desc' => __('Skype', 'calorii'), 'std' => '', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'id' => 'social_foursquare', 'desc' => __('Foursquare', 'calorii'), 'std' => '', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'id' => 'social_soundcloud', 'desc' => __('SoundCloud', 'calorii'), 'std' => '', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'id' => 'social_github', 'desc' => __('GitHub', 'calorii'), 'std' => '', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'name' => __('Other', 'calorii'), 'type' => 'heading'); $options[] = array( 'name' => __('Custom CSS', 'calorii'), 'desc' => __('Additional CSS', 'calorii'), 'id' => 'custom_css', 'std' => '', 'type' => 'textarea'); return $options; }