__('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' ); // 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" => "Home", "type" => "heading" ); $options[] = array( "name" => __("Home Page Slideshow", "breann"), "desc" => __("Show Home Page Slideshow?", "breann"), "id" => "show_home_slideshow", "type" => "checkbox" ); $options[] = array( "name" => __("Cyclone Slider 2 Shortcode", "breann"), "desc" => __('Example: [cycloneslider id="my-slider-id"]. You will find this code within the Cyclone Slider Settings (after you create your first slideshow).', 'breann'), "id" => "cyclone_shortcode", "class" => "hidden", "type" => "text" ); $options[] = array( "name" => __("New Home Title", "breann"), "desc" => __("Custom 'Home' Page Title?", "breann"), "id" => "new_home_title", "type" => "checkbox" ); $options[] = array( "name" => __("Home Page Title", "breann"), "desc" => __("If your home page is static (Settings > Reading > Front Page Display), you have the option to show a title other than 'Home' - Home Page only", "breann"), "id" => "show_home_title", "class" => "hidden", "type" => "text" ); $options[] = array( "name" => __("Quote/Slogan", "breann"), "desc" => __("Show Quote/Slogan on Home Page?", "breann"), "id" => "show_home_quote", "type" => "checkbox" ); $options[] = array( "name" => __("Text for Home Page Quote/Slogan", "breann"), "desc" => __("Home page quote or slogan here", "breann"), "id" => "home_page_quote", "class" => "hidden", "type" => "text" ); /* ----- LOGO & COLOR SECTION SETTINGS ----- */ $options[] = array( "name" => "Logo", "type" => "heading" ); $options[] = array( "name" => __("Show Logo as Image?", "breann"), "desc" => __("Show Custom Logo?", "breann"), "id" => "show_logo_image", "type" => "checkbox" ); $options[] = array( "name" => __("Logo","breann"), "desc" => __("Upload your logo - Dimensions: 270 x 90 (pixels)", "breann"), "id" => "logo_uploader", "class" => "hidden", "type" => "upload" ); $options[] = array( "name" => __("Logo Text", "breann"), "desc" => __("Change logo text here. Nothing added here results in default Site Title found here: Settings > General", "breann"), "id" => "logo_text", "type" => "text" ); /* $options[] = array( "name" => __("Logo Background Color","breann"), "desc" => __("Change the logo background color if using text.", "breann"), "id" => "logo_background", "std" => "#FFFFFF", "type" => "color" ); */ $options[] = array( "name" => __("Logo Text Color","breann"), "desc" => __("Change the logo text color.", "breann"), "id" => "logo_text_color", "std" => "#1B1B1B", "type" => "color" ); /* ----- SOCIAL MEDIA SECTION SETTINGS ----- */ $options[] = array( "name" => "Social", "type" => "heading" ); $options[] = array( "name" => __("Show Social Media Icons in Sidebar?", "breann"), "desc" => __("Show Social Media Icons in Sidebar?", "breann"), "id" => "show_social_media", "type" => "checkbox" ); $options[] = array( "name" => "Social Media Title", "desc" => "Default text is 'Follow Us'. Add something here to change that!", "id" => "show_follow_title", "class" => "hidden", "type" => "text" ); $options[] = array( "name" => __("Facebook URL","breann"), "desc" => __("Paste your Facebook profile URL here.", "breann"), "id" => "show_facebook_url", "type" => "text", "class" => "hidden" ); $options[] = array( "name" => __("Twitter URL","breann"), "desc" => __("Paste your Twitter profile URL here.", "breann"), "id" => "show_twitter_url", "type" => "text", "class" => "hidden" ); $options[] = array( "name" => __("Google+ URL","breann"), "desc" => __("Paste your Google+ profile URL here.", "breann"), "id" => "show_googleplus_url", "type" => "text", "class" => "hidden" ); $options[] = array( "name" => __("YouTube URL","breann"), "desc" => __("Paste your YouTube channel URL here.", "breann"), "id" => "show_youtube_url", "type" => "text", "class" => "hidden" ); /* ----- MISCELLANEOUS SETTINGS ----- */ $options[] = array( "name" => "Misc", "type" => "heading" ); $options[] = array( "name" => __("Google Analytics", "breann"), "desc" => __("Show Analytics?", "breann"), "id" => "show_analytics_code", "type" => "checkbox" ); $options[] = array( "name" => "Add Google Analytics ID", "desc" => "Example: UA-12345678-1", "id" => "show_analytics", "class" => "hidden mini", "type" => "text" ); $options[] = array( "name" => __("Show Post Meta Data?", "breann"), "desc" => __("Checked = hide meta data", "breann"), "id" => "show_hide_post_meta", "type" => "checkbox" ); $options[] = array( "name" => "Help!", "type" => "heading" ); $options[] = array( "name" => "Donations", "desc" => "If you have enjoyed this theme and would like to support the build of future Wordpress themes, please donate to a great cause. All donations are appreciated! Thank you!", "type" => "info" ); $options[] = array( "name" => "Recommended Options/Settings", "desc" => "Slideshow dimensions = 1200 x 400 (pixels). At least make the width 1200 pixels in the Cyclone Slider 2 Settings.", "type" => "info" ); $options[] = array( "name" => "Beginner", "desc" => "If you aren't familiar with PHP, HTML, JavaScript, or CSS, PLEASE save yourself time and frustration by signing up for Treehouse. This site will help you learn the basics of customizing your website the RIGHT way. Not all tutorials online are doing it right.", "type" => "info" ); $options[] = array( "name" => "Intermediate", "desc" => "If you know a little about CSS, but can't remember exactly how to do certain things, I recommend taking a refresher course.", "type" => "info" ); $options[] = array( "name" => "Expert", "desc" => "Do I even need this section? Feel free to brush up on your skills here.", "type" => "info" ); $options[] = array( "name" => "Hosting Your Website", "desc" => "Need quality website hosting? Sign up for a HostGator account; they're affordable and reliable. Use coupon code breanntheme25 for 25% OFF or use coupon code breanntheme994 for $9.94 OFF your order.", "type" => "info"); $options[] = array( "name" => "Have Questions About This Theme?", "desc" => "If have questions about this theme or you've run into issues, please visit http://mikejohnsondesign.com/support/", "type" => "info"); // $options[] = array( "name" => "Basic Settings", // "type" => "heading"); // // $options[] = array( "name" => "Input Text Mini", // "desc" => "A mini text input field.", // "id" => "example_text_mini", // "std" => "Default", // "class" => "mini", // "type" => "text"); // // $options[] = array( "name" => "Input Text", // "desc" => "A text input field.", // "id" => "example_text", // "std" => "Default Value", // "type" => "text"); // // $options[] = array( "name" => "Textarea", // "desc" => "Textarea description.", // "id" => "example_textarea", // "std" => "Default Text", // "type" => "textarea"); // // $options[] = array( "name" => "Input Select Small", // "desc" => "Small Select Box.", // "id" => "example_select", // "std" => "three", // "type" => "select", // "class" => "mini", //mini, tiny, small // "options" => $test_array); // // $options[] = array( "name" => "Input Select Wide", // "desc" => "A wider select box.", // "id" => "example_select_wide", // "std" => "two", // "type" => "select", // "options" => $test_array); // // $options[] = array( "name" => "Select a Category", // "desc" => "Passed an array of categories with cat_ID and cat_name", // "id" => "example_select_categories", // "type" => "select", // "options" => $options_categories); // // $options[] = array( "name" => "Select a Page", // "desc" => "Passed an pages with ID and post_title", // "id" => "example_select_pages", // "type" => "select", // "options" => $options_pages); // // $options[] = array( "name" => "Input Radio (one)", // "desc" => "Radio select with default options 'one'.", // "id" => "example_radio", // "std" => "one", // "type" => "radio", // "options" => $test_array); // // $options[] = array( "name" => "Example Info", // "desc" => "This is just some example information you can put in the panel.", // "type" => "info"); // // $options[] = array( "name" => "Input Checkbox", // "desc" => "Example checkbox, defaults to true.", // "id" => "example_checkbox", // "std" => "1", // "type" => "checkbox"); // // $options[] = array( "name" => "Advanced Settings", // "type" => "heading"); // // $options[] = array( "name" => "Check to Show a Hidden Text Input", // "desc" => "Click here and see what happens.", // "id" => "example_showhidden", // "type" => "checkbox"); // // $options[] = array( "name" => "Hidden Text Input", // "desc" => "This option is hidden unless activated by a checkbox click.", // "id" => "example_text_hidden", // "std" => "Hello", // "class" => "hidden", // "type" => "text"); // // $options[] = array( "name" => "Uploader Test", // "desc" => "This creates a full size uploader that previews the image.", // "id" => "example_uploader", // "type" => "upload"); // // $options[] = array( "name" => "Example Background", // "desc" => "Change the background CSS.", // "id" => "example_background", // "std" => $background_defaults, // "type" => "background"); // // $options[] = array( "name" => "Multicheck", // "desc" => "Multicheck description.", // "id" => "example_multicheck", // "std" => $multicheck_defaults, // These items get checked by default // "type" => "multicheck", // "options" => $multicheck_array); // // $options[] = array( "name" => "Colorpicker", // "desc" => "No color selected by default.", // "id" => "example_colorpicker", // "std" => "", // "type" => "color"); // // $options[] = array( "name" => "Typography", // "desc" => "Example typography.", // "id" => "example_typography", // "std" => array('size' => '12px','face' => 'verdana','style' => 'bold italic','color' => '#123456'), // "type" => "typography"); return $options; }