"On", "off" => "Off"); // Background Defaults $background_defaults = array('color' => '', 'image' => '', 'repeat' => 'repeat', 'position' => 'top center', 'attachment' => 'scroll'); //Stylesheet Reader $alt_stylesheets = array("green" => "green", "black" => "black", "blue" => "blue", "grass" => "grass", "orange" => "orange", "purple" => "purple", "red" => "red", "yellow" => "yellow"); // 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( /* ---------------------------------------------------------------------------- */ /* General Setting */ /* ---------------------------------------------------------------------------- */ array("name" => "General Settings", "type" => "heading"), array("name" => "Custom Logo", "desc" => "Choose your own logo. Optimal Size: 221px Wide by 84px Height.", "id" => "inkthemes_logo", "type" => "upload"), array("name" => "Custom Favicon", "desc" => "Specify a 16px x 16px image that will represent your website's favicon.", "id" => "inkthemes_favicon", "type" => "upload"), array("name" => "Tracking Code", "desc" => "Paste your Google Analytics (or other) tracking code here.", "id" => "inkthemes_analytics", "std" => "", "type" => "textarea"), /* ---------------------------------------------------------------------------- */ /* Homepage Feature Area */ /* ---------------------------------------------------------------------------- */ array("name" => "Homepage Settings", "type" => "heading"), //Homepage Main Heading array("name" => "Top Feature Image", "desc" => "Choose your image for first slider. Optimal size is 950px wide and 460px height.", "id" => "inkthemes_slideimage1", "std" => "", "type" => "upload"), array("name" => "Top Feature Heading", "desc" => "Enter your text heading for top feature.", "id" => "inkthemes_slider_heading1", "std" => "", "type" => "textarea"), array("name" => "Top Feature Description", "desc" => "Enter your text description for top feature.", "id" => "inkthemes_slider_des1", "std" => "", "type" => "textarea"), array("name" => "Main Heading", "type" => "saperate", "class" => "saperator"), array("name" => "Homepage Main Heading", "desc" => "Enter your text heading for homepage main heading", "id" => "inkthemes_main_head", "std" => "", "type" => "textarea"), //Feature Section array("name" => "Feature Area", "type" => "saperate", "class" => "saperator"), //First Feature Image array("name" => "First Feature Image", "desc" => "Choose your image for first feature section. Optimal size is 202px x 134px.", "id" => "inkthemes_feature_img1", "std" => "", "type" => "upload"), //Second Feature Image array("name" => "Second Feature Image", "desc" => "Choose your image for second feature section. Optimal size is 202px x 134px.", "id" => "inkthemes_feature_img2", "std" => "", "type" => "upload"), //Third Feature Image array("name" => "Third Feature Image", "desc" => "Choose your image for third feature section. Optimal size is 202px x 134px.", "id" => "inkthemes_feature_img3", "std" => "", "type" => "upload"), //Fourth Feature Image array("name" => "Fourth Feature Image", "desc" => "Choose your image for fourth feature section. Optimal size is 202px x 134px.", "id" => "inkthemes_feature_img4", "std" => "", "type" => "upload"), array("name" => "Feature Descriptions", "type" => "saperate", "class" => "saperator"), //First Feature Section array("name" => "First Feature Heading", "desc" => "Enter your text heading for first feature section.", "id" => "inkthemes_f_head1", "std" => "", "type" => "textarea"), array("name" => "First Feature Description", "desc" => "Enter your text description for first feature section.", "id" => "inkthemes_f_des1", "std" => "", "type" => "textarea"), array("name" => "First Feature Link URL", "desc" => "Enter your link url for first feature section.", "id" => "inkthemes_link1", "std" => "", "type" => "text"), //Second Feature Section array("name" => "Second Feature Heading", "desc" => "Enter your text heading for second feature section.", "id" => "inkthemes_f_head2", "std" => "", "type" => "textarea"), array("name" => "Second Feature Description", "desc" => "Enter your text description for second feature section.", "id" => "inkthemes_f_des2", "std" => "", "type" => "textarea"), array("name" => "Second Feature Link URL", "desc" => "Enter your link url for second feature section.", "id" => "inkthemes_link2", "std" => "", "type" => "text"), //Thrid Feature Section array("name" => "Third Feature Heading", "desc" => "Enter your text heading for third feature section.", "id" => "inkthemes_f_head3", "std" => "", "type" => "textarea"), array("name" => "Third Feature Description", "desc" => "Enter your text description for third feature section.", "id" => "inkthemes_f_des3", "std" => "", "type" => "textarea"), array("name" => "Third Feature Link URL", "desc" => "Enter your link url for third feature section.", "id" => "inkthemes_link3", "std" => "", "type" => "text"), //Fourth Feature Section array("name" => "Fourth Feature Heading", "desc" => "Enter your text heading for fourth feature section.", "id" => "inkthemes_f_head4", "std" => "", "type" => "textarea"), array("name" => "Fourth Feature Description", "desc" => "Enter your text description for fourth feature section.", "id" => "inkthemes_f_des4", "std" => "", "type" => "textarea"), array("name" => "Fourth Feature Link URL", "desc" => "Enter your link url for fourth feature section.", "id" => "inkthemes_link4", "std" => "", "type" => "text"), //Homepage two cols array("name" => "Homepage Two Cols", "type" => "saperate", "class" => "saperator"), //Left Column heading array("name" => "Left Column Heading", "desc" => "Enter your text heading for left column heading.", "id" => "inkthemes_left_head", "std" => "", "type" => "textarea"), //Right Column heading array("name" => "Right Column Heading", "desc" => "Enter your text heading for right column heading.", "id" => "inkthemes_right_head", "std" => "", "type" => "textarea"), //Right Column description array("name" => "Right Column Description", "desc" => "Enter your text description for right section. You can put your html code in this section", "id" => "inkthemes_right_des", "std" => "", "type" => "textarea"), //Contact Area array("name" => "Contact Area", "type" => "saperate", "class" => "saperator"), array("name" => "Contact Number", "desc" => "Enter your contact number.", "id" => "inkthemes_contact_no", "std" => "", "type" => "text"), array("name" => "Email Address", "desc" => "Enter your email address.", "id" => "inkthemes_email_add", "std" => "", "type" => "text"), array("name" => "Date", "desc" => "Enter your date.", "id" => "inkthemes_date", "std" => "", "type" => "text"), /* ---------------------------------------------------------------------------- */ /* Styling Setting */ /* ---------------------------------------------------------------------------- */ array("name" => "Styling Options", "type" => "heading"), array("name" => "Custom CSS", "desc" => "Quickly add some CSS to your theme by adding it to this block.", "id" => "inkthemes_customcss", "std" => "", "type" => "textarea")); inkthemes_update_option('of_template', $options); inkthemes_update_option('of_themename', $themename); inkthemes_update_option('of_shortname', $shortname); } } ?>