"on","off" => "off"); // 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_stylesheet_directory_uri() . '/images/'; $options = array(); $options[] = array( "name" => "Homepage Settings", "type" => "heading"); $options[] = array( "name" => "Welcome heading", "desc" => "Heading for the homepage.", "id" => "welcome_head", "std" => "", "type" => "text"); $options[] = array( "name" => "Welcome text", "desc" => "Textarea description of homepage.", "id" => "welcome_text", "std" => "", "type" => "textarea"); $options[] = array( "name" => "Quote text", "desc" => "Textarea description of homepage quote.", "id" => "quote_text", "std" => "", "type" => "textarea"); $options[] = array( "name" => "Quote Author Name", "desc" => "Name of author text.", "id" => "author_text", "std" => "", "type" => "text"); $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 80px 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 80px 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 80px 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" => "Slider Settings", "type" => "heading"); $options[] = array( "name" => "Slider caption 1", "desc" => "Caption for the slider.", "id" => "slider_head1", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider image 1", "desc" => "970px x 350px exact. Upload your image for homepage slider.", "id" => "slider_image1", "type" => "upload"); $options[] = array( "name" => "Slider image link", "desc" => "Paste here the link of the page or post.", "id" => "slider_link1", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider caption 2", "desc" => "Caption for the slider.", "id" => "slider_head2", "std" => "", "type" => "text"); $options[] = array( "name" => "Slider image 2", "desc" => "970px x 350px exact. Upload your image for homepage slider.", "id" => "slider_image2", "type" => "upload"); $options[] = array( "name" => "Slider image link", "desc" => "Paste here the link of the page or post.", "id" => "slider_link2", "std" => "", "type" => "text"); $options[] = array( "name" => "Footer Settings", "type" => "heading"); $options[] = array( "name" => "Footer copyright text", "desc" => "Enter your company name here.", "id" => "footer_cr", "std" => "", "type" => "text"); return $options; }