__('One', 'options_check'), 'two' => __('Two', 'options_check'), 'three' => __('Three', 'options_check'), 'four' => __('Four', 'options_check'), 'five' => __('Five', 'options_check') ); // Multicheck Array $multicheck_array = array( 'one' => __('French Toast', 'options_check'), 'two' => __('Pancake', 'options_check'), 'three' => __('Omelette', 'options_check'), 'four' => __('Crepe', 'options_check'), 'five' => __('Waffle', 'options_check') ); // 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(); //**************************************************************************************************// //* START OF OPTIONS IN THE OPTIONS FRAMEWORK */ //**************************************************************************************************// //*------------- HOMEPAGE OPTIONS HEADING -------------*// $options[] = array( 'name' => __('Home', 'options_check'), 'type' => 'heading'); //*------------- HOMEPAGE INTRO OPTIONS -------------*// // Homepage into text $options[] = array( 'name' => __('Home Intro Text', 'options_check'), 'desc' => __('Enter Text for Intro on Homepage, Keep Heading in H1 and the text in H4 or in Paragraph.', 'options_check'), 'id' => 'intro_text', 'type' => 'editor', ); //*------------- HOMEPAGE SERVICES ICONS -------------*// // Services Heading $options[] = array( 'name' => __('Heading Services Section', 'options_check'), 'desc' => __('Enter an Heading for Services Section', 'options_check'), 'id' => 'services_heading', 'std' => 'Our Services', 'type' => 'text'); // First Col Icon $options[] = array( 'name' => __('First Col Icon', 'options_check'), 'desc' => __('Enter class for the first Glyphicon you want to use.', 'options_check'), 'id' => 'services_icon_1', 'std' => 'glyphicon glyphicon-heart', 'type' => 'text'); // First Col Text $options[] = array( 'name' => __('First Col Text', 'options_check'), 'desc' => __('Enter Heading and Text for First Service that you want to offer. Keep Headings in h3 or h4.', 'options_check'), 'id' => 'services_text_1', 'type' => 'editor', ); // Second Col Icon $options[] = array( 'name' => __('Second Col Icon', 'options_check'), 'desc' => __('Enter class for the second Glyphicon you want to use.', 'options_check'), 'id' => 'services_icon_2', 'std' => 'glyphicon glyphicon-cog', 'type' => 'text'); // Second Col Text $options[] = array( 'name' => __('Second Col Text', 'options_check'), 'desc' => __('Enter Heading and Text for Second Service that you want to offer. Keep Headings in h3 or h4.', 'options_check'), 'id' => 'services_text_2', 'type' => 'editor', ); // Third Col Icon $options[] = array( 'name' => __('Third Col Icon', 'options_check'), 'desc' => __('Enter class for the third Glyphicon you want to use.', 'options_check'), 'id' => 'services_icon_3', 'std' => 'glyphicon glyphicon-gift', 'type' => 'text'); // Third Col Text $options[] = array( 'name' => __('Third Col Text', 'options_check'), 'desc' => __('Enter Heading and Text for Third Service that you want to offer. Keep Headings in h3 or h4.', 'options_check'), 'id' => 'services_text_3', 'type' => 'editor', ); // Fourth Col Icon $options[] = array( 'name' => __('Fourth Col Icon', 'options_check'), 'desc' => __('Enter class for the fourth Glyphicon you want to use.', 'options_check'), 'id' => 'services_icon_4', 'std' => 'glyphicon glyphicon-fire', 'type' => 'text'); // Fourth Col Text $options[] = array( 'name' => __('Fourth Col Text', 'options_check'), 'desc' => __('Enter Heading and Text for Fourth Service that you want to offer. Keep Headings in h3 or h4.', 'options_check'), 'id' => 'services_text_4', 'type' => 'editor', ); //*------------- HOMEPAGE FEATURED CATEGORY -------------*// // Category Heading $options[] = array( 'name' => __('Featured Section Heading', 'options_check'), 'desc' => __('Enter an Heading For Featured Post Section.', 'options_check'), 'id' => 'featured_heading', 'std' => 'Featured Blog Posts', 'type' => 'text'); // Featured Category $options[] = array( 'name' => __('Featured Category', 'options_check'), 'desc' => __('Select a Featured category to show posts on Home Page', 'options_check'), 'id' => 'featured_cat', 'type' => 'select', 'options' => $options_categories); //*------------- SOCIAL ICONS -------------*// // social icons $options[] = array( 'name' => __('Social Icons', 'options_check'), 'type' => 'heading'); // facebook $options[] = array( 'name' => __('Facebook', 'options_check'), 'desc' => __('Enter Facebook Like page URL or Profile URL.', 'options_check'), 'id' => 'social_fb', 'std' => 'https://www.facebook.com/talentedaamer', 'type' => 'text'); // twitter $options[] = array( 'name' => __('Twitter', 'options_check'), 'desc' => __('Enter Twitter URL.', 'options_check'), 'id' => 'social_tw', 'std' => 'https://twitter.com/talentedaamer', 'type' => 'text'); // linkedIn $options[] = array( 'name' => __('LinkedIn', 'options_check'), 'desc' => __('Enter URL for LinkedIn Profile.', 'options_check'), 'id' => 'social_li', 'std' => '', 'type' => 'text'); // google plus $options[] = array( 'name' => __('Google +', 'options_check'), 'desc' => __('Enter Google + Profile URL', 'options_check'), 'id' => 'social_gp', 'std' => 'https://plus.google.com/u/0/101301401125152821185/posts', 'type' => 'text'); // Pintrest $options[] = array( 'name' => __('Pintrest', 'options_check'), 'desc' => __('Enter URL for Pintrest Profile', 'options_check'), 'id' => 'social_pi', 'std' => '', 'type' => 'text'); // Dribbble $options[] = array( 'name' => __('Dribbble', 'options_check'), 'desc' => __('Enter URL for Dribbble Profile.', 'options_check'), 'id' => 'social_db', 'std' => '', 'type' => 'text'); // return all options return $options; } //**************************************************************************************************// //* END OF OPTIONS IN OPTIONS FRAMEWORK */ //**************************************************************************************************// // options framework sidebar add_action( 'optionsframework_after','bittersweet_options_display_sidebar' ); function bittersweet_options_display_sidebar() { ?>