'', '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 tags into an array $options_tags = array(); $options_tags_obj = get_tags(); foreach ( $options_tags_obj as $tag ) { $options_tags[$tag->term_id] = $tag->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; } // set pages $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/'; $twitterInfo = 'http://www.sketchthemes.com/tutorials/getting-new-twitter-api-consumer-and-secret-keys/'; $options = array(); //General Settings $options[] = array( 'name' => __('General Settings', 'advertica-lite'), 'type' => 'heading'); $options[] = array( 'name' => __('Choose Theme Color', 'advertica-lite'), 'desc' => __('', 'advertica-lite'), 'id' => $advertica_shortname.'_colorpicker', 'std' => '#FFA500', 'type' => 'color' ); $options[] = array( 'name' => __('Change Logo (full path to logo image size: width * height (156px * 40px) )', 'advertica-lite'), 'desc' => __('This creates a custom logo for your website.', 'advertica-lite'), 'id' => $advertica_shortname.'_logo_img', 'std' => '', 'type' => 'upload'); $options[] = array( 'name' => __('Logo ALT Text', 'advertica-lite'), 'desc' => __('Enter logo image alt attribute text.', 'advertica-lite'), 'id' => $advertica_shortname.'_logo_alt', 'std' => 'sketch themes', 'type' => 'text'); $options[] = array( 'name' => __('Upload Favicon', 'advertica-lite'), 'desc' => __('This creates a custom favicon for your website.', 'advertica-lite'), 'id' => $advertica_shortname.'_favicon', 'std' => '', 'type' => 'upload'); //Bg style $options[] = array( 'name' => __('Custom Background', 'advertica-lite'), 'desc' => __('Change the page background.', 'advertica-lite'), 'id' => $advertica_shortname.'_bg_style', 'std' => $background_style, 'type' => 'background' ); //Blog $options[] = array( 'name' => __('Blog Page Settings', 'advertica-lite'), 'type' => 'heading'); //Blog page Title $options[] = array( 'name' => __('Enter Blog Page Title', 'advertica-lite'), 'desc' => __('Enter blog page title text.', 'advertica-lite'), 'id' => $advertica_shortname.'_blogpage_heading', 'std' => 'Blog', 'type' => 'text'); //Home Page Featured Box Options $options[] = array( 'name' => __('Home Featured Section', 'advertica-lite'), 'type' => 'heading'); $options[] = array( 'name' => __('Home page Image:', 'invert'), 'desc' => __('Choose image for home page. Size: Width 1600px and Height 500px.', 'invert'), 'id' => $advertica_shortname.'_frontslider_stype', 'std' => $imagepath.'advertica-header.png', 'type' => 'upload'); //Featured Box 1 $options[] = array( 'name' => __('First Featured Box Heading', 'advertica-lite'), 'desc' => __('Enter heading for first featured box.', 'advertica-lite'), 'id' => $advertica_shortname.'_fb1_first_part_heading', 'std' => 'Business Strategy', 'type' => 'text'); $options[] = array( 'name' => __('First Featured Box Image Path (size: width * height (150px * 150px) )', 'advertica-lite'), 'desc' => __('Upload image for first featured box.', 'advertica-lite'), 'id' => $advertica_shortname.'_fb1_first_part_image', 'std' => '', 'type' => 'upload'); $options[] = array( 'name' => __('First Featured Box Content', 'advertica-lite'), 'desc' => __('Enter content for first featured box.','advertica-lite'), 'id' => $advertica_shortname.'_fb1_first_part_content', 'std' => ' Get focused from your target consumers and increase your business with Web portal Design and Development. ', 'type' => 'textarea'); $options[] = array( 'name' => __('First Featured Box Link', 'advertica-lite'), 'desc' => __('Enter link for first featured box.', 'advertica-lite'), 'id' => $advertica_shortname.'_fb1_first_part_link', 'std' => '#', 'type' => 'text'); //Featured Box 2 $options[] = array( 'name' => __('Second Featured Box Heading', 'advertica-lite'), 'desc' => __('Enter heading for second featured box.', 'advertica-lite'), 'id' => $advertica_shortname.'_fb2_second_part_heading', 'std' => 'Quality Products', 'type' => 'text'); $options[] = array( 'name' => __('Second Featured Box Image Path (size: width * height (150px * 150px) )', 'advertica-lite'), 'desc' => __('Upload image for second featured box.', 'advertica-lite'), 'id' => $advertica_shortname.'_fb2_second_part_image', 'std' => '', 'type' => 'upload'); $options[] = array( 'name' => __('Second Featured Box Content', 'advertica-lite'), 'desc' => __('Enter content for second featured box.','advertica-lite'), 'id' => $advertica_shortname.'_fb2_second_part_content', 'std' => ' Products with the ultimate features and functionality that provide the complete satisfaction to the clients.', 'type' => 'textarea'); $options[] = array( 'name' => __('Second Featured Box Link', 'advertica-lite'), 'desc' => __('Enter link for second featured box.', 'advertica-lite'), 'id' => $advertica_shortname.'_fb2_second_part_link', 'std' => '#', 'type' => 'text'); //Featured Box 3 $options[] = array( 'name' => __('Third Featured Box Heading', 'advertica-lite'), 'desc' => __('Enter heading for third featured box.', 'advertica-lite'), 'id' => $advertica_shortname.'_fb3_third_part_heading', 'std' => 'Best Business Plans', 'type' => 'text'); $options[] = array( 'name' => __('Third Featured Box Image Path (size: width * height (150px * 150px) )', 'advertica-lite'), 'desc' => __('Upload image for third featured box.', 'advertica-lite'), 'id' => $advertica_shortname.'_fb3_third_part_image', 'std' => '', 'type' => 'upload'); $options[] = array( 'name' => __('Third Featured Box Content', 'advertica-lite'), 'desc' => __('Enter content for third featured box.','advertica-lite'), 'id' => $advertica_shortname.'_fb3_third_part_content', 'std' => ' Based on the client requirement, different business plans suits and fulfill your business and cost requirement.', 'type' => 'textarea'); $options[] = array( 'name' => __('Third Featured Box Link', 'advertica-lite'), 'desc' => __('Enter link for third featured box.', 'advertica-lite'), 'id' => $advertica_shortname.'_fb3_third_part_link', 'std' => '#', 'type' => 'text'); //Front Page Parallax Box Options $options[] = array( 'name' => __('Home Parallax Section', 'advertica-lite'), 'type' => 'heading'); $options[] = array( 'name' => __('Parallax Section Background Image (size: width * height (1600x * 1000px) )', 'advertica-lite'), 'desc' => __('Upload background image for parallax section.', 'advertica-lite'), 'id' => $advertica_shortname.'_fullparallax_image', 'std' => $imagepath.'Parallax_Section_Image.jpg', 'type' => 'upload'); $options[] = array( 'name' => __('Parallax Section Content', 'advertica-lite'), 'desc' => __('Enter content for parallax section','advertica-lite'), 'id' => $advertica_shortname.'_para_content_left', 'std' => '