array( 'primary_sidebar' => array( 'default' => 'right', 'sanitize_callback' => 'book_land_sanitize_select', 'label' => __('Sidebar Layout','book-land'), 'desc' => __('Sidebar Layout, apply this setting for all post and pages, exclude home page and custom page templates.','book-land'), 'type' => 'select', 'choices' => array( 'left' => __('Left Sidebar','book-land'), 'right' => __('Right Sidebar','book-land'), 'none' => __('No Sidebar','book-land'), ) ), 'btt_disable' => array( 'default' => false, 'sanitize_callback' => 'book_land_sanitize_checkbox', 'label' => __('Hide footer back to top?','book-land'), 'desc' => __('Check this setting to hide footer back to top button.','book-land'), 'type' => 'checkbox', ), 'animation_effect_hide' => array( 'default' => false, 'sanitize_callback' => 'book_land_sanitize_checkbox', 'label' => __('Disable animation effect?','book-land'), 'desc' => __('Check this setting to disable all animation effect when scroll.','book-land'), 'type' => 'checkbox', ), 'google_fonts_hide' => array( 'default' => false, 'sanitize_callback' => 'book_land_sanitize_checkbox', 'label' => __('Disable google fonts?','book-land'), 'desc' => __('Check this setting to disable google fonts in the theme.','book-land'), 'type' => 'checkbox', ), ), 'top_header' => array( 'header_tb_hide' => array( 'default' => false, 'sanitize_callback' => 'book_land_sanitize_checkbox', 'label' => __('Top Bar Disable?','book-land'), 'desc' => __('Check this setting to hide top header bar.','book-land'), 'type' => 'checkbox', ), 'header_tb_icon1' => array( 'default' => 'fa-map', 'label' => __('Icon 1','book-land'), 'desc' => __('Please enter your icon in the setting.','book-land'), 'type' => 'text', ), 'header_tb_text1' => array( 'default' => '', 'label' => __('Icon 1 Text','book-land'), 'desc' => __('Please enter your icon text in the setting.','book-land'), 'type' => 'text', ), 'header_tb_icon2' => array( 'default' => 'fa-phone', 'label' => __('Icon 2','book-land'), 'desc' => __('Please enter your icon in the setting.','book-land'), 'type' => 'text', ), 'header_tb_text2' => array( 'default' => '', 'label' => __('Icon 2 Text','book-land'), 'desc' => __('Please enter your icon text in the setting.','book-land'), 'type' => 'text', ), 'header_facebook_link' => array( 'default' => '', 'sanitize_callback' => 'esc_url_raw', 'label' => __('Facebook URL','book-land'), 'desc' => __('Please enter your facebook URL.','book-land'), 'type' => 'text', ), 'header_twitter_link' => array( 'default' => '', 'sanitize_callback' => 'esc_url_raw', 'label' => __('Twitter URL','book-land'), 'desc' => __('Please enter your twitter URL.','book-land'), 'type' => 'text', ), 'header_linkedin_link' => array( 'default' => '', 'sanitize_callback' => 'esc_url_raw', 'label' => __('LinkedIn URL','book-land'), 'desc' => __('Please enter your linkedin URL.','book-land'), 'type' => 'text', ), 'header_googleplus_link' => array( 'default' => '', 'sanitize_callback' => 'esc_url_raw', 'label' => __('Google Plus URL','book-land'), 'desc' => __('Please enter your google plus URL.','book-land'), 'type' => 'text', ), 'header_skype_link' => array( 'default' => '', 'sanitize_callback' => 'esc_url_raw', 'label' => __('Skype URL','book-land'), 'desc' => __('Please enter your skype URL.','book-land'), 'type' => 'text', ), ), 'theme_layout' => array( 'site_layout' => array( 'default' => false, 'sanitize_callback' => 'book_land_sanitize_checkbox', 'label' => __('Boxed Layout','book-land'), 'desc' => __('Check this setting to show your website in Boxed layout.','book-land'), 'type' => 'checkbox', ), ), 'navigation_menu' => array( 'nav_padding' => array( 'default' => 18, 'label' => __('Navigation Menu Padding (px)','book-land'), 'desc' => __('Enter padding value for left and right side.','book-land'), 'type' => 'text', ), ), 'primary_color' => array( 'theme_color' => array( 'default' => '#85D13D', 'label' => __('Primary Color:','book-land'), 'desc' => __('Choose your primary color for your website.','book-land'), 'type' => 'theme_color', 'choices' => array( '#85D13D' => '#85D13D', ) ), ), 'single' => array( 'single_meta_hide' => array( 'default' => false, 'sanitize_callback' => 'book_land_sanitize_checkbox', 'label' => __('Disable Single Post Meta','book-land'), 'desc' => __('Check this setting to disable single post meta data.','book-land'), 'type' => 'checkbox', ), 'single_image_hide' => array( 'default' => false, 'sanitize_callback' => 'book_land_sanitize_checkbox', 'label' => __('Disable Single Post Thumbnail','book-land'), 'desc' => __('Check this setting to disable single post thumbnail data.','book-land'), 'type' => 'checkbox', ), ), 'title_setting' => array( 'subheader_hide' => array( 'default' => false, 'sanitize_callback' => 'book_land_sanitize_checkbox', 'label' => __('Sub Header Disable?','book-land'), 'desc' => __('Check this setting to disable sub header from single detail page.','book-land'), 'type' => 'checkbox', ), 'subheader_p_top' => array( 'default' => 80, 'label' => __('Padding Top (px)','book-land'), 'desc' => __('Enter top padding value in pixels.','book-land'), 'type' => 'text', ), 'subheader_p_bottom' => array( 'default' => 80, 'label' => __('Padding Bottom (px)','book-land'), 'desc' => __('Enter bottom padding value in pixels.','book-land'), 'type' => 'text', ), 'subheader_color' => array( 'default' => '', 'label' => __('Color','book-land'), 'desc' => __('Select color for your title','book-land'), 'type' => 'color', ), 'subheader_align' => array( 'default' => 'center', 'sanitize_callback' => 'book_land_sanitize_select', 'label' => __('Text Align','book-land'), 'desc' => __('Select your title alignment.','book-land'), 'type' => 'select', 'choices' => array( 'left' => __('Left','book-land'), 'center' => __('Center','book-land'), 'right' => __('Right','book-land'), ), ), 'subheader_overlay_bg' => array( 'default' => '', 'sanitize_callback' => 'book_land_sanitize_color_alpha', 'label' => __('Sub Header Overlay Color','book-land'), 'desc' => __('Choose overlay color.','book-land'), 'type' => 'color_alpha', ), ), 'copyright' => array( 'copyright' => array( 'default' => '', 'sanitize_callback' => 'wp_kses_post', 'label' => __('Copyright','book-land'), 'desc' => __('If you want to show copyright text in bottom of footer area.','book-land'), 'type' => 'textarea', ), ), 'preloader' => array( 'hide_preloader' => array( 'default' => false, 'sanitize_callback' => 'book_land_sanitize_checkbox', 'label' => __('Disable Preloader?','book-land'), 'desc' => __('Check this to hide preloader from your site.','book-land'), 'type' => 'checkbox', ), 'preloader_speed' => array( 'default' => 3500, 'sanitize_callback' => 'sanitize_text_field', 'label' => __('Preloader Display Delay Time','book-land'), 'desc' => __('Please select preloader display delay time before page load.','book-land'), 'type' => 'select', 'choices' => array( 100 => 100, 500 => 500, 1000 => 1000, 1500 => 1500, 2000 => 2000, 2500 => 2500, 3000 => 3000, 3500 => 3500, 4000 => 4000, ), ), ), /* Slider Settings */ 'hero_setting' => array( 'hero_section_hide' => array( 'default' => false, 'sanitize_callback' => 'book_land_sanitize_checkbox', 'label' => __('Hero Section Disable?','book-land'), 'desc' => __('Check this to hide hero section from Front Page Template.','book-land'), 'type' => 'checkbox', ), 'hero_animation_type' => array( 'default' => 'slide', 'sanitize_callback' => 'sanitize_text_field', 'label' => __('Animation Type','book-land'), 'desc' => __('Select animation type.','book-land'), 'type' => 'select', 'choices' => array( 'slide' => 'Slide', 'vertical' => 'Vertical', 'fade' => 'Fade', ), ), 'hero_speed' => array( 'default' => 3000, 'sanitize_callback' => 'sanitize_text_field', 'label' => __('Speed','book-land'), 'desc' => __('Select slider speed.','book-land'), 'type' => 'select', 'choices' => array( 500 => 500, 1000 => 1000, 1500 => 1500, 2000 => 2000, 2500 => 2500, 3000 => 3000, 3500 => 3500, 4000 => 4000, 4500 => 4500, 5000 => 5000, 5500 => 5500, 6000 => 6000, ), ), ), 'hero_images' => array( 'hero_media' => array( 'default' => json_encode( array( array( 'image'=> array( 'url' => get_template_directory_uri().'/images/slide2.jpg', 'id' => '' ) ) ) ), 'sanitize_callback' => 'book_land_sanitize_repeatable_data_field', 'transport' => 'refresh', 'label' => __('Background Images','book-land'), 'desc' => __('Upload here your home page slider photos.','book-land'), 'type' => 'theme_repeater', 'title_format' => esc_html__( 'Background', 'book-land'), 'max_item' => 2, 'fields' => array( 'image' => array( 'title' => esc_html__('Background Image', 'book-land'), 'type' =>'media', 'default' => array( 'url' => get_template_directory_uri().'/images/slide2.jpg', 'id' => '' ) ), ), ), ), 'hero_contents' => array( 'hero_largetext' => array( 'default' => '', 'label' => __('Large Text','book-land'), 'desc' => __('Enter your big text for the hero section.','book-land'), 'type' => 'theme_textarea', ), 'hero_large_effect' => array( 'default' => '', 'label' => __('Large Text Effect','book-land'), 'desc' => __('Select effect for large text.','book-land'), 'type' => 'select', 'choices' => book_land_animations(), ), 'hero_smalltext' => array( 'default' => '', 'label' => __('Small Text','book-land'), 'desc' => __('Enter your small text for the hero section.','book-land'), 'type' => 'theme_textarea', ), 'hero_small_effect' => array( 'default' => '', 'label' => __('Small Text Effect','book-land'), 'desc' => __('Select effect for small text.','book-land'), 'type' => 'select', 'choices' => book_land_animations(), ), 'hero_btn_text' => array( 'default' => '', 'label' => __('Button Text','book-land'), 'desc' => __('Enter hero button text.','book-land'), 'type' => 'text', ), 'hero_btn_link' => array( 'default' => '', 'label' => __('Button URL Link','book-land'), 'desc' => __('Enter hero button url link.','book-land'), 'type' => 'text', ), 'hero_btn_effect' => array( 'default' => '', 'label' => __('Button Text Effect','book-land'), 'desc' => __('Select effect for button text.','book-land'), 'type' => 'select', 'choices' => book_land_animations(), ), ), /* End Slider Settings */ /* Contact Section */ 'contact_setting' => array( 'contact_s_hide' => array( 'default' => false, 'sanitize_callback' => 'book_land_sanitize_checkbox', 'label' => __('Contact Section Disable?','book-land'), 'desc' => __('Check this to hide contact section from Front Page Template.','book-land'), 'type' => 'checkbox', ), ), 'contact_info' => array( 'contact_s_address' => array( 'default' => '', 'sanitize_callback' => 'wp_kses_post', 'label' => __('Address:','book-land'), 'desc' => __('Please enter your address here.','book-land'), 'type' => 'textarea', ), 'contact_s_phone' => array( 'default' => '', 'label' => __('Phone:','book-land'), 'desc' => __('Please enter your phone number.','book-land'), 'type' => 'text', ), 'contact_s_email' => array( 'default' => '', 'label' => __('Email:','book-land'), 'desc' => __('Please enter your email address here.','book-land'), 'type' => 'text', ), ), /* End Contact Section */ /* Blog Section */ 'blog_setting' => array( 'blog_s_hide' => array( 'default' => false, 'sanitize_callback' => 'book_land_sanitize_checkbox', 'label' => __('Blog Section Disable?','book-land'), 'desc' => __('Check this to hide blog section from Front Page Template.','book-land'), 'type' => 'checkbox', ), ), 'blog_header' => array( 'blog_s_title' => array( 'default' => '', 'sanitize_callback' => 'wp_kses_post', 'label' => __('Title','book-land'), 'desc' => __('Please enter title for this section.','book-land'), 'type' => 'text', ), 'blog_s_subtitle' => array( 'default' => '', 'sanitize_callback' => 'wp_kses_post', 'label' => __('Subtitle','book-land'), 'desc' => __('Please enter subtitle for this section.','book-land'), 'type' => 'text', ), ), 'blog_contents' => array( 'blog_s_noofshow' => array( 'default' => 4, 'label' => __('No. of blog to show','book-land'), 'desc' => __('Enter value to show no. of blogs on front page.','book-land'), 'type' => 'text', ), 'blog_s_orderby' => array( 'default' => 0, 'label' => __('Order By','book-land'), 'desc' => __('Select this setting to show blogs with order by.','book-land'), 'type' => 'select', 'choices' => array( 'default' => esc_html__('Default', 'book-land'), 'id' => esc_html__('ID', 'book-land'), 'author' => esc_html__('Author', 'book-land'), 'title' => esc_html__('Title', 'book-land'), 'date' => esc_html__('Date', 'book-land'), 'comment_count' => esc_html__('Comment Count', 'book-land'), 'menu_order' => esc_html__('Order by Page Order', 'book-land'), 'rand' => esc_html__('Random order', 'book-land'), ) ), 'blog_s_order' => array( 'default' => 'desc', 'label' => __('Order','book-land'), 'desc' => __('Select this setting to show blogs with ASC/DESC.','book-land'), 'type' => 'select', 'choices' => array( 'desc' => esc_html__('Descending', 'book-land'), 'asc' => esc_html__('Ascending', 'book-land'), ), ), 'blog_s_cat' => array( 'default' => 0, 'label' => __('Select Category','book-land'), 'desc' => __('Select category to show this category of posts.','book-land'), 'type' => 'theme_category', ), ), 'blog_back' => array( 'blog_s_bgcolor' => array( 'default' => '', 'label' => __('Background Color','book-land'), 'desc' => __('Select section background color.','book-land'), 'type' => 'color', ), 'blog_s_bgimage' => array( 'default' => '', 'label' => __('Background Image','book-land'), 'desc' => __('Upload image for the section.','book-land'), 'type' => 'image', ), ), /* End Blog Section */ 'p_section' => array( 'p_fontsize' => array( 'default' => '', 'sanitize_callback' => 'book_land_sanitize_select', 'label' => __('Font Size (px)','book-land'), 'desc' => __('Select font size.','book-land'), 'type' => 'select', 'choices' => book_land_fontsize(), ), ), 'm_section' => array( 'm_fontsize' => array( 'default' => '', 'sanitize_callback' => 'book_land_sanitize_select', 'label' => __('Font Size (px)','book-land'), 'desc' => __('Select font size.','book-land'), 'type' => 'select', 'choices' => book_land_fontsize(), ), ), 'h_section' => array( 'h1_fontsize' => array( 'default' => '', 'sanitize_callback' => 'book_land_sanitize_select', 'label' => __('Font Size (px)','book-land'), 'desc' => __('Select font size.','book-land'), 'type' => 'select', 'choices' => book_land_fontsize(), ), 'h2_fontsize' => array( 'default' => '', 'sanitize_callback' => 'book_land_sanitize_select', 'label' => __('Font Size (px)','book-land'), 'desc' => __('Select font size.','book-land'), 'type' => 'select', 'choices' => book_land_fontsize(), ), 'h3_fontsize' => array( 'default' => '', 'sanitize_callback' => 'book_land_sanitize_select', 'label' => __('Font Size (px)','book-land'), 'desc' => __('Select font size.','book-land'), 'type' => 'select', 'choices' => book_land_fontsize(), ), 'h4_fontsize' => array( 'default' => '', 'sanitize_callback' => 'book_land_sanitize_select', 'label' => __('Font Size (px)','book-land'), 'desc' => __('Select font size.','book-land'), 'type' => 'select', 'choices' => book_land_fontsize(), ), 'h5_fontsize' => array( 'default' => '', 'sanitize_callback' => 'book_land_sanitize_select', 'label' => __('Font Size (px)','book-land'), 'desc' => __('Select font size.','book-land'), 'type' => 'select', 'choices' => book_land_fontsize(), ), 'h6_fontsize' => array( 'default' => '', 'sanitize_callback' => 'book_land_sanitize_select', 'label' => __('Font Size (px)','book-land'), 'desc' => __('Select font size.','book-land'), 'type' => 'select', 'choices' => book_land_fontsize(), ), ), ); $customize_settings = apply_filters('book_land_customize_settings', $arg ); return $customize_settings; }