"On", "off" => "Off"); // Background Defaults $background_defaults = array('color' => '', 'image' => '', 'repeat' => 'repeat', 'position' => 'top center', 'attachment' => 'scroll'); $lan_stylesheets = array("Default" => "Default", "rtl" => "rtl"); // 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; } // Populate OptionsFramework option in array for use in theme $contact_option = array("on" => "On", "off" => "Off"); $captcha_option = array("on" => "On", "off" => "Off"); // 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() . '/images/'; $options = array( array("name" => __('General settings', 'theme-domain'), "type" => "heading"), array("name" => __('Custom Logo', 'theme-domain'), "desc" => __('Upload a logo for your Website.', 'theme-domain'), "id" => "revealpro_logo", "type" => "upload"), $options[] = array("name" => __('Custom Favicon', 'theme-domain'), "desc" => __('Here you can upload a Favicon for your Website. Specified size is 16px x 16px.', 'theme-domain'), "id" => "revealpro_favicon", "type" => "upload"), array("name" => __('Mobile Navigation Menu', 'theme-domain'), "desc" => __('Enter your mobile navigation menu text', 'theme-domain'), "id" => "revealpro_nav", "std" => "", "type" => "textarea"), array("name" => __('Front Page On/Off', 'theme-domain'), "desc" => __('If the front page option is active then home page will appear otherwise blog page will display.', 'theme-domain'), "id" => "re_nm", "std" => "on", "type" => "radio", "options" => $file_rename), //Home Page Slider Setting array("name" => __('Top Feature Settings', 'theme-domain'), "type" => "heading"), //Slider Speed Setting array("name" => __('Top Feature Image', 'theme-domain'), "desc" => __('The optimal size of the image is 1600px wide x 825px height, but it can be varied as per your requirement.', 'theme-domain'), "id" => "revealpro_slideimage1", "std" => "", "type" => "upload"), array("name" => __('Link for Top Feature Image', 'theme-domain'), "desc" => __('Mention the URL for first image.', 'theme-domain'), "id" => "revealpro_Sliderlink1", "std" => "", "type" => "text"), //Homepage Feature Area array("name" => __('Homepage Feature Area', 'theme-domain'), "type" => "heading"), array("name" => __('Home Page Blog Heading Text', 'theme-domain'), "desc" => __('Here you can mention a suitable blog text that will display the recent blog posts with images.', 'theme-domain'), "id" => "vathemes_blog_heading", "std" => "", "type" => "textarea"), array("name" => __('Home Page Blog Description Text', 'theme-domain'), "desc" => __('Here you can mention a suitable blog text that will display the recent blog posts with images.', 'theme-domain'), "id" => "vathemes_blog_desc", "std" => "", "type" => "textarea"), array("name" => __('First Feature Image', 'theme-domain'), "desc" => __('Choose image for your first Feature area. Optimal size 354px x 172px', 'theme-domain'), "id" => "revealpro_fimg1", "std" => "", "type" => "upload"), array("name" => __('First Feature Circle Image', 'theme-domain'), "desc" => __('Choose image for your first Feature Circle area. Optimal size 143px x 143px', 'theme-domain'), "id" => "revealpro_circle_img1", "std" => "", "type" => "upload"), array("name" => __('First Feature Heading', 'theme-domain'), "desc" => __('Enter your text for first feature heading.', 'theme-domain'), "id" => "revealpro_headline1", "std" => "", "type" => "textarea"), array("name" => __('First Feature Description', 'theme-domain'), "desc" => __('Enter your text for first feature description.', 'theme-domain'), "id" => "revealpro_firstdesc", "std" => "", "type" => "textarea"), array("name" => __('First feature Link', 'theme-domain'), "desc" => __('Enter your text for First feature Link.', 'theme-domain'), "id" => "revealpro_feature_link1", "std" => "", "type" => "text"), array("name" => __('Second Feature Starts From Here.', 'theme-domain'), "type" => "saperate", "class" => "saperator"), //Second Feature Separetor array("name" => __('Second Feature Image', 'theme-domain'), "desc" => __('Choose image for your second Feature area. Optimal size 354px x 172px', 'theme-domain'), "id" => "revealpro_fimg2", "std" => "", "type" => "upload"), array("name" => __('Second Feature Circle Image', 'theme-domain'), "desc" => __('Choose image for your Second Feature Circle area. Optimal size 143px x 143px', 'theme-domain'), "id" => "revealpro_circle_img2", "std" => "", "type" => "upload"), array("name" => __('Second Feature Heading', 'theme-domain'), "desc" => __('Enter your heading for second Feature area', 'theme-domain'), "id" => "revealpro_headline2", "std" => "", "type" => "textarea"), array("name" => __('Second feature Description', 'theme-domain'), "desc" => __('Enter your text for second feature description.', 'theme-domain'), "id" => "revealpro_seconddesc", "std" => "", "type" => "textarea"), array("name" => __('Second feature Link', 'theme-domain'), "desc" => __('Enter your text for Second feature Link.', 'theme-domain'), "id" => "revealpro_feature_link2", "std" => "", "type" => "text"), array("name" => __('Third Feature Starts From Here.', 'theme-domain'), "type" => "saperate", "class" => "saperator"), //Third Feature Separetor array("name" => __('Third Feature Image', 'theme-domain'), "desc" => __('Choose image for your thirdthirdthird Feature. Optimal size 354px x 172px', 'theme-domain'), "id" => "revealpro_fimg3", "std" => "", "type" => "upload"), array("name" => __('Third Feature Circle Image', 'theme-domain'), "desc" => __('Choose image for your Third Feature Circle area. Optimal size 143px x 143px', 'theme-domain'), "id" => "revealpro_circle_img3", "std" => "", "type" => "upload"), array("name" => __('Third Feature Heading', 'theme-domain'), "desc" => __('Enter your heading for third Feature area', 'theme-domain'), "id" => "revealpro_headline3", "std" => "", "type" => "textarea"), array("name" => __('Third Feature Description', 'theme-domain'), "desc" => __('Enter your text for Third Feature description.', 'theme-domain'), "id" => "revealpro_thirddesc", "std" => "", "type" => "textarea"), array("name" => __('Third feature Link', 'theme-domain'), "desc" => __('Enter your text for Third feature Link.', 'theme-domain'), "id" => "revealpro_feature_link3", "std" => "", "type" => "text"), //****=============================================================================****// //****-----------This code is used for creating color styleshteet options----------****// //****=============================================================================****// array("name" => __('Styling Options', 'theme-domain'), "type" => "heading"), array("name" => __('Custom CSS', 'theme-domain'), "desc" => __('Quickly add your custom CSS code to your theme by writing the code in this block.', 'theme-domain'), "id" => "revealpro_customcss", "std" => "", "type" => "textarea"), //****=============================================================================****// //****-------------This code is used for creating social logos options-------------****// //****=============================================================================****// array("name" => __('Social Icons', 'theme-domain'), "type" => "heading"), array("name" => __('Twitter URL', 'theme-domain'), "desc" => __('Mention the URL of your Twitter here.', 'theme-domain'), "id" => "revealpro_twitter", "std" => "", "type" => "text"), array("name" => __('Facebook URL', 'theme-domain'), "desc" => __('Mention the URL of your Facebook here.', 'theme-domain'), "id" => "revealpro_facebook", "std" => "", "type" => "text"), array("name" => __('Rss Feed URL', 'theme-domain'), "desc" => __('Mention the URL of your Rss Feed here.', 'theme-domain'), "id" => "revealpro_rss", "std" => "", "type" => "text"), array("name" => __('Footer Settings', 'theme-domain'), "type" => "heading"), array("name" => __('Footer Contact Details', 'theme-domain'), "desc" => __('Mention the contact details here which will be displayed on the top right corner of Footer Section.', 'theme-domain'), "id" => "revealpro_topright", "std" => "", "type" => "textarea") ); revealpro_update_option('of_template', $options); revealpro_update_option('of_themename', $themename); revealpro_update_option('of_shortname', $shortname); } } ?>