"1","two" => "2","three" => "3","four" => "4","five" => "5"); $homelayout_array = array("one" => "Mag Pro","two" => "Mag lite","three" => "Mag","four" => "Standard Blog"); $magpro_slider_start = array("false" => "No","true" => "Yes"); $magpro_mini_slider_show = array("false" => "No","true" => "Yes"); $homecat_array = array("hori" => "Horizontal Layout","verti" => "Vertical Layout"); // 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_template_directory_uri(). '/admin/images/'; $options = array(); $options[] = array( "name" => "country1", "type" => "innertabopen"); $options[] = array( "name" => __("Select a Skin", 'alexandria' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Select a Skin", 'alexandria' ), "desc" => __("Images for skins.", 'alexandria' ), "id" => "skin_style", "type" => "images", "options" => array( 'alexandria' => $imagepath . 'alexandria.png', 'radi' => $imagepath . 'radi.png') ); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Single Page Settings", 'alexandria' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Featured Image?", 'alexandria' ), "desc" => __("Select yes if you want to show featured image as header.", 'alexandria' ), "id" => "show_featured_image_single", "std" => "false", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Ratings?", 'alexandria' ), "desc" => __("Select yes if you want to show ratings under post title.", 'alexandria' ), "id" => "show_rat_on_single", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Posted by and Date?", 'alexandria' ), "desc" => __("Select yes if you want to show Posted by and Date under post title.", 'alexandria' ), "id" => "show_pd_on_single", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Categories and Tags?", 'alexandria' ), "desc" => __("Select yes if you want to show categories under post title.", 'alexandria' ), "id" => "show_cats_on_single", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Social Share Buttons?", 'alexandria' ), "desc" => __("Select yes if you want to show social buttons under post title.", 'alexandria' ), "id" => "show_socialbuts_on_single", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Next/Previous Box", 'alexandria' ), "desc" => __("Select yes if you want to show Next/Previous box on single post page.", 'alexandria' ), "id" => "show_np_box", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country2", "type" => "innertabopen"); $options[] = array( "name" => __("Social Settings", 'alexandria' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Twitter", 'alexandria' ), "desc" => __("Enter your twitter id", 'alexandria' ), "id" => "twitter_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("Redditt", 'alexandria' ), "desc" => __("Enter your reddit url", 'alexandria' ), "id" => "redit_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("Facebook", 'alexandria' ), "desc" => __("Enter your facebook url", 'alexandria' ), "id" => "facebook_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("Stumble", 'alexandria' ), "desc" => __("Enter your stumbleupon url", 'alexandria' ), "id" => "stumble_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("Flickr", 'alexandria' ), "desc" => __("Enter your flickr url", 'alexandria' ), "id" => "flickr_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("LinkedIn", 'alexandria' ), "desc" => __("Enter your linkedin url", 'alexandria' ), "id" => "linkedin_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("Google", 'alexandria' ), "desc" => __("Enter your google url", 'alexandria' ), "id" => "google_id", "std" => "", "type" => "text"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country10", "type" => "innertabopen"); $options[] = array( "name" => __("Logo Section Layout Settings", 'alexandria' ), "type" => "tabheading"); $options[] = array( "name" => __("Logo Section Layout", 'alexandria' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Select a layout", 'alexandria' ), "desc" => __("Images for logo section.", 'alexandria' ), "id" => "logo_layout_style", "type" => "images", "options" => array( 'sbys' => $imagepath . 'logo1.png', 'onebone' => $imagepath . 'logo2.png') ); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country3", "type" => "innertabopen"); $options[] = array( "name" => __("Select Header Type", 'alexandria' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Select a Header or Slider", 'alexandria' ), "desc" => __("Images for slider.", 'alexandria' ), "id" => "header_slider", "std" => "one", "type" => "images", "options" => array( 'one' => $imagepath . 'slider1.png', 'cheader' => $imagepath . 'slider2.png') ); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country6", "type" => "innertabopen"); $options[] = array( "name" => __("Header One Settings", 'alexandria' ), "type" => "tabheading"); $options[] = array( "name" => __("Welcome Section", 'alexandria' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Upload Image", 'alexandria' ), "desc" => __("Upload your image here.", 'alexandria' ), "id" => "slider_one_image", "type" => "upload"); $options[] = array( "name" => __("Headline", 'alexandria' ), "desc" => __("Enter the headline", 'alexandria' ), "id" => "slider_one_headline", "type" => "textarea"); $options[] = array( "name" => __("Feature text", 'alexandria' ), "desc" => __("Enter the feature text", 'alexandria' ), "id" => "slider_one_text", "type" => "textarea"); $options[] = array( "name" => __("Call To Action text", 'alexandria' ), "desc" => __("Enter the text", 'alexandria' ), "id" => "slider_one_cta", "type" => "text"); $options[] = array( "name" => __("Call To Action Link", 'alexandria' ), "desc" => __("Enter the full url", 'alexandria' ), "id" => "slider_one_cta_link", "type" => "text"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country4", "type" => "innertabopen"); $options[] = array( "name" => __("Layout Settings", 'alexandria' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Select a homepage layout", 'alexandria' ), "desc" => __("Images for layout.", 'alexandria' ), "id" => "homepage_layout", "std" => "bone", "type" => "images", "options" => array( 'bone' => $imagepath . 'layout1.png', 'standard' => $imagepath . 'layout2.png') ); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country5", "type" => "innertabopen"); $options[] = array( "name" => __("Biz One Settings", 'alexandria' ), "type" => "tabheading"); $options[] = array( "name" => __("Welcome Section", 'alexandria' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Headline", 'alexandria' ), "desc" => __("Enter the headline", 'alexandria' ), "id" => "welcome_headline", "type" => "textarea"); $options[] = array( "name" => __("Welcome text", 'alexandria' ), "desc" => __("Enter the welcome text", 'alexandria' ), "id" => "welcome_text", "type" => "textarea"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Left Section", 'alexandria' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Upload Image", 'alexandria' ), "desc" => __("Upload your image here.", 'alexandria' ), "id" => "left_section_image", "type" => "upload"); $options[] = array( "name" => __("Headline", 'alexandria' ), "desc" => __("Enter the headline", 'alexandria' ), "id" => "left_section_headline", "type" => "textarea"); $options[] = array( "name" => __("Welcome text", 'alexandria' ), "desc" => __("Enter the welcome text", 'alexandria' ), "id" => "left_section_text", "type" => "textarea"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Center Section", 'alexandria' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Upload Image", 'alexandria' ), "desc" => __("Upload your image here.", 'alexandria' ), "id" => "center_section_image", "type" => "upload"); $options[] = array( "name" => __("Headline", 'alexandria' ), "desc" => __("Enter the headline", 'alexandria' ), "id" => "center_section_headline", "type" => "textarea"); $options[] = array( "name" => __("Welcome text", 'alexandria' ), "desc" => __("Enter the welcome text", 'alexandria' ), "id" => "center_section_text", "type" => "textarea"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Right Section", 'alexandria' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Upload Image", 'alexandria' ), "desc" => __("Upload your image here.", 'alexandria' ), "id" => "right_section_image", "type" => "upload"); $options[] = array( "name" => __("Headline", 'alexandria' ), "desc" => __("Enter the headline", 'alexandria' ), "id" => "right_section_headline", "type" => "textarea"); $options[] = array( "name" => __("Welcome text", 'alexandria' ), "desc" => __("Enter the welcome text", 'alexandria' ), "id" => "right_section_text", "type" => "textarea"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Quote Section", 'alexandria' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Quote", 'alexandria' ), "desc" => __("Enter the Text", 'alexandria' ), "id" => "quote_section_text", "type" => "textarea"); $options[] = array( "name" => __("Welcome text", 'alexandria' ), "desc" => __("Enter the welcome text", 'alexandria' ), "id" => "quote_section_name", "type" => "text"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country9", "type" => "innertabopen"); $options[] = array( "name" => __("Standard Blog Settings", 'alexandria' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Ratings?", 'alexandria' ), "desc" => __("Select yes if you want to show ratings", 'alexandria' ), "id" => "show_ratings_standard", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Categories/Tags?", 'alexandria' ), "desc" => __("Select yes if you want to show categories and tags in posts", 'alexandria' ), "id" => "show_ctags_standard", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country11", "type" => "innertabopen"); $options[] = array( "name" => __("Footer Settings", 'alexandria' ), "type" => "tabheading"); $options[] = array( "name" => __("Select a footer layout", 'alexandria' ), "desc" => __("Images for layout.", 'alexandria' ), "id" => "footer_layout", "std" => "one", "type" => "images", "options" => array( 'one' => $imagepath . 'footer1.png', 'two' => $imagepath . 'footer2.png') ); $options[] = array( "type" => "innertabclose"); return $options; }