'1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '6' => '6', '7' => '7', '8' => '8', '9' => '9', '10' => '10', '11' => '11', '12' => '12', '13' => '13', '14' => '14', '15' => '15', '16' => '16', '17' => '17', '18' => '18', '19' => '19', '20' => '20', '21' => '21', '22' => '22', '23' => '23', '24' => '24', '25' => '25', '26' => '26', '27' => '27', '28' => '28', '29' => '29', '30' => '30', ); // Slider Array $personalportfolio_slider_array = array( 'enable_slider' => array( 'type' => 'checkbox', 'label' => __('Enable this section', 'business-standard'), 'default' => 0, 'sanitize_callback' => 'personalportfolio_boolean', ), ); for ($i=1;$i<=4;$i++) { $personalportfolio_slider_item = array(); $personalportfolio_slider_item = array( 'sep'.$i => array( 'label' => __("Slider", 'business-standard') . "#$i", 'type' => 'sep-title', ), 'slider_title'.$i => array( 'type' => 'text', 'label' => __('Title', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'slider_desc'.$i => array( 'type' => 'text', 'label' => __('Description', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'slider_link'.$i => array( 'type' => 'text', 'label' => __('Link', 'business-standardo'), 'sanitize_callback' => 'esc_url', ), 'slider_image'.$i => array( 'default' => get_template_directory_uri() . "/images/slider/$i.jpg", 'type' => 'image', 'label' => __('Image', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ) ); $personalportfolio_slider_array = array_merge($personalportfolio_slider_array, $personalportfolio_slider_item); } if ( $req == "slider" ) return $personalportfolio_slider_array; // Services Section Array $personalportfolio_services_array = array( 'enable_services' => array( 'type' => 'checkbox', 'label' => __('Enable this section', 'business-standard'), 'default' => 1, 'sanitize_callback' => 'personalportfolio_boolean', ), 'services_title' => array( 'type' => 'text', 'label' => __('Title', 'business-standard'), 'default' => "Nunc porta lectus dolor", 'sanitize_callback' => 'esc_attr', ), 'services_desc' => array( 'type' => 'textarea', 'label' => __('Description', 'business-standard'), 'default' => '"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..."', 'sanitize_callback' => 'esc_textarea', ) ); // FA Icons to choices array $fa_choices = array(); foreach ( $fa_array as $fa ) { $fa_choices = array_merge($fa_choices, array( "fa-$fa" => "$fa" ) ); } // for ($i=1;$i<=4;$i++) { $personalportfolio_services_item = array(); $personalportfolio_services_item = array( 'sep_services'.$i => array( 'label' => __("Service", 'business-standard') . "#$i", 'type' => 'sep-title', ), 'service_title'.$i => array( 'default' => "Lorem ipsum", 'type' => 'text', 'label' => __('Title', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'service_desc'.$i => array( 'default' => "Nullam fringilla lorem sed ante pharetra, et ultrices nisl rhoncus!", 'type' => 'text', 'label' => __('Description', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'service_link'.$i => array( 'default' => esc_url( home_url( '/' ) ), 'type' => 'text', 'label' => __('Link', 'business-standard'), 'sanitize_callback' => 'esc_url', ), 'service_icon'.$i => array( 'default' => "fa-briefcase", 'type' => 'select', 'label' => __('Icon', 'business-standard'), 'sanitize_callback' => 'esc_attr', 'choices' => $fa_choices ), 'service_color'.$i => array( 'default' => "#645F54", 'type' => 'color', 'label' => __('Color', 'business-standard'), 'sanitize_callback' => 'sanitize_hex_color', ) ); $personalportfolio_services_array = array_merge($personalportfolio_services_array, $personalportfolio_services_item); } if ( $req == "services" ) return $personalportfolio_services_array; // footer Section Array $personalportfolio_foo_array = array( 'enable_services' => array( 'type' => 'checkbox', 'label' => __('Enable this section', 'business-standard'), 'default' => 1, 'sanitize_callback' => 'personalportfolio_boolean', ), 'services_title' => array( 'type' => 'text', 'label' => __('Title', 'business-standard'), 'default' => "Nunc porta lectus dolor", 'sanitize_callback' => 'esc_attr', ), 'services_desc' => array( 'type' => 'textarea', 'label' => __('Description', 'business-standard'), 'default' => '"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..."', 'sanitize_callback' => 'esc_textarea', ) ); // FA Icons to choices array $fa_choices = array(); foreach ( $fa_array as $fa ) { $fa_choices = array_merge($fa_choices, array( "fa-$fa" => "$fa" ) ); } // for ($i=1;$i<=4;$i++) { $personalportfolio_services_item = array(); $personalportfolio_services_item = array( 'sep_services'.$i => array( 'label' => __("Service", 'business-standard') . "#$i", 'type' => 'sep-title', ), 'service_title'.$i => array( 'default' => "Lorem ipsum", 'type' => 'text', 'label' => __('Title', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'service_desc'.$i => array( 'default' => "Nullam fringilla lorem sed ante pharetra, et ultrices nisl rhoncus!", 'type' => 'text', 'label' => __('Description', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'service_link'.$i => array( 'default' => esc_url( home_url( '/' ) ), 'type' => 'text', 'label' => __('Link', 'business-standard'), 'sanitize_callback' => 'esc_url', ), 'service_icon'.$i => array( 'default' => "fa-briefcase", 'type' => 'select', 'label' => __('Icon', 'business-standard'), 'sanitize_callback' => 'esc_attr', 'choices' => $fa_choices ), 'service_color'.$i => array( 'default' => "#645F54", 'type' => 'color', 'label' => __('Color', 'business-standard'), 'sanitize_callback' => 'sanitize_hex_color', ) ); $personalportfolio_services_array = array_merge($personalportfolio_services_array, $personalportfolio_services_item); } if ( $req == "services" ) return $personalportfolio_services_array; // Projects Section Array $personalportfolio_projects_array = array( 'enable_projects' => array( 'type' => 'disabled-checkbox', 'label' => __('Enable this section', 'business-standard'), 'default' => 0, 'sanitize_callback' => 'personalportfolio_boolean', ), 'projects_quantity' => array( 'type' => 'disabled-select', 'label' => __('Quantity', 'business-standard'), 'default' => 4, 'choices' => $qty, 'sanitize_callback' => 'absint', ), 'projects_title' => array( 'type' => 'text', 'label' => __('Title', 'business-standard'), 'default' => "Nunc porta lectus dolor", 'sanitize_callback' => 'esc_attr', ), 'projects_desc' => array( 'type' => 'textarea', 'label' => __('Description', 'business-standard'), 'default' => '"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..."', 'sanitize_callback' => 'esc_textarea', ) ); // for ($i=1;$i<=4;$i++) { $personalportfolio_projects_item = array(); $personalportfolio_projects_item = array( 'sep_projects'.$i => array( 'label' => __("Project", 'business-standard') . "#$i", 'type' => 'sep-title', ), 'project_title'.$i => array( 'default' => "Lorem ipsum", 'type' => 'text', 'label' => __('Title', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'project_desc'.$i => array( 'default' => "Nullam fringilla lorem sed ante pharetra, et ultrices nisl rhoncus!", 'type' => 'text', 'label' => __('Description', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'project_link'.$i => array( 'default' => esc_url( home_url( '/' ) ), 'type' => 'text', 'label' => __('Link', 'business-standard'), 'sanitize_callback' => 'esc_url', ), 'project_image'.$i => array( 'default' => get_template_directory_uri() . '/images/thumbnail.png', 'type' => 'upload', 'label' => __('Image', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ) ); $personalportfolio_projects_array = array_merge($personalportfolio_projects_array, $personalportfolio_projects_item); } if ( $req == "projects" ) return $personalportfolio_projects_array; // vegas slider array $vegas_images = array ('enable_vegas' => array( 'type' => 'checkbox', 'label' => __('Enable this section', 'business-standard'), 'default' => 1, 'sanitize_callback' => 'personalportfolio_boolean', )); for ($i=1;$i<=4;$i++) { $vegas_image = array(); $vegas_image = array('bg_slider_image'.$i => array( 'default' => get_template_directory_uri() . "/images/bg-slider/$i.jpg", 'type' => 'upload', 'label' => __('Image', 'business-standard') ." #$i", 'sanitize_callback' => 'esc_url_raw', ) ); $vegas_images = array_merge($vegas_images, $vegas_image); } if ( $req == "vegas" ) return $vegas_images; } // end of generate array function // options array $options = array( 'capability' => 10, 'type' => 'theme_mod', 'panels' => array( 'personal-portfolio' => array( 'priority' => 9, 'title' => __('Business Standard ', 'business-standard'), 'description' => __('Business Standard ', 'business-standard'), 'sections' => array( 'header' => array( 'title' => __('Header', 'personal-portfolio'), 'fields' => array( 'logo_alt' => array( 'type' => 'text', 'label' => __('Logo Alt Text', 'business-standard'), 'default' => 'Business Standard', 'sanitize_callback' => 'esc_attr', ), 'logo_text' => array( 'type' => 'text', 'label' => __('Logo Text', 'business-standard'), 'default' => 'Business Standard', 'sanitize_callback' => 'esc_attr', ), ), ), 'header_banner' => array( 'title' => __('Header Banner', 'business-standard'), 'fields' => array( 'banner' => array( 'default' => get_template_directory_uri() . '/img/1013.jpg', 'type' => 'image', 'label' => __('Banner Image', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ), 'banner_heading' => array( 'type' => 'textarea', 'label' => __('Banner Heading', 'business-standard'), 'default' => 'Welcome To Our Studio!', 'sanitize_callback' => 'esc_attr', ), 'banner_content' => array( 'type' => 'textarea', 'label' => __('Banner Content', 'business-standard'), 'default' => 'ITS NICE TO MEET YOU', 'sanitize_callback' => 'esc_attr', ), 'button_text' => array( 'type' => 'textarea', 'label' => __('Button Text', 'business-standard'), 'default' => 'TELL ME MORE', 'sanitize_callback' => 'esc_attr', ), /* 'button_color' => array( 'type' => 'color', 'label' => __('Button Color', 'personal-portfolio'), 'default' => '', 'sanitize_callback' => 'sanitize_hex_color', ),*/ 'href_link' => array( 'type' => 'text', 'label' => __('Href Link', 'business-standard'), 'default' => '#', 'sanitize_callback' => 'esc_attr', ), ), ), 'pages_banner' => array( 'title' => __('Banner Images', 'personal-portfolio'), 'fields' => array( 'about_banner' => array( 'default' => get_template_directory_uri() . '/img/header-bg1.jpg', 'type' => 'image', 'label' => __('Banner Image For About Us', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ), 'blog_banner' => array( 'default' => get_template_directory_uri() . '/img/header-bg1.jpg', 'type' => 'image', 'label' => __('Banner Image For Blog', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ), ), ), 'call_action' => array( 'title' => __('Call To Action', 'personal-portfolio'), 'fields' => array( 'action_heading' => array( 'type' => 'textarea', 'label' => __('Heading', 'business-standard'), 'default' => 'Create Responsive UI Wordpress Themes With Us', 'sanitize_callback' => 'esc_attr', ), /*'section_color' => array( 'type' => 'color', 'label' => __('Section Color', 'personal-portfolio'), 'default' => '#FEC503', 'sanitize_callback' => 'sanitize_hex_color', ),*/ 'heading_color' => array( 'type' => 'color', 'label' => __('Heading Color', 'business-standard'), 'default' => '#FFFFFF', 'sanitize_callback' => 'sanitize_hex_color', ), 'learn_button_text' => array( 'type' => 'text', 'label' => __('Learn Button Text', 'business-standard'), 'default' => 'Learn More', 'sanitize_callback' => 'esc_attr', ), 'learn_text_color' => array( 'type' => 'color', 'label' => __('Learn Text Color', 'business-standard'), 'default' => '#000000', 'sanitize_callback' => 'esc_attr', ), 'learn_button_color' => array( 'type' => 'color', 'label' => __('Learn Button Color', 'business-standard'), 'default' => '#ffffff', 'sanitize_callback' => 'sanitize_hex_color', ), 'learn_href_link' => array( 'type' => 'text', 'label' => __('Learn Href Link', 'business-standard'), 'default' => '#', 'sanitize_callback' => 'esc_attr', ), ), ), 'social_icons' => array( 'title' => __('Social Icons', 'business-standard'), 'fields' => array( 'facebook' => array( 'default' => '#', 'type' => 'text', 'label' => __('Facebook', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ), 'twitter' => array( 'type' => 'text', 'label' => __('Twitter', 'business-standard'), 'default' => '#', 'sanitize_callback' => 'esc_attr', ), 'linkedin' => array( 'type' => 'text', 'label' => __('Linkedin', 'business-standard'), 'default' => '#', 'sanitize_callback' => 'esc_attr', ), ), ), 'service_section' => array( 'title' => __('Services Section', 'business-standard'), 'fields' => array( 'service_heading' => array( 'type' => 'text', 'label' => __('Services Heading', 'business-standard'), 'default' => 'SERVICES', 'sanitize_callback' => 'esc_attr', ), 'service_content' => array( 'type' => 'textarea', 'label' => __('Services Content', 'business-standard'), 'default' => 'Lorem ipsum dolor sit amet consectetur.', 'sanitize_callback' => 'esc_attr', ), /*'circle_color' => array( 'type' => 'color', 'label' => __('Circle Color', 'personal-portfolio'), 'default' => '#FED136', 'sanitize_callback' => 'sanitize_hex_color', ),*/ 'icon_color' => array( 'type' => 'color', 'label' => __('Icon Color', 'business-standard'), 'default' => '#FFFFFF', 'sanitize_callback' => 'sanitize_hex_color', ), 'service_heading1' => array( 'type' => 'text', 'label' => __('Service Heading 1', 'business-standard'), 'default' => 'E-Commerce', 'sanitize_callback' => 'esc_attr', ), 'icon_type1' => array( 'type' => 'select', 'label' => __('Icon Type 1', 'business-standard'), 'choices' => array( 'fa-shopping-cart' => __('fa-shopping-cart', 'business-standard'), 'fa-cart-plus' => __('fa-cart-plus', 'business-standard'), 'fa-cart-arrow-down' => __('fa-cart-arrow-down', 'business-standard'), 'fa-heart' => __('fa-heart', 'business-standard'), 'fa-plus-square' => __('fa-plus-square', 'business-standard'), 'fa-cog' => __('fa-cog', 'business-standard'), 'fa-circle' => __('fa-circle', 'business-standard'), 'fa-hand-o-right' => __('fa-hand-o-right', 'business-standard'), 'fa-chevron-down' => __('fa-chevron-down', 'business-standard'), 'fa-files-o' => __('fa-files-o', 'business-standard'), ), 'default' => 'fa-shopping-cart', ), 'service_content1' => array( 'type' => 'textarea', 'label' => __('Service Content1', 'business-standard'), 'default' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Minima maxime quam architecto quo inventore harum ex magni, dicta impedit.', 'sanitize_callback' => 'esc_attr', ), 'service_heading2' => array( 'type' => 'text', 'label' => __('Service Heading 2', 'business-standard'), 'default' => 'Responsive Design', 'sanitize_callback' => 'esc_attr', ), 'icon_type2' => array( 'type' => 'select', 'label' => __('Icon Type 2', 'business-standard'), 'choices' => array( 'fa-laptop' => __('fa-laptop', 'business-standard'), 'fa-cart-plus' => __('fa-cart-plus', 'business-standard'), 'fa-cart-arrow-down' => __('fa-cart-arrow-down', 'business-standard'), 'fa-heart' => __('fa-heart', 'business-standard'), 'fa-plus-square' => __('fa-plus-square', 'business-standard'), 'fa-cog' => __('fa-cog', 'business-standard'), 'fa-circle' => __('fa-circle', 'business-standard'), 'fa-hand-o-right' => __('fa-hand-o-right', 'business-standard'), 'fa-chevron-down' => __('fa-chevron-down', 'business-standard'), 'fa-files-o' => __('fa-files-o', 'business-standard'), ), 'default' => 'fa-laptop', ), 'service_content2' => array( 'type' => 'textarea', 'label' => __('Service Content 2', 'business-standard'), 'default' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Minima maxime quam architecto quo inventore harum ex magni, dicta impedit.', 'sanitize_callback' => 'esc_attr', ), 'service_heading3' => array( 'type' => 'text', 'label' => __('Service Heading 3', 'business-standard'), 'default' => 'Web Security', 'sanitize_callback' => 'esc_attr', ), 'icon_type3' => array( 'type' => 'select', 'label' => __('Icon Type 3', 'business-standard'), 'choices' => array( 'fa-lock' => __('fa-lock', 'business-standard'), 'fa-cart-plus' => __('fa-cart-plus', 'business-standard'), 'fa-cart-arrow-down' => __('fa-cart-arrow-down', 'business-standard'), 'fa-heart' => __('fa-heart', 'business-standard'), 'fa-plus-square' => __('fa-plus-square', 'business-standard'), 'fa-cog' => __('fa-cog', 'business-standard'), 'fa-circle' => __('fa-circle', 'business-standard'), 'fa-hand-o-right' => __('fa-hand-o-right', 'business-standard'), 'fa-chevron-down' => __('fa-chevron-down', 'business-standard'), 'fa-files-o' => __('fa-files-o', 'business-standard'), ), 'default' => 'fa-lock', ), 'service_content3' => array( 'type' => 'textarea', 'label' => __('Service Content 3', 'business-standard'), 'default' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Minima maxime quam architecto quo inventore harum ex magni, dicta impedit.', 'sanitize_callback' => 'esc_attr', ), ), ), 'about' => array( 'title' => __('About', 'business-standard'), 'fields' => array( 'about_heading' => array( 'default' => 'ABOUT', 'type' => 'text', 'label' => __('About Heading', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'about_content' => array( 'default' => 'Lorem ipsum dolor sit amet consectetur.', 'type' => 'textarea', 'label' => __('About Content', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'about_text' => array( 'default' => 'WELCOME MESSAGE', 'type' => 'textarea', 'label' => __('About Text', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'about_main_content' => array( 'default' => 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.', 'type' => 'textarea', 'label' => __('About Main Content', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'about_background' => array( 'default' => get_template_directory_uri() . '/images/logo.png', 'type' => 'image', 'label' => __('Background Image', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'about_image' => array( 'default' => get_template_directory_uri() . '/images/logo.png', 'type' => 'image', 'label' => __('About Image', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), ), ), 'footer' => array( 'title' => __('Footer', 'business-standard'), 'fields' => array( 'copyright' => array( 'default' => 'Copyright by wordpress.org. Develop by Vivacity InfoTech Pvt. Ltd.', 'type' => 'textarea', 'label' => __('Copyright Text', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'social_footer' => array( 'default' => '1', 'type' => 'checkbox', 'label' => __('Social Icon On Footer', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), ), ), 'general' => array( 'title' => __('General', 'business-standard'), 'fields' => array( 'primary_color' => array( 'type' => 'color', 'label' => __('Primary Color', 'business-standard'), 'default' => '#FEC503', 'sanitize_callback' => 'sanitize_hex_color', ), /*'font_color' => array( 'type' => 'color', 'label' => __('Font Color', 'business-standard'), 'default' => '#3C9DFF', 'sanitize_callback' => 'sanitize_hex_color', ), 'navigation_color' => array( 'type' => 'color', 'label' => __('Navigation Color', 'business-standard'), 'default' => '#3C9DFF', 'sanitize_callback' => 'sanitize_hex_color', ), 'hover_color' => array( 'type' => 'color', 'label' => __('Hover Color', 'business-standard'), 'default' => '#3C9DFF', 'sanitize_callback' => 'sanitize_hex_color', ),*/ 'font_type' => array( 'type' => 'select', 'label' => __('Font Type', 'business-standard'), 'choices' => array( 'Roboto' => __('Roboto', 'business-standard'), 'Arial' => __('Arial', 'business-standard'), ), 'default' => 'Roboto', ), 'font_size' => array( 'type' => 'select', 'label' => __('Font Size', 'business-standard'), 'choices' => array( '14px' => __('14px', 'business-standard'), '16px' => __('16px', 'business-standard'), '18px' => __('18px', 'business-standard'), ), 'default' => '14px', ), ), ), 'team_member' => array( 'title' => __('Team Members', 'business-standard'), 'fields' => array( 'team_heading' => array( 'default' => 'OUR TEAM', 'type' => 'text', 'label' => __('Team Heading', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'team_content' => array( 'default' => 'Lorem ipsum dolor sit amet consectetur.', 'type' => 'textarea', 'label' => __('Team Content', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'team_main_content' => array( 'default' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aut eaque, laboriosam veritatis, quos non quis ad perspiciatis, totam corporis ea, alias ut unde.', 'type' => 'textarea', 'label' => __('Team Main Content', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member_image1' => array( 'default' => get_template_directory_uri() . '/img/1.jpg', 'type' => 'image', 'label' => __('Team Member Image 1', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member_name1' => array( 'default' => 'Kay Garland', 'type' => 'textarea', 'label' => __('Team Member name 1', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member_designation1' => array( 'default' => 'Lead Designer', 'type' => 'textarea', 'label' => __('Team Member Designation 1', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member1_twitter' => array( 'default' => '#', 'type' => 'text', 'label' => __('Twitter Id', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member1_facebook' => array( 'default' => '#', 'type' => 'text', 'label' => __('Facebook Id', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member1_linkedin' => array( 'default' => '#', 'type' => 'text', 'label' => __('Linkedin Id', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member_image2' => array( 'default' => get_template_directory_uri() . '/img/2.jpg', 'type' => 'image', 'label' => __('Team Member Image 2', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member_name2' => array( 'default' => 'Kay Garland', 'type' => 'textarea', 'label' => __('Team Member name 2', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member_designation2' => array( 'default' => 'Lead Designer', 'type' => 'textarea', 'label' => __('Team Member Designation 2', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member2_twitter' => array( 'default' => '#', 'type' => 'text', 'label' => __('Twitter Id', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member2_facebook' => array( 'default' => '#', 'type' => 'text', 'label' => __('Facebook Id', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member2_linkedin' => array( 'default' => '#', 'type' => 'text', 'label' => __('Linkedin Id', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member_image3' => array( 'default' => get_template_directory_uri() . '/img/31.jpg', 'type' => 'image', 'label' => __('Team Member Image 3', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member_name3' => array( 'default' => 'Kay Garland', 'type' => 'textarea', 'label' => __('Team Member name 3', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member_designation3' => array( 'default' => 'Lead Designer', 'type' => 'textarea', 'label' => __('Team Member Designation 3', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member3_twitter' => array( 'default' => '#', 'type' => 'text', 'label' => __('Twitter Id', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member3_facebook' => array( 'default' => '#', 'type' => 'text', 'label' => __('Facebook Id', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'member3_linkedin' => array( 'default' => '#', 'type' => 'text', 'label' => __('Linkedin Id', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), ), ), 'clients_logo ' => array( 'title' => __('Clients Logo', 'business-standard'), 'fields' => array( 'logo1' => array( 'default' => get_template_directory_uri() . '/img/logo1.jpg', 'type' => 'image', 'label' => __('Client Logo 1', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ), 'logo2' => array( 'default' => get_template_directory_uri() . '/img/logo2.jpg', 'type' => 'image', 'label' => __('Client Logo 2', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ), 'logo3' => array( 'default' => get_template_directory_uri() . '/img/logo3.jpg', 'type' => 'image', 'label' => __('Client Logo 3', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ), 'logo4' => array( 'default' => get_template_directory_uri() . '/img/logo4.jpg', 'type' => 'image', 'label' => __('Client Logo 4', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ), 'logo5' => array( 'default' => get_template_directory_uri() . '/img/logo5.jpg', 'type' => 'image', 'label' => __('Client Logo 5', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ), 'logo6' => array( 'default' => get_template_directory_uri() . '/img/logo6.jpg', 'type' => 'image', 'label' => __('Client Logo 6', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ), 'logo7' => array( 'default' => get_template_directory_uri() . '/img/loog7.jpg', 'type' => 'image', 'label' => __('Client Logo 7', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ), 'logo8' => array( 'default' => get_template_directory_uri() . '/img/logo8.jpg', 'type' => 'image', 'label' => __('Client Logo 8', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ), 'logo9' => array( 'default' => get_template_directory_uri() . '/img/logo9.jpg', 'type' => 'image', 'label' => __('Client Logo 9', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ), 'logo10' => array( 'default' => get_template_directory_uri() . '/img/logo10.jpg', 'type' => 'image', 'label' => __('Client Logo 10', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ), ), ), 'contact' => array( 'title' => __('Contact', 'business-standard'), 'fields' => array( 'contact_title' => array( 'default' => 'Contact Us', 'type' => 'text', 'label' => __('Contact Title', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'contact_content' => array( 'default' => 'Lorem ipsum dolor sit amet consectetur.', 'type' => 'textarea', 'label' => __('Contact Content', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'contact_background_image' => array( 'default' => '', 'type' => 'image', 'label' => __('Background Image', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'form_checkbox' => array( 'default' => '1', 'type' => 'checkbox', 'label' => __('Display The Contact Form', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'map_checkbox' => array( 'default' => '1', 'type' => 'checkbox', 'label' => __('Display The Google Map', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'google_langitude' => array( 'default' => '51.508742', 'type' => 'text', 'label' => __('Google Map Langitude', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'google_lattitude' => array( 'default' => '-0.120850', 'type' => 'text', 'label' => __('Google Map Lattitude', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'address_checkbox' => array( 'default' => '1', 'type' => 'checkbox', 'label' => __('Display The Address Box', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'address' => array( 'default' => 'Lorem Ipsum', 'type' => 'textarea', 'label' => __('Address Box', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'pin' => array( 'default' => '30123', 'type' => 'text', 'label' => __('Pin Code', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), 'contact' => array( 'default' => '+39 041 240 5411 ', 'type' => 'text', 'label' => __('Contact Number', 'business-standard'), 'sanitize_callback' => 'esc_attr', ), ), ), 'custom_css' => array( 'title' => __('Custom Css', 'business-standard'), 'fields' => array( 'custom' => array( 'default' => '', 'type' => 'textarea', 'label' => __('', 'business-standard'), 'sanitize_callback' => 'esc_url_raw', ), ), ), ) ), ) ); function personalportfolio_boolean($value) { if(is_bool($value)) { return $value; } else { return false; } } function personalportfolio_breadcrumb_char_choices($value='') { $choices = array('1','2','3'); if( in_array($value, $choices)) { return $value; } else { return '1'; } } ?>