"on","off" => "off"); // 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_stylesheet_directory_uri() . '/images/'; $options = array(); $options[] = array( "name" => "Homepage", "type" => "heading"); $options[] = array( "name" => "Homepage Box 1 heading", "desc" => "Heading for homepage box1.", "id" => "box_head1", "std" => "", "type" => "text"); $options[] = array( "name" => "Homepage Box 1 text", "desc" => "Textarea for homepage box1.", "id" => "box_text1", "std" => "", "type" => "textarea"); $options[] = array( "name" => "Homepage Box 1 thumbnail image", "desc" => "215px x 130px exact. Upload your image for homepage box 1.", "id" => "box_image1", "type" => "upload"); $options[] = array( "name" => "Homepage Box 1 link", "desc" => "Paste here the link of the page or post.", "id" => "box_link1", "std" => "", "type" => "text"); $options[] = array( "name" => "Homepage Box 2 heading", "desc" => "Heading for homepage box2.", "id" => "box_head2", "std" => "", "type" => "text"); $options[] = array( "name" => "Homepage Box 2 text", "desc" => "Textarea for homepage box2.", "id" => "box_text2", "std" => "", "type" => "textarea"); $options[] = array( "name" => "Homepage Box 2 thumbnail image", "desc" => "215px x 130px exact. Upload your image for homepage box 2.", "id" => "box_image2", "type" => "upload"); $options[] = array( "name" => "Homepage Box 2 link", "desc" => "Paste here the link of the page or post.", "id" => "box_link2", "std" => "", "type" => "text"); $options[] = array( "name" => "Homepage Box 3 heading", "desc" => "Heading for homepage box3.", "id" => "box_head3", "std" => "", "type" => "text"); $options[] = array( "name" => "Homepage Box 3 text", "desc" => "Textarea for homepage box3.", "id" => "box_text3", "std" => "", "type" => "textarea"); $options[] = array( "name" => "Homepage Box 3 thumbnail image", "desc" => "215px x 130px exact. Upload your image for homepage box 3.", "id" => "box_image3", "type" => "upload"); $options[] = array( "name" => "Homepage Box 3 link", "desc" => "Paste here the link of the page or post.", "id" => "box_link3", "std" => "", "type" => "text"); $options[] = array( "name" => "Homepage Box 4 heading", "desc" => "Heading for homepage box4.", "id" => "box_head4", "std" => "", "type" => "text"); $options[] = array( "name" => "Homepage Box 4 text", "desc" => "Textarea for homepage box4.", "id" => "box_text4", "std" => "", "type" => "textarea"); $options[] = array( "name" => "Homepage Box 4 thumbnail image", "desc" => "215px x 130px exact. Upload your image for homepage box 4.", "id" => "box_image4", "type" => "upload"); $options[] = array( "name" => "Homepage Box 4 link", "desc" => "Paste here the link of the page or post.", "id" => "box_link4", "std" => "", "type" => "text"); $options[] = array( "name" => "Color", "type" => "heading"); $options[] = array( "name" => "Theme Border Top Color", "desc" => "Default used if no color is selected.", "id" => "tb_color", "std" => "#fd7800", "type" => "color"); $options[] = array( "name" => "Homepage Button Color", "desc" => "Default used if no color is selected.", "id" => "hbut_color", "std" => "#fd7800", "type" => "color"); $options[] = array( "name" => "Homepage Button Hover Color", "desc" => "Default used if no color is selected.", "id" => "hbuthov_color", "std" => "#ce6200", "type" => "color"); $options[] = array( "name" => "Menu li Hover Color", "desc" => "Default used if no color is selected.", "id" => "mli_color", "std" => "#444444", "type" => "color"); $options[] = array( "name" => "Menu li ul li Hover Color", "desc" => "Default used if no color is selected.", "id" => "mliul_color", "std" => "#fd7800", "type" => "color"); $options[] = array( "name" => "Link Color", "desc" => "Default used if no color is selected.", "id" => "link_color", "std" => "#fd7800", "type" => "color"); $options[] = array( "name" => "Sidebar Widget li link Color", "desc" => "Default used if no color is selected.", "id" => "side_link_color", "std" => "#fd7800", "type" => "color"); $options[] = array( "name" => "Footer Widget li link Color", "desc" => "Default used if no color is selected.", "id" => "footer_link_color", "std" => "#fd7800", "type" => "color"); $options[] = array( "name" => "Blog Metadata link Color", "desc" => "Default used if no color is selected.", "id" => "bmeta_link_color", "std" => "#fd7800", "type" => "color"); $options[] = array( "name" => "Slider", "type" => "heading"); $options[] = array( "name" => "Slider Caption", "desc" => "Select option to display caption of slider.", "id" => "slider_caption", "std" => "on", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $slider_caption_array); $options[] = array( "name" => "Welcome headline 1", "desc" => "Hompage slider welcome headline content.", "id" => "welcome_head1", "std" => "", "type" => "text"); $options[] = array( "name" => "Welcome text 1", "desc" => "Hompage slider welcome text content.", "id" => "welcome_text1", "std" => "", "type" => "textarea"); $options[] = array( "name" => "Welcome Button text 1", "desc" => "Hompage slider welcome button text.", "id" => "welcome_button1", "std" => "", "type" => "text"); $options[] = array( "name" => "Welcome Button link 1", "desc" => "Hompage slider welcome button link.", "id" => "welcome_button_link1", "std" => "", "type" => "text"); $options[] = array( "name" => "Welcom Background image 1", "desc" => "229px x 243px minimum. Upload your image for Background Image.", "id" => "welcome_background_image1", "type" => "upload"); $options[] = array( "name" => "Welcome headline 2", "desc" => "Hompage slider welcome headline content.", "id" => "welcome_head2", "std" => "", "type" => "text"); $options[] = array( "name" => "Welcome text 2", "desc" => "Hompage slider welcome text content.", "id" => "welcome_text2", "std" => "", "type" => "textarea"); $options[] = array( "name" => "Welcome Button text 2", "desc" => "Hompage slider welcome button text.", "id" => "welcome_button2", "std" => "", "type" => "text"); $options[] = array( "name" => "Welcome Button link 2", "desc" => "Hompage slider welcome button link.", "id" => "welcome_button_link2", "std" => "", "type" => "text"); $options[] = array( "name" => "Welcom Background image 2", "desc" => "229px x 243px minimum. Upload your image for Background Image.", "id" => "welcome_background_image2", "type" => "upload"); $options[] = array( "name" => "Slider heading 1", "desc" => "Heading for the slider.", "id" => "slider_head1", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider image 1", "desc" => "477px x 235px minimum. Upload your image for homepage slider.", "id" => "slider_image1", "type" => "upload"); $options[] = array( "name" => "Slider image link 1", "desc" => "Paste here the link of the page or post.", "id" => "slider_link1", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider heading 2", "desc" => "Heading for the slider.", "id" => "slider_head2", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider image 2", "desc" => "477px x 235px minimum. Upload your image for homepage slider.", "id" => "slider_image2", "type" => "upload"); $options[] = array( "name" => "Slider image link 2", "desc" => "Paste here the link of the page or post.", "id" => "slider_link2", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider heading 3", "desc" => "Heading for the slider.", "id" => "slider_head3", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider image 3", "desc" => "477px x 235px minimum. Upload your image for homepage slider.", "id" => "slider_image3", "type" => "upload"); $options[] = array( "name" => "Slider image link 3", "desc" => "Paste here the link of the page or post.", "id" => "slider_link3", "std" => "", "type" => "text"); /* top slider */ $options[] = array( "name" => "Top Slider", "type" => "heading"); $options[] = array( "name" => "Slider heading 1", "desc" => "Heading for the slider.", "id" => "topslider_head1", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider image 1", "desc" => "1400px x 400px minimum. Upload your image for homepage slider.", "id" => "topslider_image1", "type" => "upload"); $options[] = array( "name" => "Slider image link 1", "desc" => "Paste here the link of the page or post.", "id" => "topslider_link1", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider heading 2", "desc" => "Heading for the slider.", "id" => "topslider_head2", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider image 2", "desc" => "1400px x 400px minimum. Upload your image for homepage slider.", "id" => "topslider_image2", "type" => "upload"); $options[] = array( "name" => "Slider image link 2", "desc" => "Paste here the link of the page or post.", "id" => "topslider_link2", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider heading 3", "desc" => "Heading for the slider.", "id" => "topslider_head3", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider image 3", "desc" => "1400px x 400px minimum. Upload your image for homepage slider.", "id" => "topslider_image3", "type" => "upload"); $options[] = array( "name" => "Slider image link 3", "desc" => "Paste here the link of the page or post.", "id" => "topslider_link3", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider heading 4", "desc" => "Heading for the slider.", "id" => "topslider_head4", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider image 4", "desc" => "1400px x 400px minimum. Upload your image for homepage slider.", "id" => "topslider_image4", "type" => "upload"); $options[] = array( "name" => "Slider image link 4", "desc" => "Paste here the link of the page or post.", "id" => "topslider_link4", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider heading 5", "desc" => "Heading for the slider.", "id" => "topslider_head5", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider image 5", "desc" => "1400px x 400px minimum. Upload your image for homepage slider.", "id" => "topslider_image5", "type" => "upload"); $options[] = array( "name" => "Slider image link 5", "desc" => "Paste here the link of the page or post.", "id" => "topslider_link5", "std" => "", "type" => "text"); /* top slider */ $options[] = array( "name" => "Footer", "type" => "heading"); $options[] = array( "name" => "Footer copyright text", "desc" => "Enter your company name here.", "id" => "footer_cr", "std" => "", "type" => "text"); $options[] = array( "name" => "Google Analytics Code", "desc" => "You can paste your Google Analytics or other tracking code in this box.", "id" => "go_code", "std" => "", "type" => "textarea"); $options[] = array( "name" => "Custom Style", "type" => "heading"); $options[] = array( "name" => "Custom CSS", "desc" => "Add css to modify the theme here instead of adding it to style.css file.", "id" => "custom_css", "std" => "", "type" => "textarea"); return $options; }