"On", "off" => "Off"); $home_page_blog_content = array("on" => "On", "off" => "Off"); // Background Defaults $background_defaults = array('color' => '', 'image' => '', 'repeat' => 'repeat', 'position' => 'top center', 'attachment' => 'scroll'); //Stylesheet Reader // 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", "type" => "heading"), array("name" => "Custom Logo", "desc" => "Upload a logo for your Website. The recommended size for the logo is 250px width x 50px height.", "id" => "businessgrow_logo", "type" => "upload"), array("name" => "Custom Favicon", "desc" => "Here you can upload a Favicon for your Website. Specified size is 16px x 16px.", "id" => "businessgrow_favicon", "type" => "upload"), array("name" => "Contact Number", "desc" => "Mention your contact number here through which users can interact to you directly.", "id" => "businessgrow_contact_number", "std" => "", "type" => "text"), array("name" => "Mobile Navigation Menu", "desc" => "Enter your mobile navigation menu text", "id" => "businessgrow_nav", "std" => "", "type" => "textarea"), array("name" => "Tracking Code", "desc" => "Paste your Google Analytics (or other) tracking code here.", "id" => "businessgrow_analytics", "std" => "", "type" => "textarea"), array("name" => "Front Page On/Off", "desc" => "If the front page option is active then home page will appear otherwise blog page will display.", "id" => "re_nm", "std" => "on", "type" => "radio", "options" => $file_rename), array("name" => "Optional Menu on Home Page", "type" => "saperate", "class" => "saperator"), array("name" => "Optional Menu Title", "desc" => "Here you can create a page menu that will display in menu section on your featured homepage besides the default featured home page menu. It is optional.", "id" => "businessgrow_opt_menu_heading", "std" => "", "type" => "text"), array("name" => "Optional Menu Link", "desc" => "Here you can mention a URL for the optional menu that will redirect the users to the a particular page.", "id" => "businessgrow_opt_menu_link", "std" => "", "type" => "text"), //Home Page Slider Setting array("name" => "Homepage Top Feature Area", "type" => "heading"), //First Slider array("name" => "Homepage Fulwidth Featured Image", "type" => "saperate", "class" => "saperator"), array("name" => "Featured Image", "desc" => "The optimal size of the image is 1920 px wide x 654 px height, but it can be varied as per your requirement.", "id" => "businessgrow_slideimage1", "std" => "", "type" => "upload"), array("name" => "Featured Image", "desc" => "Mention the heading for the featured image.", "id" => "businessgrow_sliderheading1", "std" => "", "type" => "textarea"), array("name" => "Link for Featured Image", "desc" => "Mention the URL for featured image.", "id" => "businessgrow_Sliderlink1", "std" => "", "type" => "text"), array("name" => "Featured Image Description", "desc" => "Here mention a short description for the featured image heading.", "id" => "businessgrow_sliderdes1", "std" => "", "type" => "textarea"), //****=============================================================================****// //Homepage Feature Area Section1 array("name" => "Homepage Feature Area", "type" => "heading"), array("name" => "Featured Heading", "desc" => "Mention the punch line for your business here.", "id" => "businessgrow_page_main_heading", "std" => "", "type" => "textarea"), array("name" => "Featured Sub Heading", "desc" => "Mention the tagline for your business here that will complement the punch line.", "id" => "businessgrow_page_sub_heading", "std" => "", "type" => "textarea"), //****=============================================================================****// //Home Page Our Services Section 2 array("name" => "Homepage Services Section", "type" => "heading"), array("name" => "Heading", "desc" => "Here you can mention a suitable heading for your services. It will also appear on the home page menu.", "id" => "businessgrow_our_services_heading", "std" => "", "type" => "text"), // Services block 1 array("name" => "First block", "type" => "saperate", "class" => "saperator"), array("name" => "First Image", "desc" => "The optimal size of the image is 264 px wide x 264 px height, but it can be varied as per your requirement.", "id" => "businessgrow_our_services_image1", "std" => "", "type" => "upload"), array("name" => "Title 1", "desc" => "Here you can mention a suitable title that will display the title in services section.", "id" => "businessgrow_our_services_title1", "std" => "", "type" => "text"), array("name" => "Link for Title 1", "desc" => "Mention the URL for Title 1", "id" => "businessgrow_services_title_link1", "std" => "", "type" => "text"), array("name" => "Description 1", "desc" => "Here you can mention a suitable title that will display the small description in services section.", "id" => "businessgrow_our_services_desc1", "std" => "", "type" => "textarea"), // Services block 2 array("name" => "Second Block", "type" => "saperate", "class" => "saperator"), array("name" => "Second Image", "desc" => "The optimal size of the image is 264 px wide x 264 px height, but it can be varied as per your requirement.", "id" => "businessgrow_our_services_image2", "std" => "", "type" => "upload"), array("name" => "Title 2", "desc" => "Here you can mention a suitable title that will display the title in services section.", "id" => "businessgrow_our_services_title2", "std" => "", "type" => "text"), array("name" => "Link for Title 2", "desc" => "Mention the URL for Title2", "id" => "businessgrow_services_title_link2", "std" => "", "type" => "text"), array("name" => "Description 2", "desc" => "Here you can mention a suitable title that will display the small description in services section.", "id" => "businessgrow_our_services_desc2", "std" => "", "type" => "textarea"), // Services block 3 array("name" => "Third block", "type" => "saperate", "class" => "saperator"), array("name" => "Third Image", "desc" => "The optimal size of the image is 264 px wide x 264 px height, but it can be varied as per your requirement.", "id" => "businessgrow_our_services_image3", "std" => "", "type" => "upload"), array("name" => "Title 3", "desc" => "Here you can mention a suitable title that will display the title in services section.", "id" => "businessgrow_our_services_title3", "std" => "", "type" => "text"), array("name" => "Link for Title 3", "desc" => "Mention the URL for Title 3", "id" => "businessgrow_services_title_link3", "std" => "", "type" => "text"), array("name" => "Description 3", "desc" => "Here you can mention a suitable title that will display the small description in services section.", "id" => "businessgrow_our_services_desc3", "std" => "", "type" => "textarea"), // Services block 4 $options[] = array("name" => "Fourth block", "type" => "saperate", "class" => "saperator"), array("name" => "Fourth Image", "desc" => "The optimal size of the image is 264 px wide x 264 px height, but it can be varied as per your requirement.", "id" => "businessgrow_our_services_image4", "std" => "", "type" => "upload"), array("name" => "Title 4", "desc" => "Here you can mention a suitable title that will display the title in services section.", "id" => "businessgrow_our_services_title4", "std" => "", "type" => "text"), array("name" => "Link for Title 4", "desc" => "Mention the URL for Title 4", "id" => "businessgrow_services_title_link4", "std" => "", "type" => "text"), array("name" => "Description 4", "desc" => "Here you can mention a suitable title that will display the small description in services section.", "id" => "businessgrow_our_services_desc4", "std" => "", "type" => "textarea"), //****=============================================================================****// //Home Page Blog Section 3 array("name" => "Homepage Recent Blogs Section", "type" => "heading"), // blog block 1 array("name" => "Blog Heading", "desc" => "Here you can mention a suitable heading that will display as blog heading on home page. Also display on the menu.", "id" => "businessgrow_recent_blog_heading", "std" => "", "type" => "text"), array("name" => "To show your recent posts on home page you need to insert the feature image of the blog while publishing it.", "desc" => "", "id" => "", "std" => "", "type" => ""), //****=============================================================================****// //****=============================================================================****// //Home Page Contact Section 5 array("name" => "Contact Section", "type" => "heading"), // contact block 0 array("name" => "Contact Heading", "desc" => "Here you can mention a suitable heading that will display as your contact title on home page. Also display on the menu.", "id" => "businessgrow_our_contact_heading", "std" => "", "type" => "text"), array("name" => "Contact Iframe Heading", "desc" => "Here you can mention a suitable heading of your inbuilt contact form that will display on home page.", "id" => "businessgrow_our_contact_input_iframe_heading", "std" => "", "type" => "text"), array("name" => "Contact Iframe Code", "desc" => "Paste the embed code of your contact form here to show it on your website. Create your own form at formget.com/app", "id" => "businessgrow_contact_iframe_code", "std" => "", "type" => "textarea"), // contact block 1 array("name" => "Contact Sub Heading", "desc" => "Here you can mention a suitable heading that will display as contact heading on the right side of home page under contact section.", "id" => "businessgrow_our_contact_sub_heading", "std" => "", "type" => "text"), array("name" => "Business Address", "desc" => "Here you can put your business address that will display on home page of your website.", "id" => "businessgrow_contact_address", "std" => "", "type" => "text"), array("name" => "Contact Number", "desc" => "Here you can mention your contact number that will appear on home page.", "id" => "businessgrow_contact_phone_no", "std" => "", "type" => "text"), array("name" => "Contact Email", "desc" => "Here you can mention your email id that will appear on home page.", "id" => "businessgrow_ontact_email", "std" => "", "type" => "text"), array("name" => " Your Website", "desc" => "Here you can mention your website name that will appear on home page.", "id" => "businessgrow_contact_website", "std" => "", "type" => "text"), // contact block 2 array("name" => "Location Map", "type" => "saperate", "class" => "saperator"), array("name" => "Location Map Heading", "desc" => "Here you can mention a suitable heading for your location map that will appear on home page under contact section.", "id" => "businessgrow_contact_location_map_heading", "std" => "", "type" => "text"), array("name" => "Map Iframe Code", "desc" => "Go to https://maps.google.com/ and generate the map for your location. Just copy only the iframe code i.e. code within <iframe> and </iframe> and paste it here. This will show the map location of your business on the Website.", "id" => "businessgrow_contact_map", "std" => "", "type" => "textarea"), //****=============================================================================****// //****=========Optional Menu Frontpage ============================================****// //****=============================================================================****// //****=============================================================================****// //****-------------This code is used for creating social logos options-------------****// //****=============================================================================****// array("name" => "Social Icons", "type" => "heading"), array("name" => "Facebook URL", "desc" => "Mention the URL of your Facebook here.", "id" => "businessgrow_facebook", "std" => "", "type" => "text"), array("name" => "Twitter URL", "desc" => "Mention the URL of your Twitter here.", "id" => "businessgrow_twitter", "std" => "", "type" => "text"), array("name" => "Google+ URL", "desc" => "Mention the URL of your Google+ here.", "id" => "businessgrow_google", "std" => "", "type" => "text"), array("name" => "Rss Feed URL", "desc" => "Mention the URL of your Rss Feed here.", "id" => "businessgrow_rss", "std" => "", "type" => "text"), array("name" => "Pinterest URL", "desc" => "Mention the URL of your Pinterest here.", "id" => "businessgrow_pinterest", "std" => "", "type" => "text"), array("name" => "YouTube URL", "desc" => "Mention the URL of your YouTube here.", "id" => "businessgrow_youtube", "std" => "", "type" => "text")); businessgrow_update_option('of_template', $options); businessgrow_update_option('of_themename', $themename); businessgrow_update_option('of_shortname', $shortname); } } ?>