"green","blue" => "blue","pink" => "pink"); // Test data $test_array = array("one" => "One","two" => "Two","three" => "Three","four" => "Four","five" => "Five"); // Multicheck Array $multicheck_array = array("one" => "French Toast", "two" => "Pancake", "three" => "Omelette", "four" => "Crepe", "five" => "Waffle"); // Multicheck Defaults $multicheck_defaults = array("one" => "1","five" => "1"); // Background Defaults $background_defaults = array('color' => '', 'image' => '', 'repeat' => 'repeat','position' => 'top center','attachment'=>'scroll'); // 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 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_bloginfo('stylesheet_directory') . '/images/'; $options = array(); $options[] = array( "name" => "General Settings", "type" => "heading"); $options[] = array( "name" => "Custom Logo", "desc" => "Choose your own logo. Optimal Size: 170px Wide by 30px Height", "id" => "inkthemes_logo", "type" => "upload"); $options[] = array( "name" => "Custom Favicon", "desc" => "Specify a 16px x 16px image that will represent your website's favicon.", "id" => "inkthemes_favicon", "type" => "upload"); $options[] = array( "name" => "Google Analytic Code", "desc" => "Paste your Google Analytics (or other) tracking code here.", "id" => "inkthemes_analytics", "std" => "", "type" => "textarea"); $options[] = array( "name" => "Body Background Image", "desc" => "Select image to change your website background", "id" => "inkthemes_bodybg", "std" => "", "type" => "upload"); $options[] = array( "name" => "Slider Settings", "type" => "heading"); $options[] = array( "name" => "Slide 1 Image", "desc" => "Choose Image for your Slide1. Optimal Size: 450px x 350px", "id" => "inkthemes_slideimage1", "type" => "upload"); $options[] = array( "name" => "Slide 1 Heading", "desc" => "Enter the Heading for Slide1", "id" => "inkthemes_slideheading1", "std" => "", "type" => "text"); $options[] = array( "name" => "Slide 1 Description", "desc" => "Description for Slide1", "id" => "inkthemes_slidedescription1", "std" => "", "type" => "textarea"); $options[] = array( "name" => "Slide 1 Button Text", "desc" => "Enter the text for the button", "id" => "inkthemes_slidebuttontext1", "std" => "", "type" => "text"); $options[] = array( "name" => "Slide 1 Button Link", "desc" => "Enter the Link URL for button in Slide 1", "id" => "inkthemes_slidelink1", "std" => "", "type" => "text"); $options[] = array( "name" => "Slide 2 Image", "desc" => "Choose Image for your Slider. Optimal Size: 400px x 350px", "id" => "inkthemes_slideimage2", "type" => "upload"); $options[] = array( "name" => "Slide 2 Heading", "desc" => "Enter the Heading for Slide 2", "id" => "inkthemes_slideheading2", "std" => "", "type" => "text"); $options[] = array( "name" => "Slide 2 Description", "desc" => "Description for Slide 2", "id" => "inkthemes_slidedescription2", "std" => "", "type" => "textarea"); $options[] = array( "name" => "Slide 2 Button Text", "desc" => "Enter the text for the button", "id" => "inkthemes_slidebuttontext2", "std" => "", "type" => "text"); $options[] = array( "name" => "Slide 2 Button Link", "desc" => "Enter the Link URL for button in Slide 2", "id" => "inkthemes_slidelink2", "std" => "", "type" => "text"); $options[] = array( "name" => "Slide 3 Image", "desc" => "Choose Image for your Slider. Optimal Size: 400px x 350px", "id" => "inkthemes_slideimage3", "type" => "upload"); $options[] = array( "name" => "Slide 3 Heading", "desc" => "Enter the Heading for Slide3", "id" => "inkthemes_slideheading3", "std" => "", "type" => "text"); $options[] = array( "name" => "Slide 3 Description", "desc" => "Description for Slide3", "id" => "inkthemes_slidedescription3", "std" => "", "type" => "textarea"); $options[] = array( "name" => "Slide 3 Button Text", "desc" => "Enter the text for the button", "id" => "inkthemes_slidebuttontext3", "std" => "", "type" => "text"); $options[] = array( "name" => "Slide 3 Button Link", "desc" => "Enter the Link URL for button in Slide 3", "id" => "inkthemes_slidelink3", "std" => "", "type" => "text"); $options[] = array( "name" => "Slide 4 Image", "desc" => "Choose Image for your Slider. Optimal Size: 400px x 350px", "id" => "inkthemes_slideimage4", "type" => "upload"); $options[] = array( "name" => "Slide 4 Heading", "desc" => "Enter the Heading for Slide4", "id" => "inkthemes_slideheading4", "std" => "", "type" => "text"); $options[] = array( "name" => "Slide 4 Description", "desc" => "Description for Slide4", "id" => "inkthemes_slidedescription4", "std" => "", "type" => "textarea"); $options[] = array( "name" => "Slide 4 Button Text", "desc" => "Enter the text for the button", "id" => "inkthemes_slidebuttontext4", "std" => "", "type" => "text"); $options[] = array( "name" => "Slide 4 Button Link", "desc" => "Enter the Link URL for button in Slide 4", "id" => "inkthemes_slidelink4", "std" => "", "type" => "text"); $options[] = array( "name" => "Homepage Settings", "type" => "heading"); $options[] = array( "name" => "Main Heading", "desc" => "Enter the main heading", "id" => "inkthemes_mainheading", "std" => "", "type" => "text"); $options[] = array( "name" => "Subheading 1", "desc" => "Enter the title for subheading 1", "id" => "inkthemes_subheading1", "std" => "Our Products", "type" => "text"); $options[] = array( "name" => "Subheading 2", "desc" => "Enter the title for subheading 2", "id" => "inkthemes_subheading2", "std" => "Our Services", "type" => "text"); $options[] = array( "name" => "Subheading 3", "desc" => "Enter the title for subheading 3", "id" => "inkthemes_subheading3", "std" => "Our Clients", "type" => "text"); $options[] = array( "name" => "Subheading 4", "desc" => "Enter the title for subheading 4", "id" => "inkthemes_subheading4", "std" => "Client Needs", "type" => "text"); $options[] = array( "name" => "Subheading 1 Description", "desc" => "Description for Subheading 1", "id" => "inkthemes_subheadingdescription1", "std" => "Quisque in quam quis lacus placerat dapibus. Vestibulum dolor. Duis gravida, enim ut fermentum fermentum, dolor nunc ultrices turpis, eget vestibulum.", "type" => "textarea"); $options[] = array( "name" => "Subheading 2 Description", "desc" => "Description for Subheading 2", "id" => "inkthemes_subheadingdescription2", "std" => "Quisque in quam quis lacus placerat dapibus. Vestibulum dolor. Duis gravida, enim ut fermentum fermentum, dolor nunc ultrices turpis, eget vestibulum.", "type" => "textarea"); $options[] = array( "name" => "Subheading 3 Description", "desc" => "Description for Subheading 3", "id" => "inkthemes_subheadingdescription3", "std" => "Quisque in quam quis lacus placerat dapibus. Vestibulum dolor. Duis gravida, enim ut fermentum fermentum, dolor nunc ultrices turpis, eget vestibulum.", "type" => "textarea"); $options[] = array( "name" => "Subheading 4 Description", "desc" => "Description for Subheading 4", "id" => "inkthemes_subheadingdescription4", "std" => "Quisque in quam quis lacus placerat dapibus. Vestibulum dolor. Duis gravida, enim ut fermentum fermentum, dolor nunc ultrices turpis, eget vestibulum.", "type" => "textarea"); $options[] = array( "name" => "Subheading 1 Link", "desc" => "Enter the Read more Link URL for subheading 1", "id" => "inkthemes_subheadinglink1", "std" => "", "type" => "text"); $options[] = array( "name" => "Subheading 2 Link", "desc" => "Enter the Read more Link URL for subheading 2", "id" => "inkthemes_subheadinglink2", "std" => "", "type" => "text"); $options[] = array( "name" => "Subheading 3 Link", "desc" => "Enter the Read more Link URL for subheading 3", "id" => "inkthemes_subheadinglink3", "std" => "", "type" => "text"); $options[] = array( "name" => "Subheading 4 Link", "desc" => "Enter the Read more Link URL for subheading 4", "id" => "inkthemes_subheadinglink4", "std" => "", "type" => "text"); $options[] = array( "name" => "Content Image 1", "desc" => "Choose Content Image 1. Optimal Size: 180px x 130px", "id" => "inkthemes_contentimage1", "type" => "upload"); $options[] = array( "name" => "Content Image 2", "desc" => "Choose Content Image 2. Optimal Size: 180px x 130px", "id" => "inkthemes_contentimage2", "type" => "upload"); $options[] = array( "name" => "Content Image 3", "desc" => "Choose Content Image 3. Optimal Size: 180px x 130px", "id" => "inkthemes_contentimage3", "type" => "upload"); $options[] = array( "name" => "Content Image 4", "desc" => "Choose Content Image 4. Optimal Size: 180px x 130px", "id" => "inkthemes_contentimage4", "type" => "upload"); $options[] = array( "name" => "Content Image 1 Link", "desc" => "Enter the Link URL in Heading for Slide4", "id" => "inkthemes_contentimagelink1", "std" => "", "type" => "text"); $options[] = array( "name" => "Content Image 2 Link", "desc" => "Enter the Link URL in Heading for Slide4", "id" => "inkthemes_contentimagelink2", "std" => "", "type" => "text"); $options[] = array( "name" => "Content Image 3 Link", "desc" => "Choose Image for your Slider. Optimal Size: 180px x 130px", "id" => "inkthemes_contentimagelink3", "type" => "text"); $options[] = array( "name" => "Content Image 4 Link", "desc" => "Enter the Link URL in Heading for Slide4", "id" => "inkthemes_contentimagelink4", "std" => "", "type" => "text"); $options[] = array( "name" => "Tagline", "desc" => "Enter the main heading", "id" => "inkthemes_tagline", "std" => "", "type" => "text"); $options[] = array( "name" => "Tagline Button Text", "desc" => "Enter the main heading", "id" => "inkthemes_taglinebuttontext", "std" => "", "type" => "text"); $options[] = array( "name" => "Tagline Button Link", "desc" => "Enter the main heading", "id" => "inkthemes_taglinebuttonlink", "std" => "", "type" => "text"); $options[] = array( "name" => "Styling Options", "type" => "heading"); $options[] = array( "name" => "Theme Stylesheet", "desc" => "Select your themes alternative color scheme.", "id" => "inkthemes_altstylesheet", "std" => "green", "type" => "select", "options" => $alt_stylesheets); $options[] = array( "name" => "Custom CSS", "desc" => "Quickly add some CSS to your theme by adding it to this block.", "id" => "inkthemes_customcss", "std" => "", "type" => "textarea"); $options[] = array( "name" => "Footer Settings", "type" => "heading"); $options[] = array( "name" => "Delicious URL", "desc" => "Enter your Facebook URL if you have one", "id" => "inkthemes_delicious", "std" => "", "type" => "text"); $options[] = array( "name" => "LinkedIn URL", "desc" => "Enter your Twitter URL if you have one", "id" => "inkthemes_linkedin", "std" => "", "type" => "text"); $options[] = array( "name" => "Facebook URL", "desc" => "Enter your Facebook URL if you have one", "id" => "inkthemes_facebook", "std" => "", "type" => "text"); $options[] = array( "name" => "Twitter URL", "desc" => "Enter your Twitter URL if you have one", "id" => "inkthemes_twitter", "std" => "", "type" => "text"); $options[] = array( "name" => "RSS Feed URL", "desc" => "Enter your RSS Feed URL if you have one", "id" => "inkthemes_rss", "std" => "", "type" => "text"); return $options; }