File: /home/turkishi/www/wp-content/themes/kidzieo/includes/customizer-options.php
<?php
// Default titles
$portfolio_cpt_singular_title = esc_attr__('Portfolio','kidzieo');
$portfolio_cat_singular_title = esc_attr__('Portfolio Category','kidzieo');
$service_cpt_singular_title = esc_attr__('Service','kidzieo');
$service_cat_singular_title = esc_attr__('Service Category','kidzieo');
$team_cpt_singular_title = esc_attr__('Team Member','kidzieo');
$team_group_singular_title = esc_attr__('Team Group','kidzieo');
$testimonial_cpt_singular_title = esc_attr__('Testimonial','kidzieo');
$testimonial_cat_singular_title = esc_attr__('Testimonial Category','kidzieo');
if( class_exists('Kirki') ){
// Portfolio
$portfolio_cpt_singular_title2 = Kirki::get_option( 'portfolio-cpt-singular-title' );
$portfolio_cpt_singular_title = ( !empty($portfolio_cpt_singular_title2) ) ? $portfolio_cpt_singular_title2 : $portfolio_cpt_singular_title ;
// Portfolio Category
$portfolio_cat_singular_title2 = Kirki::get_option( 'portfolio-cat-singular-title' );
$portfolio_cat_singular_title = ( !empty($portfolio_cat_singular_title2) ) ? $portfolio_cat_singular_title2 : $portfolio_cat_singular_title ;
// Service
$service_cpt_singular_title2 = Kirki::get_option( 'service-cpt-singular-title' );
$service_cpt_singular_title = ( !empty($service_cpt_singular_title2) ) ? $service_cpt_singular_title2 : $service_cpt_singular_title ;
// Service Category
$service_cat_singular_title2 = Kirki::get_option( 'service-cat-singular-title' );
$service_cat_singular_title = ( !empty($service_cat_singular_title2) ) ? $service_cat_singular_title2 : $service_cat_singular_title ;
// Team
$team_cpt_singular_title2 = Kirki::get_option( 'team-cpt-singular-title' );
$team_cpt_singular_title = ( !empty($team_cpt_singular_title2) ) ? $team_cpt_singular_title2 : $team_cpt_singular_title ;
// Team Group
$team_group_singular_title2 = Kirki::get_option( 'team-group-singular-title' );
$team_group_singular_title = ( !empty($team_group_singular_title2) ) ? $team_group_singular_title2 : $team_group_singular_title ;
// Testimonial
$testimonial_cpt_singular_title2 = Kirki::get_option( 'testimonial-cpt-singular-title' );
$testimonial_cpt_singular_title = ( !empty($testimonial_cpt_singular_title2) ) ? $testimonial_cpt_singular_title2 : $testimonial_cpt_singular_title ;
// Testimonial Category
$testimonial_cat_singular_title2 = Kirki::get_option( 'testimonial-cat-singular-title' );
$testimonial_cat_singular_title = ( !empty($testimonial_cat_singular_title2) ) ? $testimonial_cat_singular_title2 : $testimonial_cat_singular_title ;
}
$pre_color_list = array(
'globalcolor' => get_template_directory_uri() . '/includes/images/precolor-globalcolor.png',
'secondarycolor' => get_template_directory_uri() . '/includes/images/precolor-secondarycolor.png',
'transparent' => get_template_directory_uri() . '/includes/images/precolor-transparent.png',
'white' => get_template_directory_uri() . '/includes/images/precolor-white.png',
'light' => get_template_directory_uri() . '/includes/images/precolor-light.png',
'blackish' => get_template_directory_uri() . '/includes/images/precolor-blackish.png',
'custom' => get_template_directory_uri() . '/includes/images/precolor-custom.png',
);
$pre_color_with_gradient_list = array(
'globalcolor' => get_template_directory_uri() . '/includes/images/precolor-globalcolor.png',
'secondarycolor' => get_template_directory_uri() . '/includes/images/precolor-secondarycolor.png',
'gradientcolor' => get_template_directory_uri() . '/includes/images/precolor-gradientcolor.png',
'transparent' => get_template_directory_uri() . '/includes/images/precolor-transparent.png',
'white' => get_template_directory_uri() . '/includes/images/precolor-white.png',
'light' => get_template_directory_uri() . '/includes/images/precolor-light.png',
'blackish' => get_template_directory_uri() . '/includes/images/precolor-blackish.png',
'custom' => get_template_directory_uri() . '/includes/images/precolor-custom.png',
);
$pre_two_color_list = array(
'' => get_template_directory_uri() . '/includes/images/precolor-default.png',
'white' => get_template_directory_uri() . '/includes/images/precolor-white.png',
'blackish' => get_template_directory_uri() . '/includes/images/precolor-blackish.png',
'globalcolor' => get_template_directory_uri() . '/includes/images/precolor-globalcolor.png',
);
$pre_text_color_list = array(
'white' => get_template_directory_uri() . '/includes/images/precolor-white.png',
'blackish' => get_template_directory_uri() . '/includes/images/precolor-blackish.png',
'globalcolor' => get_template_directory_uri() . '/includes/images/precolor-globalcolor.png',
'secondarycolor' => get_template_directory_uri() . '/includes/images/precolor-secondarycolor.png',
);
$pre_text_color_2_list = array(
'white' => get_template_directory_uri() . '/includes/images/precolor-white.png',
'blackish' => get_template_directory_uri() . '/includes/images/precolor-blackish.png',
);
$column_list = array(
'1' => get_template_directory_uri() . '/includes/images/column-1.png',
'2' => get_template_directory_uri() . '/includes/images/column-2.png',
'3' => get_template_directory_uri() . '/includes/images/column-3.png',
'4' => get_template_directory_uri() . '/includes/images/column-4.png',
);
// Total Header Styles
$header_style_array = array(
'1' => get_template_directory_uri() . '/includes/images/header-style-1.jpg',
'2' => get_template_directory_uri() . '/includes/images/header-style-2.jpg',
'3' => get_template_directory_uri() . '/includes/images/header-style-3.jpg',
'4' => get_template_directory_uri() . '/includes/images/header-style-4.jpg',
);
// Total Single Portfolio Styles
$portfolio_single_style_array = array(
'1' => get_template_directory_uri() . '/includes/images/portfolio-single-style-1.jpg',
);
// Total Single Service Styles
$service_single_style_array = array(
'1' => get_template_directory_uri() . '/includes/images/service-single-style-1.jpg',
'2' => get_template_directory_uri() . '/includes/images/service-single-style-2.jpg',
);
// Total Single Team Styles
$team_single_style_array = array(
'1' => get_template_directory_uri() . '/includes/images/team-single-style-1.jpg',
'2' => get_template_directory_uri() . '/includes/images/team-single-style-2.jpg',
);
// Social links
$social_options_array = array();
if( function_exists('pbmit_social_links_list') ){
$social_list = pbmit_social_links_list();
foreach( $social_list as $social ){
$social_options_array[] = array(
'type' => 'text',
'settings' => esc_attr( $social['id'] ),
'label' => esc_attr( $social['label'] ),
'description' => esc_attr__( 'Write Social URL.', 'kidzieo' ),
'default' => '',
);
}
}
$footer_col_width_array = array(
'hide' => esc_attr__( 'Hide this column', 'kidzieo' ),
'1' => esc_attr__( '1%', 'kidzieo' ),
'2' => esc_attr__( '2%', 'kidzieo' ),
'3' => esc_attr__( '3%', 'kidzieo' ),
'4' => esc_attr__( '4%', 'kidzieo' ),
'5' => esc_attr__( '5%', 'kidzieo' ),
'6' => esc_attr__( '6%', 'kidzieo' ),
'7' => esc_attr__( '7%', 'kidzieo' ),
'8' => esc_attr__( '8%', 'kidzieo' ),
'9' => esc_attr__( '9%', 'kidzieo' ),
'10' => esc_attr__( '10%', 'kidzieo' ),
'11' => esc_attr__( '11%', 'kidzieo' ),
'12' => esc_attr__( '12%', 'kidzieo' ),
'13' => esc_attr__( '13%', 'kidzieo' ),
'14' => esc_attr__( '14%', 'kidzieo' ),
'15' => esc_attr__( '15%', 'kidzieo' ),
'16' => esc_attr__( '16%', 'kidzieo' ),
'17' => esc_attr__( '17%', 'kidzieo' ),
'18' => esc_attr__( '18%', 'kidzieo' ),
'19' => esc_attr__( '19%', 'kidzieo' ),
'20' => esc_attr__( '20%', 'kidzieo' ),
'21' => esc_attr__( '21%', 'kidzieo' ),
'22' => esc_attr__( '22%', 'kidzieo' ),
'23' => esc_attr__( '23%', 'kidzieo' ),
'24' => esc_attr__( '24%', 'kidzieo' ),
'25' => esc_attr__( '25%', 'kidzieo' ),
'26' => esc_attr__( '26%', 'kidzieo' ),
'27' => esc_attr__( '27%', 'kidzieo' ),
'28' => esc_attr__( '28%', 'kidzieo' ),
'29' => esc_attr__( '29%', 'kidzieo' ),
'30' => esc_attr__( '30%', 'kidzieo' ),
'31' => esc_attr__( '31%', 'kidzieo' ),
'32' => esc_attr__( '32%', 'kidzieo' ),
'33' => esc_attr__( '33%', 'kidzieo' ),
'34' => esc_attr__( '34%', 'kidzieo' ),
'35' => esc_attr__( '35%', 'kidzieo' ),
'36' => esc_attr__( '36%', 'kidzieo' ),
'37' => esc_attr__( '37%', 'kidzieo' ),
'38' => esc_attr__( '38%', 'kidzieo' ),
'39' => esc_attr__( '39%', 'kidzieo' ),
'40' => esc_attr__( '40%', 'kidzieo' ),
'41' => esc_attr__( '41%', 'kidzieo' ),
'42' => esc_attr__( '42%', 'kidzieo' ),
'43' => esc_attr__( '43%', 'kidzieo' ),
'44' => esc_attr__( '44%', 'kidzieo' ),
'45' => esc_attr__( '45%', 'kidzieo' ),
'46' => esc_attr__( '46%', 'kidzieo' ),
'47' => esc_attr__( '47%', 'kidzieo' ),
'48' => esc_attr__( '48%', 'kidzieo' ),
'49' => esc_attr__( '49%', 'kidzieo' ),
'50' => esc_attr__( '50%', 'kidzieo' ),
'51' => esc_attr__( '51%', 'kidzieo' ),
'52' => esc_attr__( '52%', 'kidzieo' ),
'53' => esc_attr__( '53%', 'kidzieo' ),
'54' => esc_attr__( '54%', 'kidzieo' ),
'55' => esc_attr__( '55%', 'kidzieo' ),
'56' => esc_attr__( '56%', 'kidzieo' ),
'57' => esc_attr__( '57%', 'kidzieo' ),
'58' => esc_attr__( '58%', 'kidzieo' ),
'59' => esc_attr__( '59%', 'kidzieo' ),
'60' => esc_attr__( '60%', 'kidzieo' ),
'61' => esc_attr__( '61%', 'kidzieo' ),
'62' => esc_attr__( '62%', 'kidzieo' ),
'63' => esc_attr__( '63%', 'kidzieo' ),
'64' => esc_attr__( '64%', 'kidzieo' ),
'65' => esc_attr__( '65%', 'kidzieo' ),
'66' => esc_attr__( '66%', 'kidzieo' ),
'67' => esc_attr__( '67%', 'kidzieo' ),
'68' => esc_attr__( '68%', 'kidzieo' ),
'69' => esc_attr__( '69%', 'kidzieo' ),
'70' => esc_attr__( '70%', 'kidzieo' ),
'71' => esc_attr__( '71%', 'kidzieo' ),
'72' => esc_attr__( '72%', 'kidzieo' ),
'73' => esc_attr__( '73%', 'kidzieo' ),
'74' => esc_attr__( '74%', 'kidzieo' ),
'75' => esc_attr__( '75%', 'kidzieo' ),
'76' => esc_attr__( '76%', 'kidzieo' ),
'77' => esc_attr__( '77%', 'kidzieo' ),
'78' => esc_attr__( '78%', 'kidzieo' ),
'79' => esc_attr__( '79%', 'kidzieo' ),
'80' => esc_attr__( '80%', 'kidzieo' ),
'81' => esc_attr__( '81%', 'kidzieo' ),
'82' => esc_attr__( '82%', 'kidzieo' ),
'83' => esc_attr__( '83%', 'kidzieo' ),
'84' => esc_attr__( '84%', 'kidzieo' ),
'85' => esc_attr__( '85%', 'kidzieo' ),
'86' => esc_attr__( '86%', 'kidzieo' ),
'87' => esc_attr__( '87%', 'kidzieo' ),
'88' => esc_attr__( '88%', 'kidzieo' ),
'89' => esc_attr__( '89%', 'kidzieo' ),
'90' => esc_attr__( '90%', 'kidzieo' ),
'91' => esc_attr__( '91%', 'kidzieo' ),
'92' => esc_attr__( '92%', 'kidzieo' ),
'93' => esc_attr__( '93%', 'kidzieo' ),
'94' => esc_attr__( '94%', 'kidzieo' ),
'95' => esc_attr__( '95%', 'kidzieo' ),
'96' => esc_attr__( '96%', 'kidzieo' ),
'97' => esc_attr__( '97%', 'kidzieo' ),
'98' => esc_attr__( '98%', 'kidzieo' ),
'99' => esc_attr__( '99%', 'kidzieo' ),
'100' => esc_attr__( '100%', 'kidzieo' ),
);
$blog_styles = pbmit_element_template_list('blog', 'customizer');
unset($blog_styles['classic'], $blog_styles['2']);
/*** Options array ***/
$kirki_options_array = array(
// General Settings
'general_options' => array(
'section_settings' => array(
'title' => esc_attr__( 'General Options', 'kidzieo' ),
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
array(
'type' => 'color',
'settings' => 'global-color',
'label' => esc_attr__( 'Global Color', 'kidzieo' ),
'description' => esc_attr__( 'This color will be globally applied to most of elements parts and special texts', 'kidzieo' ),
'default' => '#6621ba',
),
array(
'type' => 'color',
'settings' => 'secondary-color',
'label' => esc_attr__( 'Secondary Color', 'kidzieo' ),
'description' => esc_attr__( 'This color will be used on some elements. Sometimes with Global Color. This should match with Global Color to look good.', 'kidzieo' ),
'default' => '#f98a17',
),
array(
'type' => 'multicolor',
'settings' => 'gradient-color',
'label' => esc_attr__( 'Gradient Color', 'kidzieo' ),
'choices' => array(
'first' => esc_attr__( 'Starting Color', 'kidzieo' ),
'last' => esc_attr__( 'Ending Color', 'kidzieo' ),
),
'default' => array(
'first' => '#5616af',
'last' => '#6716aa',
),
),
array(
'type' => 'image',
'settings' => 'logo',
'label' => esc_attr__( 'Logo', 'kidzieo' ),
'description' => esc_attr__( 'Main logo', 'kidzieo' ),
'default' => get_template_directory_uri() . '/images/logo.svg',
'partial_refresh' => array(
'logo' => array(
'selector' => '.site-title',
'render_callback' => function() {
return pbmit_logo( 'yes' );
},
)
),
),
array(
'type' => 'number',
'settings' => 'logo-height',
'label' => esc_attr__( 'Logo Max Height', 'kidzieo' ),
'default' => 50,
'choices' => array(
'min' => 1,
'max' => 1000,
'step' => 1,
),
),
array(
'type' => 'image',
'settings' => 'sticky-logo',
'label' => esc_attr__( 'Sticky Logo', 'kidzieo' ),
'description' => esc_attr__( 'Sticky logo', 'kidzieo' ),
'default' => '',
'active_callback'=> array( array(
'setting' => 'sticky-header',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'number',
'settings' => 'sticky-logo-height',
'label' => esc_attr__( 'Sticky Logo Max Height', 'kidzieo' ),
'default' => 50,
'choices' => array(
'min' => 1,
'max' => 1000,
'step' => 1,
),
'active_callback'=> array( array(
'setting' => 'sticky-header',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'image',
'settings' => 'responsive-logo',
'label' => esc_attr__( 'Responsive Logo', 'kidzieo' ),
'description' => esc_attr__( 'This logo appear in small devices like mobile/tablet etc', 'kidzieo' ),
'default' => '',
),
array(
'type' => 'number',
'settings' => 'responsive-logo-height',
'label' => esc_attr__( 'Responsive Logo Max Height', 'kidzieo' ),
'default' => 50,
'choices' => array(
'min' => 1,
'max' => 1000,
'step' => 1,
),
),
array(
'type' => 'multicolor',
'settings' => 'link-color',
'label' => esc_attr__( 'Link Color', 'kidzieo' ),
'choices' => array(
'normal' => esc_attr__( 'Normal Color', 'kidzieo' ),
'hover' => esc_attr__( 'Mouse-Over (Hover) Color', 'kidzieo' ),
),
'default' => array(
'normal' => '#000000',
'hover' => '#5616af',
),
),
array(
'type' => 'switch',
'settings' => 'preloader',
'label' => esc_attr__( 'Show Preloader?', 'kidzieo' ),
'description' => esc_attr__( 'Show or hide preloader', 'kidzieo' ),
'default' => '0',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
array(
'type' => 'radio-image',
'settings' => 'preloader-image',
'label' => esc_html__( 'Select preloader image', 'kidzieo' ),
'default' => '1',
'choices' => array(
'1' => get_template_directory_uri() . '/images/loader1.svg',
'2' => get_template_directory_uri() . '/images/loader2.svg',
'3' => get_template_directory_uri() . '/images/loader3.svg',
'4' => get_template_directory_uri() . '/images/loader4.svg',
'5' => get_template_directory_uri() . '/images/loader5.svg',
'6' => get_template_directory_uri() . '/images/loader6.svg',
'7' => get_template_directory_uri() . '/images/loader7.svg',
'8' => get_template_directory_uri() . '/images/loader8.svg',
'9' => get_template_directory_uri() . '/images/loader9.svg',
),
'active_callback'=> array( array(
'setting' => 'preloader',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'switch',
'settings' => 'pbmit-cursor-disable',
'label' => esc_attr__( 'Cursor Disable?', 'kidzieo' ),
'description' => esc_attr__( 'Show or hide Mouse cursor Disable', 'kidzieo' ),
'default' => '0',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
array(
'type' => 'radio-image',
'settings' => 'sidebar-page',
'label' => esc_html__( 'Page Sidebar', 'kidzieo' ),
'default' => 'no',
'choices' => array(
'left' => get_template_directory_uri() . '/includes/images/sidebar-left.png',
'right' => get_template_directory_uri() . '/includes/images/sidebar-right.png',
'no' => get_template_directory_uri() . '/includes/images/sidebar-no.png',
),
),
// Advanced Settings
array(
'type' => 'custom',
'settings' => 'custom-advanced-options',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Advanced Settings', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Special advanced options', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'color',
'settings' => 'body-bg-color',
'label' => esc_attr__( 'Body Background Color', 'kidzieo' ),
'description' => esc_attr__( 'This is default Body background color.', 'kidzieo' ),
'default' => '#f2f0f9',
),
array(
'type' => 'switch',
'settings' => 'min',
'label' => esc_attr__( 'Load Minified CSS and JS Files?', 'kidzieo' ),
'description' => esc_attr__( 'Load minified files for CSS and JS code files. Select YES to reduce page load time.', 'kidzieo' ),
'default' => '1',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
array(
'type' => 'switch',
'settings' => 'hide_totop_button',
'label' => esc_attr__( 'Hide Scroll to Top Button', 'kidzieo' ),
'description' => esc_attr__( 'Show or hide Scroll to Top ( Totop ) Button.', 'kidzieo' ),
'default' => '0',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
array(
'type' => 'color',
'settings' => 'white-color',
'label' => esc_attr__( 'White Color', 'kidzieo' ),
'description' => esc_attr__( 'This is default white color for text.', 'kidzieo' ),
'default' => '#ffffff',
),
array(
'type' => 'color',
'settings' => 'light-bg-color',
'label' => esc_attr__( 'Light Background Color', 'kidzieo' ),
'description' => esc_attr__( 'This is default grey background color.', 'kidzieo' ),
'default' => '#f2f0f9',
),
array(
'type' => 'color',
'settings' => 'blackish-color',
'label' => esc_attr__( 'Blackish Text Color', 'kidzieo' ),
'description' => esc_attr__( 'This is default blackish color for text.', 'kidzieo' ),
'default' => '#000000',
),
array(
'type' => 'color',
'settings' => 'blackish-bg-color',
'label' => esc_attr__( 'Blackish Background Color', 'kidzieo' ),
'description' => esc_attr__( 'This is default blackish background color.', 'kidzieo' ),
'default' => '#000000',
),
// Global image quality
array(
'type' => 'custom',
'settings' => 'custom-image-qualityc-options',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Image quality Settings', 'kidzieo' ) . '</h2></div>',
),
array(
'type' => 'select',
'settings' => 'image-quality',
'label' => esc_attr__( 'Image quality', 'kidzieo' ),
'description' => esc_attr__( 'Select image quality level. Default is "82%". This will effect JPG and JPEG images only.', 'kidzieo' ),
'default' => esc_attr('82'),
'choices' => array(
'75' => esc_attr__( '75', 'kidzieo' ),
'80' => esc_attr__( '80', 'kidzieo' ),
'82' => esc_attr__( '82 (default)', 'kidzieo' ),
'85' => esc_attr__( '85', 'kidzieo' ),
'90' => esc_attr__( '90', 'kidzieo' ),
'95' => esc_attr__( '95', 'kidzieo' ),
'100' => esc_attr__( '100', 'kidzieo' ),
),
),
)
),
// Typography Settings
'typography_options' => array(
'section_settings' => array(
'title' => esc_attr__( 'Typography Options', 'kidzieo' ),
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
array(
'type' => 'typography',
'settings' => 'global-typography',
'label' => esc_attr__( 'Global Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array (
'font-family' => 'Schibsted Grotesk',
'variant' => 'normal',
'font-size' => '16px',
'line-height' => '1.5',
'letter-spacing' => '0px',
'color' => '#666666',
'text-transform' => 'none',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => 'body, .wpem-main, .course-tab-panels .course-tab-panel .lp-course-author .author-description',
'pbmit-all-variants' => true,
),
array(
'type' => 'typography',
'settings' => 'h1-typography',
'label' => esc_attr__( 'H1 Typography', 'kidzieo' ),
'tooltip' => esc_attr__( 'This is tooltip', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '600',
'font-size' => '48px',
'line-height' => '54px',
'letter-spacing' => '0px',
'color' => '#000000',
'text-transform' => 'none',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => 'h1',
),
array(
'type' => 'typography',
'settings' => 'h2-typography',
'label' => esc_attr__( 'H2 Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '600',
'font-size' => '42px',
'line-height' => '48px',
'letter-spacing' => '0px',
'color' => '#000000',
'text-transform' => 'none',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => 'h2',
),
array(
'type' => 'typography',
'settings' => 'h3-typography',
'label' => esc_attr__( 'H3 Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '600',
'font-size' => '36px',
'line-height' => '42px',
'letter-spacing' => '0px',
'color' => '#000000',
'text-transform' => 'none',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => 'h3',
),
array(
'type' => 'typography',
'settings' => 'h4-typography',
'label' => esc_attr__( 'H4 Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '600',
'font-size' => '32px',
'line-height' => '38px',
'letter-spacing' => '0px',
'color' => '#000000',
'text-transform' => 'none',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => 'h4',
),
array(
'type' => 'typography',
'settings' => 'h5-typography',
'label' => esc_attr__( 'H5 Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '600',
'font-size' => '26px',
'line-height' => '32px',
'letter-spacing' => '0px',
'color' => '#000000',
'text-transform' => 'none',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => 'h5',
),
array(
'type' => 'typography',
'settings' => 'h6-typography',
'label' => esc_attr__( 'H6 Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '600',
'font-size' => '22px',
'line-height' => '28px',
'letter-spacing' => '0px',
'color' => '#000000',
'text-transform' => 'none',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => 'h6',
),
// Heading Options
array(
'type' => 'custom',
'settings' => 'custom-heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Special Heading Typography', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Heading typography options', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'typography',
'settings' => 'heading-typography',
'label' => esc_attr__( 'Heading Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '600',
'font-size' => '48px',
'line-height' => '54px',
'letter-spacing' => '0px',
'color' => '#000000',
'text-transform' => 'none',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => '.pbmit-heading-subheading .pbmit-element-title',
),
array(
'type' => 'typography',
'settings' => 'subheading-typography',
'label' => esc_attr__( 'Sub-heading Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '700',
'font-size' => '18px',
'line-height' => '24px',
'letter-spacing' => '0px',
'color' => '#6621ba',
'text-transform' => 'none',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => '.pbmit-heading-subheading .pbmit-element-subtitle,.pbmit-element-subtitle-new',
),
array(
'type' => 'typography',
'settings' => 'content-typography',
'label' => esc_attr__( 'Content Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array(
'font-family' => 'Schibsted Grotesk',
'variant' => 'normal',
'font-size' => '16px',
'line-height' => '24px',
'letter-spacing' => '0px',
'color' => '#666666',
'text-transform' => 'none',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => '.pbmit-heading-subheading .pbmit-heading-desc',
),
array(
'type' => 'typography',
'settings' => 'widget-heading-typography',
'label' => esc_attr__( 'Widget Heading Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '600',
'font-size' => '24px',
'line-height' => '24px',
'letter-spacing' => '0px',
'color' => '#000000',
'text-transform' => 'capitalize',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => '
.pbminfotech-sidebar .widget_search .wp-block-search__label, .pbminfotech-sidebar .widget_block .wp-block-group h2,
.widget-title, .pbmit-footer-copyright-box h3, .course-summary .learnpress.widget .widgettitle',
),
array(
'type' => 'typography',
'settings' => 'footer-widget-heading-typography',
'label' => esc_attr__( 'Footer Widget Heading Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '600',
'font-size' => '18px',
'line-height' => '24px',
'letter-spacing' => '0px',
'color' => '#5616af',
'text-transform' => 'capitalize',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => '.pbmit-footer-widget .widget .widget-title',
),
array(
'type' => 'typography',
'settings' => 'buttons-typography',
'label' => esc_attr__( 'Button Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '600',
'font-size' => '16px',
'line-height' => '24px',
'letter-spacing' => '0px',
'text-transform' => 'none',
'font-style' => 'normal',
),
'pbmit-output' => '.pbmit-search-results-back-global-btn a, .pbmit-search-results-load-btn a, .pbmit-read-more-link a, .pbmit-service-btn a, .woocommerce ul.products li.product .onsale, .woocommerce div.product .woocommerce-tabs ul.tabs li a, .elementor-widget-button .elementor-button, .pbmit-ptable-btn, .pbmit-ptable-btn a, .pbmit-ihbox-btn a, .woocommerce .woocommerce-message .button, .woocommerce div.product form.cart .button, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, button, html input[type=button], input[type=reset], input[type=submit], .pbmit-btn a, .pbmit-ajax-load-more-btn a,.pbmit-form .wpcf7-submit, button.wpem-theme-button, .wpem-theme-button, a.wpem-theme-button, button.wpem-theme-button, input.wpem-theme-button, .pbmit-head-btn a, .pbmit-button-box .pbmit-header-button2 a, .error404 a.pbmit-home-back, .learnpress-page .course-summary .lp-button, .learnpress-page .course-summary #lp-button, .course-readmore a, .instructor-btn-view, .learnpress-page .lp-user-profile .lp-profile-content .lp-button',
),
// Extra Load Fonts Options
array(
'type' => 'custom',
'settings' => 'css-only-custom-heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'CSS only Typography', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'This will not apply to any font style but this font will be loaded so we can use anywhere.', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'typography',
'settings' => 'css-only-1-typography',
'label' => esc_attr__( 'First Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '500',
'font-style' => 'normal',
'font-backup' => '',
),
'pbmit-output' => '.pbmit-day-wrap, .site .elementor-accordion .elementor-tab-title, .wpem-date',
),
array(
'type' => 'typography',
'settings' => 'css-only-2-typography',
'label' => esc_attr__( 'Second Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '700',
'font-style' => 'normal',
'font-backup' => '',
),
'pbmit-output' => '.pbminfotech-static-box-number, .pbmit-timeline-year, .elementor-widget-progress .elementor-title, .pbmit-ihbox-style-7 .pbmit-heading-desc, #main_countedown_widget_2 .days.time_left, .pbmit-element-service-style-2 .pbminfotech-box-number, .pbmit-element-static-box-style-4 .pbminfotech-box-number, .widget.widget_pages ul li a, .site-content .widget.widget_categories ul li a, .site-content .widget.widget_recent_entries ul li>a, .site-content .widget.widget_nav_menu ul li>a, .pbmit-blog-meta-bottom .pbmit-meta-tags a, .pbminfotech-sidebar .widget_tag_cloud ul li a, .widget_archive ul li .pbmit-arc-li, .widget_categories ul li.cat-item .pbmit-cat-li, .pbm_addons_recent_posts_widget .pbmit-rpw-content .pbmit-rpw-title a, .pbmit-service-ads-wapper .pbmit-ads-btn a, .pbmit-blog-classic blockquote, .pbmit-author-content .pbmit-author-name, .comments-area .pbmit-comment-meta, .wp-block-comments .wp-block-comment-template .wp-block-column .wp-block-comment-reply-link .comment-reply-link, .reply a, .post-navigation .nav-links .nav-title, .stratum-countdown .countdown-amount, .wpem-organizer-name.wpem-heading-text span, .wpem-venue-name.wpem-heading-text a, .lp-course-author .author-title a, .single-pbmit-service .site-content .pbmit_widget_list_all_posts ul>li a, .pbminfotech-ptable-price, .site-content .widget_product_categories ul li a, .instructor-display-name, .site-footer.pbmit-footer-style-1 .widget.widget_nav_menu ul li>a, .site-content .widget.widget_meta ul li a, .site-footer.pbmit-footer-style-1 .widget.widget_meta ul li>a, .site-footer.pbmit-footer-style-1 .widget.widget_recent_entries ul li>a, .pbmit-meta-lessons-wrapper .pbmit-meta-line, .pbmit-course-wrapper .pbminfotech-price-wrap, .pbmit-tab-link, .pbmit-tab-content-title, .course-nav-tabs .course-nav label',
),
array(
'type' => 'typography',
'settings' => 'css-only-3-typography',
'label' => esc_attr__( 'Third Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array(
'font-family' => 'Schibsted Grotesk',
'variant' => 'normal',
'font-style' => 'normal',
'font-backup' => '',
),
'pbmit-output' => '',
),
array(
'type' => 'typography',
'settings' => 'css-only-4-typography',
'label' => esc_attr__( 'Fourth Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 1000 ], ], ],
'default' => array(
'font-family' => 'Schibsted Grotesk',
'variant' => '600',
'font-style' => 'normal',
'font-backup' => '',
),
'pbmit-output' => '.pbmit-ihbox-style-1 .pbmit-element-subtitle, .pbmit-ihbox-style-6 .pbmit-element-subtitle, .pbmit-team-single .pbmit-team-designation, .pbmit-ihbox-style-8 .pbmit-element-subtitle',
),
)
),
// Pre-Header Options
'preheader_options' => array(
'section_settings' => array(
'title' => esc_attr__( 'Pre-Header Options', 'kidzieo' ),
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
array(
'type' => 'switch',
'settings' => 'preheader-enable',
'label' => esc_attr__( 'Show or hide Pre-header', 'kidzieo' ),
'default' => '0',
'choices' => array(
'on' => esc_attr__( 'Show', 'kidzieo' ),
'off' => esc_attr__( 'Hide', 'kidzieo' ),
),
),
array(
'type' => 'radio-image',
'settings' => 'preheader-text-color',
'label' => esc_attr__( 'Select pre-header text color', 'kidzieo' ),
'default' => 'blackish',
'choices' => $pre_text_color_list,
'active_callback' => array(
array(
'setting' => 'preheader-enable',
'operator' => '==',
'value' => '1',
)
),
),
array(
'type' => 'radio-image',
'settings' => 'preheader-bgcolor',
'label' => esc_html__( 'Select pre-header background color', 'kidzieo' ),
'default' => 'transparent',
'choices' => $pre_color_list,
'active_callback' => array( array(
'setting' => 'preheader-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'color',
'settings' => 'preheader-bgcolor-custom',
'label' => esc_attr__( 'Select pre-header background custom color', 'kidzieo' ),
'description' => esc_attr__( 'Select custom color for pre-header background', 'kidzieo' ),
'default' => '#ffffff',
'active_callback'=> array(
array(
'setting' => 'preheader-bgcolor',
'operator' => '==',
'value' => 'custom',
),
array(
'setting' => 'preheader-enable',
'operator' => '==',
'value' => '1',
)
),
),
array(
'type' => 'number',
'settings' => 'preheader-responsive',
'label' => esc_attr__( 'Hide in screen size', 'kidzieo' ),
'description' => esc_attr__( 'Select screen size to hide this pre-header below the selected screen size. Preferred Sizes: 1200, 1024, 992 and 768', 'kidzieo' ),
'default' => 1200,
'choices' => array(
'min' => 1,
'max' => 2000,
'step' => 1,
),
'active_callback' => array( array(
'setting' => 'preheader-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'custom',
'settings' => 'preheader-content-heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Preheader content', 'kidzieo' ) . '</h2> <span>' . esc_attr__( 'Manage preheader content from here', 'kidzieo' ) . '</span></div>',
'active_callback' => array( array(
'setting' => 'preheader-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'textarea',
'settings' => 'preheader-left',
'label' => esc_attr__( 'Pre-header Left Content', 'kidzieo' ),
'default' => pbmit_esc_kses('<ul class="pbmit-contact-info"><li><a href="mailto:info@domain.com"><i class="pbmit-base-icon-envelope-solid"></i>info@domain.com</a></li><li><i class="pbmit-base-icon-location-dot-solid"></i>250 Main Street, 2nd Floor. USA</li></ul>'),
'active_callback' => array( array(
'setting' => 'preheader-enable',
'operator' => '==',
'value' => '1',
) ),
'partial_refresh' => array(
'preheader-left' => array(
'selector' => '.pbmit-pre-header-left',
'render_callback' => function() {
return get_theme_mod('preheader-left');
},
)
),
),
array(
'type' => 'textarea',
'settings' => 'preheader-right',
'label' => esc_attr__( 'Pre-header Right Content', 'kidzieo' ),
'default' => pbmit_esc_kses('<ul class="pbmit-contact-info"><li><a href="tel:+89(0)12562156"><i class="pbmit-base-icon-phone-volume-solid"></i>+89(0) 1256 2156</a></li></ul>[pbmit-social-links]'),
'active_callback' => array( array(
'setting' => 'preheader-enable',
'operator' => '==',
'value' => '1',
) ),
'partial_refresh' => array(
'preheader-right' => array(
'selector' => '.pbmit-pre-header-right',
'render_callback' => function() {
return get_theme_mod('preheader-right');
},
)
),
),
array(
'type' => 'switch',
'settings' => 'preheader-search',
'label' => esc_attr__( 'Show Search Icon in Pre-header Right Area?', 'kidzieo' ),
'description' => esc_attr__( 'Select YES to show search icon in pre-header right side.', 'kidzieo' ),
'default' => '0',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
'active_callback' => array( array(
'setting' => 'preheader-enable',
'operator' => '==',
'value' => '1',
) ),
),
),
),
// Header Options
'header_options' => array(
'section_settings' => array(
'title' => esc_attr__( 'Header Options', 'kidzieo' ),
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
array(
'type' => 'radio-image',
'settings' => 'header-style',
'label' => esc_html__( 'Header Style', 'kidzieo' ),
'description' => '<div class="pbmit-alert-message">'.esc_html__( 'NOTE: This will also change other options (like background color, menu color, logo etc) to set it with this header.', 'kidzieo' ).'</div>',
'default' => '1',
'choices' => $header_style_array,
),
// Header button
array(
'type' => 'custom',
'settings' => 'custom-header-button-options',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Header Button', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Set header button title and link', 'kidzieo' ) . '</span></div>',
'active_callback'=> array(
array(
array(
'setting' => 'header-style',
'operator' => '==',
'value' => '',
),
)
),
),
array(
'type' => 'text',
'settings' => 'header-btn-text',
'label' => esc_attr__( 'Header Button Text (1st line)', 'kidzieo' ),
'default' => esc_attr__( 'Contact Us Free', 'kidzieo' ),
'active_callback'=> array(
array(
array(
'setting' => 'header-style',
'operator' => '==',
'value' => '',
),
)
),
'partial_refresh' => array(
'header-btn-text' => array(
'selector' => '.pbmit-header-button',
'render_callback' => function() {
return pbmit_header_button( array('inneronly'=>'yes') );
},
)
),
),
array(
'type' => 'text',
'settings' => 'header-btn-text2',
'label' => esc_attr__( 'Header Button Text (2nd line)', 'kidzieo' ),
'default' => esc_attr__( '+8 257 214 392', 'kidzieo' ),
'active_callback'=> array(
array(
array(
'setting' => 'header-style',
'operator' => '==',
'value' => '',
),
)
),
'partial_refresh' => array(
'header-btn-text' => array(
'selector' => '.pbmit-header-button',
'render_callback' => function() {
return pbmit_header_button( array('inneronly'=>'yes') );
},
)
),
),
array(
'type' => 'text',
'settings' => 'header-btn-url',
'label' => esc_attr__( 'Header Button Link (URL)', 'kidzieo' ),
'default' => esc_url('tel:+8 257 214 392'),
'active_callback'=> array(
array(
array(
'setting' => 'header-style',
'operator' => '==',
'value' => '',
),
)
),
),
// Header Second button
array(
'type' => 'custom',
'settings' => 'custom-header-button2-options',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Header Button Second', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Set header button title and link', 'kidzieo' ) . '</span></div>',
'active_callback'=> array(
array(
array(
'setting' => 'header-style',
'operator' => '==',
'value' => '2',
),
array(
'setting' => 'header-style',
'operator' => '==',
'value' => '3',
),
array(
'setting' => 'header-style',
'operator' => '==',
'value' => '4',
),
)
),
),
array(
'type' => 'text',
'settings' => 'header-btn2-text',
'label' => esc_attr__( 'Header Button Text', 'kidzieo' ),
'default' => esc_attr__( 'Have any Question ?', 'kidzieo' ),
'active_callback'=> array(
array(
array(
'setting' => 'header-style',
'operator' => '==',
'value' => '2',
),
array(
'setting' => 'header-style',
'operator' => '==',
'value' => '3',
),
array(
'setting' => 'header-style',
'operator' => '==',
'value' => '4',
),
)
),
'partial_refresh' => array(
'header-btn-text' => array(
'selector' => '.pbmit-header-button',
'render_callback' => function() {
return pbmit_header_button( array('inneronly'=>'yes') );
},
)
),
),
array(
'type' => 'text',
'settings' => 'header-btn2-url',
'label' => esc_attr__( 'Header Button Link (URL)', 'kidzieo' ),
'default' => '',
'active_callback'=> array(
array(
array(
'setting' => 'header-style',
'operator' => '==',
'value' => '2',
),
array(
'setting' => 'header-style',
'operator' => '==',
'value' => '3',
),
array(
'setting' => 'header-style',
'operator' => '==',
'value' => '4',
),
)
),
),
// General Options
array(
'type' => 'custom',
'settings' => 'custom-header-options',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'General Options', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Common options that apply to all header styles', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'number',
'settings' => 'header-height',
'label' => esc_attr__( 'Header Height (in pixel)', 'kidzieo' ),
'description' => esc_attr__( 'Select header height', 'kidzieo' ),
'default' => 100,
'choices' => array(
'min' => 1,
'max' => 900,
'step' => 1,
),
),
array(
'type' => 'radio-image',
'settings' => 'header-bgcolor',
'label' => esc_html__( 'Select header background color', 'kidzieo' ),
'default' => 'transparent',
'choices' => $pre_color_list,
),
array(
'type' => 'color',
'settings' => 'header-background-color',
'label' => esc_attr__( 'Header Background Color', 'kidzieo' ),
'description' => esc_attr__( 'Select custom color for header background', 'kidzieo' ),
'default' => '#ffffff',
'active_callback'=> array(
array(
'setting' => 'header-bgcolor',
'operator' => '==',
'value' => 'custom',
)
),
),
// Search in Header
array(
'type' => 'custom',
'settings' => 'custom-search-header-options',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Search in Header', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Options for search in header area', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'switch',
'settings' => 'header-search',
'label' => esc_attr__( 'Show Search Icon in Header Area?', 'kidzieo' ),
'description' => esc_attr__( 'Select YES to show search icon in header area.', 'kidzieo' ),
'default' => 0,
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
// Sticky Header
array(
'type' => 'custom',
'settings' => 'custom-sticky-header-options',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Sticky Header Options', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Options for sticky header area', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'switch',
'settings' => 'sticky-header',
'label' => esc_attr__( 'Sticky Header on Scroll?', 'kidzieo' ),
'description' => esc_attr__( 'Select YES to make header sticky on scroll.', 'kidzieo' ),
'default' => '0',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
array(
'type' => 'number',
'settings' => 'sticky-header-height',
'label' => esc_attr__( 'Sticky Area Height (in pixel)', 'kidzieo' ),
'description' => esc_attr__( 'Select Area height for sticky header', 'kidzieo' ),
'default' => 90,
'choices' => array(
'min' => 1,
'max' => 300,
'step' => 1,
),
'active_callback'=> array(
array(
array(
'setting' => 'sticky-header',
'operator' => '==',
'value' => '1',
),
)
),
),
array(
'type' => 'radio-image',
'settings' => 'sticky-header-bgcolor',
'label' => esc_html__( 'Sticky Area Background Color', 'kidzieo' ),
'default' => 'white',
'choices' => $pre_color_list,
'active_callback' => array(
array(
'setting' => 'sticky-header',
'operator' => '==',
'value' => '1',
)
),
),
array(
'type' => 'color',
'settings' => 'sticky-header-background-color',
'label' => esc_attr__( 'Sticky Header Background Custom Color', 'kidzieo' ),
'description' => esc_attr__( 'Select custom color for sticky header background', 'kidzieo' ),
'default' => '#ffffff',
'active_callback'=> array(
array(
'setting' => 'sticky-header',
'operator' => '==',
'value' => '1',
),
array(
'setting' => 'sticky-header-bgcolor',
'operator' => '==',
'value' => 'custom',
)
),
),
// Responsive Header
array(
'type' => 'custom',
'settings' => 'responsive-header-options',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Responsive Header Options', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Options for responsive (mobile or tablet mode) header area', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'radio-image',
'settings' => 'responsive-header-bgcolor',
'label' => esc_html__( 'Select header background color', 'kidzieo' ),
'default' => '',
'choices' => $pre_two_color_list,
),
),
),
// Menu Options
'menu_options' => array(
'section_settings' => array(
'title' => esc_attr__( 'Menu Options', 'kidzieo' ),
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
// Main Menu Options
array(
'type' => 'custom',
'settings' => 'main-menu-heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Main Menu Options', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Set Main Menu font settings', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'typography',
'settings' => 'main-menu-typography',
'label' => esc_attr__( 'Main Menu Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 600 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '700',
'font-size' => '16px',
'line-height' => '26px',
'letter-spacing' => '0px',
'color' => '#000000',
'text-transform' => 'none',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => 'body:not(.mega-menu-pbminfotech-top) .pbmit-navbar div > ul > li > a, .pbmit-max-mega-menu-override #page #site-navigation .max-mega-menu > li.mega-menu-item > a.mega-menu-link, .pbmit-burger-menu-area .menu-main-menu-container ul > li > a',
),
array(
'type' => 'radio-image',
'settings' => 'main-menu-active-color',
'label' => esc_attr__( 'Main Menu Active Link Color', 'kidzieo' ),
'description' => esc_attr__( 'This color will be applied to main menu when the menu link is active', 'kidzieo' ),
'default' => 'globalcolor',
'choices' => $pre_text_color_list,
),
array(
'type' => 'color',
'settings' => 'main-menu-sticky-color',
'label' => esc_attr__( 'Main Menu Text Color for Sticky Header', 'kidzieo' ),
'description' => esc_attr__( 'This color will be applied to main menu text when header is sticky', 'kidzieo' ),
'default' => '#000000',
),
array(
'type' => 'color',
'settings' => 'main-menu-sticky-active-color',
'label' => esc_attr__( 'Main Menu Active Link Color for Sticky Header', 'kidzieo' ),
'description' => esc_attr__( 'This color will be applied to main menu when the menu link is active in sticky header', 'kidzieo' ),
'default' => '#6621ba',
),
// Dropdown Menu Options
array(
'type' => 'custom',
'settings' => 'drop-down-menu-heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Dropdown Menu Options', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Set Dropdown font settings', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'typography',
'settings' => 'dropdown-menu-typography',
'label' => esc_attr__( 'Dropdown Menu Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 600 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '600',
'font-size' => '14px',
'line-height' => '24px',
'letter-spacing' => '0px',
'color' => '#666666',
'text-transform' => 'none',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => '.pbmit-navbar ul ul a,
.pbmit-max-mega-menu-override #page #site-navigation .mega-menu-wrap > ul > li.mega-menu-flyout > ul.mega-sub-menu li.mega-menu-item a.mega-menu-link,
.pbmit-max-mega-menu-override #page #site-navigation .mega-menu-wrap > ul > li > ul.mega-sub-menu li.mega-menu-item > a:hover,
.pbmit-max-mega-menu-override #page #site-navigation .mega-menu-wrap > ul > li > ul.mega-sub-menu li.mega-menu-item > a:focus,
.pbmit-max-mega-menu-override #page #site-navigation .mega-menu-wrap > ul > li.mega-menu-megamenu > ul.mega-sub-menu ul:not(.menu) > li.mega-menu-item > a.mega-menu-link,
.pbmit-max-mega-menu-override #page #site-navigation .mega-menu-wrap > ul > li.mega-menu-megamenu > ul.mega-sub-menu li .widget_nav_menu ul.menu > li.mega-menu-item > a.mega-menu-link, .pbmit-burger-menu-area .menu-main-menu-container ul ul a',
),
array(
'type' => 'background',
'settings' => 'dropdown_background',
'label' => esc_attr__( 'Dropdown Menu Background', 'kidzieo' ),
'description' => esc_attr__( 'Background settings for Dropdown Menu', 'kidzieo' ),
'default' => array(
'background-color' => '#ffffff',
'background-image' => '',
'background-repeat' => 'repeat',
'background-position' => 'center center',
'background-size' => 'cover',
'background-attachment' => 'scroll',
),
'pbmit-output' => '.pbmit-max-mega-menu-override #page #site-navigation .mega-menu-wrap > ul > li.mega-menu-flyout > ul.mega-sub-menu,.pbmit-navbar ul ul, .pbmit-navbar ul ul:before',
),
array(
'type' => 'radio-image',
'settings' => 'drop-down-menu-active-color',
'label' => esc_html__( 'Dropdown Menu Active Color', 'kidzieo' ),
'default' => 'globalcolor',
'choices' => $pre_text_color_list,
),
// Max Mega Menu Option
array(
'type' => 'custom',
'settings' => 'max-mega-menu-override-heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Max Mega Menu Plugin Option', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Option for Max Mega Menu plugin', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'switch',
'settings' => 'max-mega-menu-override',
'label' => esc_attr__( 'Override Max Mega Menu design?', 'kidzieo' ),
'description' => esc_attr__( 'Select YES to override Max Mega Menu design. Make sure you are using "Max Mega Menu" plugin for mega menu', 'kidzieo' ),
'default' => '1',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
array(
'type' => 'typography',
'settings' => 'mmm-title-typography',
'label' => esc_attr__( 'Max Mega Menu - Widget Title Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 600 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '700',
'font-size' => '20px',
'line-height' => '24px',
'letter-spacing' => '0px',
'color' => '#000000',
'text-transform' => 'none',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => '.pbmit-max-mega-menu-override #page #site-navigation .mega-menu-wrap > ul > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title, .pbmit-max-mega-menu-override #page #site-navigation .mega-menu-wrap > ul > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title',
),
array( // 1st dropdown mega menu
'type' => 'background',
'settings' => 'mmm-1-dropdown',
'label' => esc_attr__( 'Max Mega Menu - 1st Dropdown Menu Background Option', 'kidzieo' ),
'description' => esc_attr__( 'Background settings for first Dropdown Menu in Max Mega Menu', 'kidzieo' ),
'default' => array(
'background-color' => '#ffffff',
'background-image' => '',
'background-repeat' => 'repeat',
'background-position' => 'center center',
'background-size' => 'cover',
'background-attachment' => 'scroll',
),
'pbmit-output' => '.pbmit-max-mega-menu-override #page #site-navigation .mega-menu-wrap > ul > li:nth-child(1) > ul.mega-sub-menu',
),
array( // 2nd dropdown mega menu
'type' => 'background',
'settings' => 'mmm-2-dropdown',
'label' => esc_attr__( 'Max Mega Menu - 2nd Dropdown Menu Background Option', 'kidzieo' ),
'description' => esc_attr__( 'Background settings for second Dropdown Menu in Max Mega Menu', 'kidzieo' ),
'default' => array(
'background-color' => '#ffffff',
'background-image' => '',
'background-repeat' => 'repeat',
'background-position' => 'center center',
'background-size' => 'cover',
'background-attachment' => 'scroll',
),
'pbmit-output' => '.pbmit-max-mega-menu-override #page #site-navigation .mega-menu-wrap > ul > li:nth-child(2) > ul.mega-sub-menu',
),
array( // 3rd dropdown mega menu
'type' => 'background',
'settings' => 'mmm-3-dropdown',
'label' => esc_attr__( 'Max Mega Menu - 3rd Dropdown Menu Background Option', 'kidzieo' ),
'description' => esc_attr__( 'Background settings for third Dropdown Menu in Max Mega Menu', 'kidzieo' ),
'default' => array(
'background-color' => '#ffffff',
'background-image' => '',
'background-repeat' => 'repeat',
'background-position' => 'center center',
'background-size' => 'cover',
'background-attachment' => 'scroll',
),
'pbmit-output' => '.pbmit-max-mega-menu-override #page #site-navigation .mega-menu-wrap > ul > li:nth-child(3) > ul.mega-sub-menu',
),
array( // 4th dropdown mega menu
'type' => 'background',
'settings' => 'mmm-4-dropdown',
'label' => esc_attr__( 'Max Mega Menu - 4th Dropdown Menu Background Option', 'kidzieo' ),
'description' => esc_attr__( 'Background settings for fourth Dropdown Menu in Max Mega Menu', 'kidzieo' ),
'default' => array(
'background-color' => '#ffffff',
'background-image' => '',
'background-repeat' => 'repeat',
'background-position' => 'center center',
'background-size' => 'cover',
'background-attachment' => 'scroll',
),
'pbmit-output' => '.pbmit-max-mega-menu-override #page #site-navigation .mega-menu-wrap > ul > li:nth-child(4) > ul.mega-sub-menu',
),
array( // 5th dropdown mega menu
'type' => 'background',
'settings' => 'mmm-5-dropdown',
'label' => esc_attr__( 'Max Mega Menu - 5th Dropdown Menu Background Option', 'kidzieo' ),
'description' => esc_attr__( 'Background settings for fifth Dropdown Menu in Max Mega Menu', 'kidzieo' ),
'default' => array(
'background-color' => '#ffffff',
'background-image' => '',
'background-repeat' => 'repeat',
'background-position' => 'center center',
'background-size' => 'cover',
'background-attachment' => 'scroll',
),
'pbmit-output' => '.pbmit-max-mega-menu-override #page #site-navigation .mega-menu-wrap > ul > li:nth-child(5) > ul.mega-sub-menu',
),
array( // 6th dropdown mega menu
'type' => 'background',
'settings' => 'mmm-6-dropdown',
'label' => esc_attr__( 'Max Mega Menu - 6th Dropdown Menu Background Option', 'kidzieo' ),
'description' => esc_attr__( 'Background settings for sixth Dropdown Menu in Max Mega Menu', 'kidzieo' ),
'default' => array(
'background-color' => '#ffffff',
'background-image' => '',
'background-repeat' => 'repeat',
'background-position' => 'center center',
'background-size' => 'cover',
'background-attachment' => 'scroll',
),
'pbmit-output' => '.pbmit-max-mega-menu-override #page #site-navigation .mega-menu-wrap > ul > li:nth-child(6) > ul.mega-sub-menu',
),
)
),
// Titlebar Options
'titlebar_options' => array(
'section_settings' => array(
'title' => esc_attr__( 'Titlebar Options', 'kidzieo' ),
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
array(
'type' => 'switch',
'settings' => 'titlebar-enable',
'label' => esc_attr__( 'Show Titlebar?', 'kidzieo' ),
'description' => esc_attr__( 'Show or hide Titlebar', 'kidzieo' ),
'default' => '1',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
array(
'type' => 'number',
'settings' => 'titlebar-height',
'label' => esc_attr__( 'Titlebar Height', 'kidzieo' ),
'default' => 300,
'choices' => array(
'min' => 1,
'max' => 1000,
'step' => 1,
),
'active_callback' => array( array(
'setting' => 'titlebar-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'select',
'settings' => 'titlebar-style',
'label' => esc_attr__( 'Titlebar Style', 'kidzieo' ),
'description' => esc_attr__( 'Select style for Titlebar', 'kidzieo' ),
'default' => 'left',
'choices' => array(
'left' => esc_attr__( 'All Left Aligned', 'kidzieo' ),
'center' => esc_attr__( 'All Center Aligned', 'kidzieo' )
),
'active_callback' => array( array(
'setting' => 'titlebar-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'switch',
'settings' => 'titlebar-hide-breadcrumb',
'label' => esc_attr__( 'Hide Breadcrumb?', 'kidzieo' ),
'description' => esc_attr__( 'Show or hide breadcrumb in Titlebar', 'kidzieo' ),
'default' => '0',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
'active_callback' => array( array(
'setting' => 'titlebar-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'multicheck',
'settings' => 'titlebar-bg-featured',
'label' => esc_attr__( 'Featured Image as Titlebar Background', 'kidzieo' ),
'description' => esc_attr__( 'Select which section (CPT) will show featured image as background image in Titlebar. NOTE: This will work for Single view only.', 'kidzieo' ),
'default' => array(),
'choices' => array(
'post' => sprintf( esc_attr__('For %1$s', 'kidzieo') , '"Post"' ),
'page' => sprintf( esc_attr__('For %1$s', 'kidzieo') , '"Page"' ),
'pbmit-portfolio' => sprintf( esc_attr__('For %1$s', 'kidzieo') , '"'.$portfolio_cpt_singular_title.'"' ),
'pbmit-team-member' => sprintf( esc_attr__('For %1$s', 'kidzieo') , '"'.$team_cpt_singular_title.'"' ),
),
'active_callback' => array( array(
'setting' => 'titlebar-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'radio-image',
'settings' => 'titlebar-bgcolor',
'label' => esc_html__( 'Select Titlebar background color', 'kidzieo' ),
'default' => 'blackish',
'choices' => $pre_color_with_gradient_list,
'active_callback' => array( array(
'setting' => 'titlebar-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'background',
'settings' => 'titlebar-background',
'label' => esc_attr__( 'Background', 'kidzieo' ),
'description' => esc_attr__( 'Background Settings', 'kidzieo' ),
'default' => array(
'background-color' => '#000000',
'background-repeat' => 'no-repeat',
'background-position' => 'center center',
'background-size' => 'cover',
'background-attachment' => 'scroll',
),
'pbmit-output' => '.pbmit-title-bar-wrapper, .pbmit-title-bar-wrapper.pbmit-bg-color-custom:before',
'active_callback' => array( array(
'setting' => 'titlebar-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'typography',
'settings' => 'titlebar-heading-typography',
'label' => esc_attr__( 'Titlebar Heading Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 600 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '700',
'font-size' => '60px',
'line-height' => '70px',
'letter-spacing' => '0px',
'color' => '#ffffff',
'text-transform' => 'capitalize',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => '.pbmit-tbar-title',
'active_callback' => array( array(
'setting' => 'titlebar-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'typography',
'settings' => 'titlebar-subheading-typography',
'label' => esc_attr__( 'Titlebar Sub-heading Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 600 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '600',
'font-size' => '15px',
'line-height' => '24px',
'letter-spacing' => '0px',
'color' => '#ffffff',
'text-transform' => 'capitalize',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => '.pbmit-tbar-subtitle',
'active_callback' => array( array(
'setting' => 'titlebar-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'typography',
'settings' => 'titlebar-breadcrumb-typography',
'label' => esc_attr__( 'Titlebar Breadcrumb Typography', 'kidzieo' ),
'choices' => [ 'fonts' => [ 'google' => [ 'popularity', 600 ], ], ],
'default' => array(
'font-family' => 'Bitter',
'variant' => '600',
'font-size' => '15px',
'line-height' => '24px',
'letter-spacing' => '0px',
'color' => '#ffffff',
'text-transform' => 'capitalize',
'font-backup' => '',
'font-style' => 'normal',
),
'priority' => 10,
'pbmit-output' => '.pbmit-breadcrumb, .pbmit-breadcrumb a',
'active_callback' => array(
array(
'setting' => 'titlebar-enable',
'operator' => '==',
'value' => '1',
),
array(
'setting' => 'titlebar-hide-breadcrumb',
'operator' => '==',
'value' => '0',
)
),
),
),
),
// Footer Options
'footer_options' => array(
'section_settings' => array(
'title' => esc_attr__( 'Footer Options', 'kidzieo' ),
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
array(
'type' => 'switch',
'settings' => 'footer-enable',
'label' => esc_attr__( 'Show footer?', 'kidzieo' ),
'description' => esc_attr__( 'Show or hide footer', 'kidzieo' ),
'default' => '1',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
// Footer Background settings
array(
'type' => 'custom',
'settings' => 'footer-background-settings-heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Footer Background Settings', 'kidzieo' ) . '</h2> <span>' . esc_attr__( 'Manage footer background settings from here', 'kidzieo' ) . '</span></div>',
'active_callback' => array( array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'radio-image',
'settings' => 'footer-style',
'label' => esc_html__( 'Select Footer Style', 'kidzieo' ),
'default' => '1',
'choices' => array(
'1' => get_template_directory_uri() . '/includes/images/footer-style-1.jpg',
'2' => get_template_directory_uri() . '/includes/images/footer-style-2.jpg',
),
'active_callback' => array( array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'radio-image',
'settings' => 'footer-bgcolor',
'label' => esc_html__( 'Select Full Footer background color', 'kidzieo' ),
'description' => esc_attr__( 'This will be applied to full footer area including footer widget area and footer copyright area.', 'kidzieo' ),
'default' => 'white',
'choices' => array_merge( array('gradientcolor' => get_template_directory_uri() . '/includes/images/precolor-gradientcolor.png',), $pre_color_list),
'active_callback' => array( array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'background',
'settings' => 'footer-background',
'label' => esc_attr__( 'Full Footer Background', 'kidzieo' ),
'description' => esc_attr__( 'This will be applied to full footer area including footer widget area and footer copyright area.', 'kidzieo' ),
'default' => array(
'background-color' => '#ffffff',
'background-image' => '',
'background-repeat' => 'no-repeat',
'background-position' => 'center top',
'background-size' => 'contain',
'background-attachment' => 'scroll',
),
'active_callback' => array( array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
) ),
'pbmit-output' => '.site-footer, .site-footer.pbmit-bg-color-custom:before',
),
array(
'type' => 'radio-image',
'settings' => 'footer-text-color',
'label' => esc_attr__( 'Select Footer Text Color', 'kidzieo' ),
'default' => 'blackish',
'choices' => $pre_text_color_list,
'active_callback' => array( array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
) ),
),
// Footer Boxes Area
array(
'type' => 'custom',
'settings' => 'footer-boxes-area-heading',
'default' => '<div class="kidzieo-option-heading"><h2>' . esc_html__( 'Footer Boxes Area', 'kidzieo' ) . '</h2> <span>' . esc_attr__( 'Manage footer boxes from here', 'kidzieo' ) . '</span></div>',
'active_callback'=> array(
array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
),
array(
array(
'setting' => 'footer-style',
'operator' => '==',
'value' => '2',
),
),
),
),
array(
'type' => 'switch',
'settings' => 'footer-boxes-area',
'label' => esc_attr__( 'Show footer boxes?', 'kidzieo' ),
'default' => '0',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
'active_callback'=> array(
array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
),
array(
array(
'setting' => 'footer-style',
'operator' => '==',
'value' => '2',
),
),
),
),
array(
'type' => 'textarea',
'settings' => 'footer-left-area',
'label' => esc_attr__( 'Footer Left Area', 'kidzieo' ),
'default' => pbmit_esc_kses('<h3>What are you waiting for to register and start this new adventure?</h3>'),
'active_callback'=> array(
array(
'setting' => 'footer-boxes-area',
'operator' => '==',
'value' => '1',
),
array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
),
array(
array(
'setting' => 'footer-style',
'operator' => '==',
'value' => '2',
),
),
),
),
array(
'type' => 'textarea',
'settings' => 'footer-right-area',
'label' => esc_attr__( 'Footer Right Area', 'kidzieo' ),
'default' => pbmit_esc_kses('<div class="pbmit-qoute-button"><a href="http://kidzieo-demo.pbminfotech.com/digital-agency/contact-us-1">Purchase Theme</a></div>'),
'active_callback'=> array(
array(
'setting' => 'footer-boxes-area',
'operator' => '==',
'value' => '1',
),
array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
),
array(
array(
'setting' => 'footer-style',
'operator' => '==',
'value' => '2',
),
),
),
),
array(
'type' => 'image',
'settings' => 'footer-logo',
'label' => esc_attr__( 'Foorer Logo', 'kidzieo' ),
'default' => get_template_directory_uri() . '/images/logo.png',
'active_callback'=> array(
array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
),
array(
array(
'setting' => 'footer-style',
'operator' => '==',
'value' => '',
),
),
),
),
// Footer Instagram Boxes Area
array(
'type' => 'custom',
'settings' => 'footer-Instagram-area-heading',
'default' => '<div class="kidzieo-option-heading"><h2>' . esc_html__( 'Footer Instagram Area', 'kidzieo' ) . '</h2></div>',
'active_callback'=> array(
array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
),
array(
array(
'setting' => 'footer-style',
'operator' => '==',
'value' => '2',
),
),
),
),
array(
'type' => 'switch',
'settings' => 'footer-instagram-area',
'description' => esc_attr__( 'Show Instagram images? (make sure you installed instagram plugin)', 'kidzieo' ) . ' ' . pbmit_esc_kses('<br><a target="_blank" href="' . esc_url('https://wordpress.org/plugins/instagram-feed/') . '">' . esc_attr__( 'Instagram Feed.', 'kidzieo' ) . '</a>' ),
'label' => esc_attr__( 'Show footer instagram?', 'kidzieo' ),
'default' => '1',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
'active_callback'=> array(
array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
),
array(
array(
'setting' => 'footer-style',
'operator' => '==',
'value' => '2',
),
),
),
),
array(
'type' => 'textarea',
'settings' => 'footer-instagram-text',
'description' => esc_attr__( 'You can use [instagram-feed feed=1] shortcode for Show instagram Post.', 'yoge' ),
'active_callback'=> array(
array(
'setting' => 'footer-instagram-area',
'operator' => '==',
'value' => '1',
),
array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
),
array(
array(
'setting' => 'footer-style',
'operator' => '==',
'value' => '2',
),
),
),
),
// Footer Widget Area
array(
'type' => 'custom',
'settings' => 'footer-widget-heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Footer Widget Area', 'kidzieo' ) . '</h2> <span>' . esc_attr__( 'Manage widget area settings', 'kidzieo' ) . '</span></div>',
'active_callback' => array( array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'radio-image',
'settings' => 'footer-column',
'label' => esc_html__( 'Footer Widget Column Type', 'kidzieo' ),
'description' => esc_html__( 'This will show widgets. You can manage it from "Admin > Appearance > Widgets" section.', 'kidzieo' ),
'default' => 'custom',
'choices' => array(
'12' => get_template_directory_uri() . '/includes/images/footer-12.png',
'6-6' => get_template_directory_uri() . '/includes/images/footer-6-6.png',
'4-4-4' => get_template_directory_uri() . '/includes/images/footer-4-4-4.png',
'3-3-3-3' => get_template_directory_uri() . '/includes/images/footer-3-3-3-3.png',
'2-2-2-6' => get_template_directory_uri() . '/includes/images/footer-2-2-2-6.png',
'6-2-2-2' => get_template_directory_uri() . '/includes/images/footer-6-2-2-2.png',
'8-4' => get_template_directory_uri() . '/includes/images/footer-8-4.png',
'4-8' => get_template_directory_uri() . '/includes/images/footer-4-8.png',
'custom' => get_template_directory_uri() . '/includes/images/footer-col-custom.png',
),
'active_callback' => array( array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'select',
'settings' => 'footer-1-col-width',
'label' => esc_attr__( 'Footer Widget Width - 1st Column', 'kidzieo' ),
'description' => esc_attr__( 'Set custom width of the 1st column in footer widget area', 'kidzieo' ),
'default' => '37',
'choices' => $footer_col_width_array,
'active_callback' => array(
array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
),
array(
'setting' => 'footer-column',
'operator' => '==',
'value' => 'custom',
)
),
),
array(
'type' => 'select',
'settings' => 'footer-2-col-width',
'label' => esc_attr__( 'Footer Widget Width - 2nd Column', 'kidzieo' ),
'description' => esc_attr__( 'Set custom width of the 2nd column in footer widget area', 'kidzieo' ),
'default' => '17',
'choices' => $footer_col_width_array,
'active_callback' => array(
array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
),
array(
'setting' => 'footer-column',
'operator' => '==',
'value' => 'custom',
)
),
),
array(
'type' => 'select',
'settings' => 'footer-3-col-width',
'label' => esc_attr__( 'Footer Widget Width - 3rd Column', 'kidzieo' ),
'description' => esc_attr__( 'Set custom width of the 3rd column in footer widget area', 'kidzieo' ),
'default' => '17',
'choices' => $footer_col_width_array,
'active_callback' => array(
array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
),
array(
'setting' => 'footer-column',
'operator' => '==',
'value' => 'custom',
)
),
),
array(
'type' => 'select',
'settings' => 'footer-4-col-width',
'label' => esc_attr__( 'Footer Widget Width - 4th Column', 'kidzieo' ),
'description' => esc_attr__( 'Set custom width of the 4th column in footer widget area', 'kidzieo' ),
'default' => '29',
'choices' => $footer_col_width_array,
'active_callback' => array(
array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
),
array(
'setting' => 'footer-column',
'operator' => '==',
'value' => 'custom',
)
),
),
array(
'type' => 'radio-image',
'settings' => 'footer-widget-bgcolor',
'label' => esc_html__( 'Select Footer Widget Area background color', 'kidzieo' ),
'default' => 'transparent',
'choices' => $pre_color_with_gradient_list,
'active_callback' => array( array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'background',
'settings' => 'footer-widget-background',
'label' => esc_attr__( 'Footer Widget Area Background', 'kidzieo' ),
'description' => esc_attr__( 'Background Settings for footer widget area', 'kidzieo' ),
'default' => array(
'background-color' => '#000000',
'background-image' => '',
'background-repeat' => 'repeat',
'background-position' => 'center center',
'background-size' => 'cover',
'background-attachment' => 'scroll',
),
'active_callback' => array( array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
) ),
'pbmit-output' => '.pbmit-footer-widget-area, .pbmit-footer-widget-area.pbmit-bg-color-custom:before',
),
array(
'type' => 'switch',
'settings' => 'footer-widget-color-switch',
'label' => esc_attr__( 'Set Custom Text Color for Widget Area?', 'kidzieo' ),
'default' => '0',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
'active_callback' => array( array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'radio-image',
'settings' => 'footer-widget-text-color',
'label' => esc_attr__( 'Footer Widget Area Text Color', 'kidzieo' ),
'default' => 'transparent',
'choices' => $pre_text_color_list,
'active_callback' => array(
array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
),
array(
'setting' => 'footer-widget-color-switch',
'operator' => '==',
'value' => '1',
)
),
),
array(
'type' => 'custom',
'settings' => 'footer-copyright-heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Footer Copyright Text Area', 'kidzieo' ) . '</h2> <span>' . esc_attr__( 'Manage bottom footer area from here', 'kidzieo' ) . '</span></div>',
'active_callback' => array( array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'radio-image',
'settings' => 'footer-copyright-bgcolor',
'label' => esc_html__( 'Select Footer Copyright Area background color', 'kidzieo' ),
'default' => 'transparent',
'choices' => $pre_color_with_gradient_list,
'active_callback' => array( array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'background',
'settings' => 'footer-copyright-background',
'label' => esc_attr__( 'Footer Copyright Area Background', 'kidzieo' ),
'description' => esc_attr__( 'Background Settings for footer copyright area', 'kidzieo' ),
'default' => array(
'background-color' => '#0a0a0a',
'background-image' => '',
'background-repeat' => 'repeat',
'background-position' => 'center center',
'background-size' => 'cover',
'background-attachment' => 'scroll',
),
'active_callback' => array( array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
) ),
'pbmit-output' => '.pbmit-footer-text-area, .pbmit-footer-text-area.pbmit-bg-color-custom:before',
),
array(
'type' => 'switch',
'settings' => 'footer-copyright-color-switch',
'label' => esc_attr__( 'Set Custom Text Color for Copyright Area?', 'kidzieo' ),
'default' => '0',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
'active_callback' => array( array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'radio-image',
'settings' => 'footer-copyright-text-color',
'label' => esc_attr__( 'Footer Copyright Area Text Color', 'kidzieo' ),
'default' => 'white',
'choices' => array_merge( array('inherit' => get_template_directory_uri() . '/includes/images/precolor-inherit.png'), $pre_text_color_list ),
'active_callback' => array(
array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
),
array(
'setting' => 'footer-copyright-color-switch',
'operator' => '==',
'value' => '1',
)
),
),
array(
'type' => 'editor',
'settings' => 'copyright-text',
'label' => esc_attr__( 'Footer Copyright Text', 'kidzieo' ),
'default' => sprintf( esc_attr__( 'Copyright © %1$s %2$s, All Rights Reserved.', 'kidzieo' ), date('Y'), '<a href="' . esc_url( home_url( '/' ) ) . '">' . get_bloginfo('name') . '</a>' ),
'priority' => 10,
'partial_refresh' => array(
'copyright-text' => array(
'selector' => '.pbmit-footer-copyright-text',
'render_callback' => function() {
return get_theme_mod('copyright-text');
},
)
),
'active_callback' => array( array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'select',
'settings' => 'footer-copyright-right-content',
'label' => esc_attr__( 'Footer Right Area', 'kidzieo' ),
'description' => esc_attr__( 'What you like to show at right side or copyright text', 'kidzieo' ),
'default' => 'menu',
'choices' => array(
'social' => esc_attr__( 'Show Social Links', 'kidzieo' ),
'menu' => esc_attr__( 'Show Footer Menu', 'kidzieo' ),
'none' => esc_attr__( 'None', 'kidzieo' ),
),
'active_callback' => array( array(
'setting' => 'footer-enable',
'operator' => '==',
'value' => '1',
) ),
),
)
),
// Social Links Options
'social_links_options' => array(
'section_settings' => array(
'title' => esc_attr__( 'Social Links Options', 'kidzieo' ),
'description' => esc_attr__( 'You can use [pbmit-social-links] shortcode for social list with icon.', 'kidzieo' ),
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => $social_options_array
),
// Blog Settings
'blog_options' => array(
'section_settings' => array(
'title' => esc_attr__( 'Blog Options', 'kidzieo' ),
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
array(
'type' => 'custom',
'settings' => 'custom-blog-options',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Blog Settings', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Settings for Blogroll, Category, Tag, Archives etc section.', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'radio',
'settings' => 'blogroll-view-select',
'label' => esc_html__( 'Select Blogroll view', 'kidzieo' ),
'default' => 'classic',
'choices' => [
'classic' => esc_html__( 'Classic View', 'kidzieo' ),
'grid' => esc_html__( 'Grid View', 'kidzieo' ),
],
),
array(
'type' => 'radio-image',
'settings' => 'blogroll-view',
'label' => esc_html__( 'Blogroll view', 'kidzieo' ),
'default' => '1',
'choices' => pbmit_element_template_list('blog', 'customizer'),
'active_callback' => array(
array(
'setting' => 'blogroll-view-select',
'operator' => '==',
'value' => 'grid',
)
),
),
array(
'type' => 'radio-image',
'settings' => 'blogroll-column',
'label' => esc_html__( 'Blogroll column', 'kidzieo' ),
'default' => '2',
'choices' => $column_list,
'active_callback' => array(
array(
'setting' => 'blogroll-view-select',
'operator' => '==',
'value' => 'grid',
)
),
),
array(
'type' => 'switch',
'settings' => 'blog-show-related',
'label' => esc_attr__( 'Show Related Post?', 'kidzieo' ),
'default' => '0',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
array(
'type' => 'text',
'settings' => 'blog-related-title',
'label' => esc_attr__( 'Related Post Section Title', 'kidzieo' ),
'description' => esc_attr__( 'Related Area Title', 'kidzieo' ),
'default' => esc_attr__( 'Related Post', 'kidzieo' ),
'active_callback' => array(
array(
'setting' => 'blog-show-related',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'number',
'settings' => 'blog-related-count',
'label' => esc_attr__( 'How many post you like to show', 'kidzieo' ),
'default' => 3,
'choices' => array(
'min' => 1,
'max' => 50,
'step' => 1,
),
'active_callback' => array(
array(
'setting' => 'blog-show-related',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'radio-image',
'settings' => 'blog-related-column',
'label' => esc_html__('Related Post Column', 'kidzieo' ),
'default' => '2',
'choices' => $column_list,
'active_callback' => array(
array(
'setting' => 'blog-show-related',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'radio-image',
'settings' => 'blog-related-style',
'label' => esc_html__( 'Related Post View', 'kidzieo' ),
'default' => '1',
'choices' => $blog_styles,
'active_callback' => array(
array(
'setting' => 'blog-show-related',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'custom',
'settings' => 'custom-blog-classic-options',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Blog Classic Settings', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Settings for Blog Classic view.', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'switch',
'settings' => 'blog-classic-limit-switch',
'label' => esc_attr__( 'Limit Content Words for Blog Classic view?', 'kidzieo' ),
'default' => '0',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
array(
'type' => 'number',
'settings' => 'blog-classic-limit',
'label' => esc_attr__( 'Set Word Limit for Blog Classic view', 'kidzieo' ),
'description' => esc_attr__( 'This will add limited words before "Read More" link. This is useful if you didn\'t added Read More link in posts.', 'kidzieo' ),
'default' => 30,
'choices' => array(
'min' => 1,
'max' => 900,
'step' => 1,
),
'active_callback' => array(
array(
'setting' => 'blog-classic-limit-switch',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'custom',
'settings' => 'custom-blog-element-options',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Blog Style Elements (boxes) Settings', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Settings for Blog Style Elements.', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'switch',
'settings' => 'blog-element-limit-switch',
'label' => esc_attr__( 'Limit Content Words for Blog Element view?', 'kidzieo' ),
'default' => '1',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
array(
'type' => 'number',
'settings' => 'blog-element-limit',
'label' => esc_attr__( 'Limit Words for Blog Element view', 'kidzieo' ),
'description' => esc_attr__( 'This will add limited words before "Read More" link.', 'kidzieo' ),
'default' => 10,
'choices' => array(
'min' => 1,
'max' => 900,
'step' => 1,
),
'active_callback' => array(
array(
'setting' => 'blog-element-limit-switch',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'custom',
'settings' => 'custom-blog-sidebar-options',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Sidebar Settings', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Select sidebar position Page and Blog section.', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'radio-image',
'settings' => 'sidebar-post',
'label' => esc_html__( 'Blog Sidebar', 'kidzieo' ),
'default' => 'right',
'choices' => array(
'left' => get_template_directory_uri() . '/includes/images/sidebar-left.png',
'right' => get_template_directory_uri() . '/includes/images/sidebar-right.png',
'no' => get_template_directory_uri() . '/includes/images/sidebar-no.png',
),
),
)
),
// Portfolio Settings
'portfolio_options' => array(
'section_settings' => array(
'title' => sprintf( esc_attr__( '%1$s options', 'kidzieo' ) , $portfolio_cpt_singular_title ) ,
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
array(
'type' => 'custom',
'settings' => 'custom-single-portfolio-settings',
'default' => '<div class="pbminfotech-option-heading"><h2>' . sprintf( esc_html__( 'Single %1$s Options', 'kidzieo' ), $portfolio_cpt_singular_title ) . '</h2> <span>' . sprintf( esc_attr__( 'Options for Single %1$s Section', 'kidzieo' ), $portfolio_cpt_singular_title ) . '</span></div>',
),
array(
'type' => 'radio-image',
'settings' => 'portfolio-single-style',
'label' => sprintf( esc_html__( '%1$s Single View Style', 'kidzieo' ), $portfolio_cpt_singular_title ),
'default' => '1',
'choices' => $portfolio_single_style_array,
),
array(
'type' => 'custom',
'settings' => 'custom-single-portfolio-detailsbox-settings',
'default' => '<div class="pbminfotech-option-heading"><h2>' . sprintf( esc_html__( 'Single %1$s Details Box Options', 'kidzieo' ), $portfolio_cpt_singular_title ) . '</h2> <span>' . esc_attr__( 'Details Box Settings', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'text',
'settings' => 'portfolio-details-title',
'label' => sprintf( esc_attr__( 'Single %1$s Details Box Title', 'kidzieo' ), $portfolio_cpt_singular_title ),
'description' => esc_attr__( 'Details Box Title', 'kidzieo' ),
'default' => esc_attr__( 'Project info', 'kidzieo' ),
),
array(
'type' => 'repeater',
'label' => sprintf( esc_attr__( 'Single %1$s Details Box', 'kidzieo' ), $portfolio_cpt_singular_title ),
'row_label' => array(
'type' => 'field',
'value' => esc_attr__('Line', 'kidzieo' ),
'field' => 'line_title',
),
'button_label' => esc_attr__('Add New Line', 'kidzieo' ),
'settings' => 'portfolio-details',
'fields' => array(
'line_title' => array(
'type' => 'text',
'label' => esc_attr__( 'Line Title', 'kidzieo' ),
'description' => esc_attr__( 'This will be the label for the line', 'kidzieo' ),
'default' => '',
),
'line_type' => array(
'type' => 'select',
'label' => esc_attr__( 'Line Type', 'kidzieo' ),
'description' => esc_attr__( 'This will be type for the line', 'kidzieo' ),
'default' => 'text',
'choices' => array(
'text' => esc_attr__( 'Normal Text', 'kidzieo' ),
'category' => esc_attr__( 'Category List (without link)', 'kidzieo' ),
'category-link' => esc_attr__( 'Category List (with link)', 'kidzieo' ),
)
),
),
'default' => array(
array(
'line_title' => esc_attr__('Client', 'kidzieo'),
'line_type' => 'text',
),
array(
'line_title' => esc_attr__('Date', 'kidzieo'),
'line_type' => 'text',
),
array(
'line_title' => esc_attr__('Category', 'kidzieo'),
'line_type' => 'category',
),
array(
'line_title' => esc_attr__('Address', 'kidzieo'),
'line_type' => 'text',
),
),
),
array(
'type' => 'custom',
'settings' => 'custom-single-portfolio-related-settings',
'default' => '<div class="pbminfotech-option-heading"><h2>' . sprintf( esc_html__( 'Related %1$s Options', 'kidzieo' ), $portfolio_cpt_singular_title ) . '</h2> <span>' . sprintf( esc_html__( 'Options for Related %1$s', 'kidzieo' ), $portfolio_cpt_singular_title ) . '</span></div>',
),
array(
'type' => 'switch',
'settings' => 'portfolio-show-related',
'label' => sprintf( esc_attr__( 'Show Related %1$s?', 'kidzieo' ), $portfolio_cpt_singular_title ),
'default' => '0',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
array(
'type' => 'text',
'settings' => 'portfolio-related-title',
'label' => sprintf( esc_attr__( 'Related %1$s Section Title', 'kidzieo' ), $portfolio_cpt_singular_title ),
'description' => esc_attr__( 'Related Area Title', 'kidzieo' ),
'default' => sprintf( esc_attr__( 'Related %1$s', 'kidzieo' ), $portfolio_cpt_singular_title ),
'active_callback' => array(
array(
'setting' => 'portfolio-show-related',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'number',
'settings' => 'portfolio-related-count',
'label' => sprintf( esc_attr__( 'How many %1$s you like to show', 'kidzieo' ), $portfolio_cpt_singular_title ),
'default' => 3,
'choices' => array(
'min' => 1,
'max' => 50,
'step' => 1,
),
'active_callback' => array(
array(
'setting' => 'portfolio-show-related',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'radio-image',
'settings' => 'portfolio-related-column',
'label' => sprintf( esc_html__( 'Related %1$s Column', 'kidzieo' ), $portfolio_cpt_singular_title ),
'default' => '3',
'choices' => $column_list,
'active_callback' => array(
array(
'setting' => 'portfolio-show-related',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'radio-image',
'settings' => 'portfolio-related-style',
'label' => sprintf( esc_html__( 'Related %1$s View', 'kidzieo' ), $portfolio_cpt_singular_title ),
'default' => '1',
'choices' => pbmit_element_template_list('portfolio', 'customizer'),
'active_callback' => array(
array(
'setting' => 'portfolio-show-related',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'custom',
'settings' => 'custom-portfolio-cat-view',
'default' => '<div class="pbminfotech-option-heading"><h2>' . sprintf( esc_html__( 'Element View Style for %1$s', 'kidzieo' ), $portfolio_cat_singular_title ) . '</h2> <span>' . sprintf( esc_attr__( 'Select view style for elements on %1$s', 'kidzieo' ) , $portfolio_cat_singular_title ) . '</span></div>',
),
array(
'type' => 'radio-image',
'settings' => 'portfolio-cat-style',
'label' => sprintf( esc_html__( 'Element View on %1$s', 'kidzieo' ), $portfolio_cat_singular_title ),
'default' => '1',
'choices' => pbmit_element_template_list('portfolio', 'customizer'),
),
array(
'type' => 'radio-image',
'settings' => 'portfolio-cat-column',
'label' => sprintf( esc_html__( '%1$s View Column', 'kidzieo' ), $portfolio_cat_singular_title ),
'default' => '3',
'choices' => $column_list,
),
array(
'type' => 'number',
'settings' => 'portfolio-cat-count',
'label' => sprintf( esc_attr__( 'How many %1$s you like to show on single %2$s page', 'kidzieo' ), $portfolio_cpt_singular_title, $portfolio_cat_singular_title ),
'default' => 9,
'choices' => array(
'min' => 1,
'max' => 50,
'step' => 1,
),
'active_callback' => array(
array(
'setting' => 'portfolio-show-related',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'custom',
'settings' => 'custom-portfolio-sidebar-settings',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Sidebar Options', 'kidzieo' ) . '</h2> <span>' . sprintf( esc_attr__( 'Sidebar options for %1$s Section', 'kidzieo' ) , $portfolio_cpt_singular_title ) . '</span></div>',
),
array(
'type' => 'radio-image',
'settings' => 'sidebar-portfolio',
'label' => sprintf( esc_html__( '%1$s Sidebar', 'kidzieo' ), $portfolio_cpt_singular_title ),
'default' => 'no',
'choices' => array(
'left' => get_template_directory_uri() . '/includes/images/sidebar-left.png',
'right' => get_template_directory_uri() . '/includes/images/sidebar-right.png',
'no' => get_template_directory_uri() . '/includes/images/sidebar-no.png',
),
),
array(
'type' => 'radio-image',
'settings' => 'sidebar-portfolio-category',
'label' => sprintf( esc_html__( '%1$s Sidebar', 'kidzieo' ), $portfolio_cat_singular_title ),
'default' => 'no',
'choices' => array(
'left' => get_template_directory_uri() . '/includes/images/sidebar-left.png',
'right' => get_template_directory_uri() . '/includes/images/sidebar-right.png',
'no' => get_template_directory_uri() . '/includes/images/sidebar-no.png',
),
),
// Advanced Options
array(
'type' => 'custom',
'settings' => 'portfolio-advanced-heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Advanced Options', 'kidzieo' ) . '</h2> <span>' . sprintf( esc_attr__( 'Advanced Options for %1$s Section', 'kidzieo' ) , $portfolio_cpt_singular_title ) . '</span></div>',
),
array(
'type' => 'text',
'settings' => 'portfolio-cpt-title',
'label' => sprintf( esc_attr__( '%1$s Section Title', 'kidzieo' ) , $portfolio_cpt_singular_title ) ,
'description' => esc_attr__( 'CPT Title', 'kidzieo' ),
'default' => esc_attr__( 'Portfolio', 'kidzieo' ),
'priority' => 10,
),
array(
'type' => 'text',
'settings' => 'portfolio-cpt-singular-title',
'label' => sprintf( esc_attr__( '%1$s Section Title (Singular)', 'kidzieo' ) , $portfolio_cpt_singular_title ) ,
'description' => esc_attr__( 'CPT Singular Title', 'kidzieo' ),
'default' => esc_attr__( 'Portfolio', 'kidzieo' ),
'priority' => 10,
),
array(
'type' => 'text',
'settings' => 'portfolio-cpt-slug',
'label' => sprintf( esc_attr__( '%1$s Section URl Slug', 'kidzieo' ) , $portfolio_cpt_singular_title ) ,
'description' => esc_attr__( 'CPT URL slug.', 'kidzieo' ) . '<br />' . '<strong>' . esc_attr__( 'NOTE:', 'kidzieo' ) . '</strong> ' . sprintf( esc_attr__( 'After changing this, please go to %1$s section and save it once.', 'kidzieo' ), pbmit_esc_kses('<a href="' . esc_url( get_admin_url().'options-permalink.php' ) . '" target="_blank"><strong>Settings > Permalinks</strong></a>') ) . '<br /><br />',
'default' => esc_attr( 'portfolio' ),
'priority' => 10,
),
// Portfolio Category
array(
'type' => 'text',
'settings' => 'portfolio-cat-title',
'label' => sprintf( esc_attr__( '%1$s Title', 'kidzieo' ) , $portfolio_cat_singular_title ) ,
'description' => esc_attr__( 'Taxonomy Title', 'kidzieo' ),
'default' => esc_attr__( 'Portfolio Categories', 'kidzieo' ),
'priority' => 10,
),
array(
'type' => 'text',
'settings' => 'portfolio-cat-singular-title',
'label' => sprintf( esc_attr__( '%1$s Title (Singular)', 'kidzieo' ) , $portfolio_cat_singular_title ) ,
'description' => esc_attr__( 'Taxonomy Singular Title', 'kidzieo' ),
'default' => esc_attr__( 'Portfolio Category', 'kidzieo' ),
'priority' => 10,
),
array(
'type' => 'text',
'settings' => 'portfolio-cat-slug',
'label' => sprintf( esc_attr__( '%1$s URl Slug', 'kidzieo' ) , $portfolio_cat_singular_title ) ,
'description' => esc_attr__( 'Taxonomy URL slug', 'kidzieo' ),
'description' => esc_attr__( 'Taxonomy URL slug.', 'kidzieo' ) . '<br />' . '<strong>' . esc_attr__( 'NOTE:', 'kidzieo' ) . '</strong> ' . sprintf( esc_attr__( 'After changing this, please go to %1$s section and save it once.', 'kidzieo' ), pbmit_esc_kses('<a href="' . esc_url( get_admin_url().'options-permalink.php' ) . '" target="_blank"><strong>Settings > Permalinks</strong></a>') ) . '<br /><br />',
'priority' => 10,
),
)
),
// Service Settings
'service_options' => array(
'section_settings' => array(
'title' => sprintf( esc_attr__( '%1$s options', 'kidzieo' ) , $service_cpt_singular_title ) ,
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
array(
'type' => 'custom',
'settings' => 'custom-single-service-settings',
'default' => '<div class="pbminfotech-option-heading"><h2>' . sprintf( esc_html__( 'Single %1$s Options', 'kidzieo' ), $service_cpt_singular_title ) . '</h2> <span>' . sprintf( esc_attr__( 'Sidebar options for %1$s Section', 'kidzieo' ), $service_cpt_singular_title ) . '</span></div>',
),
array(
'type' => 'radio-image',
'settings' => 'service-single-style',
'label' => sprintf( esc_html__( '%1$s Single View Style', 'kidzieo' ), $service_cpt_singular_title ),
'default' => '1',
'choices' => $service_single_style_array,
),
array(
'type' => 'switch',
'settings' => 'service-show-related',
'label' => sprintf( esc_attr__( 'Show Related %1$s', 'kidzieo' ), $service_cpt_singular_title ),
'default' => '0',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
array(
'type' => 'text',
'settings' => 'service-related-title',
'label' => sprintf( esc_attr__( 'Related %1$s Section Title', 'kidzieo' ), $service_cpt_singular_title ),
'description' => esc_attr__( 'Related Area Title', 'kidzieo' ),
'default' => sprintf( esc_attr__( 'Related %1$s', 'kidzieo' ), $service_cpt_singular_title ),
'active_callback' => array(
array(
'setting' => 'service-show-related',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'number',
'settings' => 'service-related-count',
'label' => sprintf( esc_attr__( 'How many %1$s you like to show', 'kidzieo' ), $service_cpt_singular_title ),
'default' => 2,
'choices' => array(
'min' => 1,
'max' => 50,
'step' => 1,
),
'active_callback' => array(
array(
'setting' => 'service-show-related',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'radio-image',
'settings' => 'service-related-column',
'label' => sprintf( esc_html__( 'Related %1$s Column', 'kidzieo' ), $service_cpt_singular_title ),
'default' => '2',
'choices' => $column_list,
'active_callback' => array(
array(
'setting' => 'service-show-related',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'radio-image',
'settings' => 'service-related-style',
'label' => sprintf( esc_html__( 'Related %1$s View', 'kidzieo' ), $service_cpt_singular_title ),
'default' => '1',
'choices' => pbmit_element_template_list('service', 'customizer'),
'active_callback' => array(
array(
'setting' => 'service-show-related',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'custom',
'settings' => 'custom-service-cat-view',
'default' => '<div class="pbminfotech-option-heading"><h2>' . sprintf( esc_html__( 'Element View Style for %1$s', 'kidzieo' ), $service_cat_singular_title ) . '</h2> <span>' . sprintf( esc_attr__( 'Select view style for elements on %1$s', 'kidzieo' ) , $service_cat_singular_title ) . '</span></div>',
),
array(
'type' => 'radio-image',
'settings' => 'service-cat-style',
'label' => sprintf( esc_html__( 'Element View on %1$s', 'kidzieo' ), $service_cat_singular_title ),
'default' => '1',
'choices' => pbmit_element_template_list('service', 'customizer'),
),
array(
'type' => 'radio-image',
'settings' => 'service-cat-column',
'label' => sprintf( esc_html__( '%1$s View Column', 'kidzieo' ), $service_cat_singular_title ),
'default' => '3',
'choices' => $column_list,
),
array(
'type' => 'number',
'settings' => 'service-cat-count',
'label' => sprintf( esc_attr__( 'How many %1$s you like to show on single %2$s page', 'kidzieo' ), $service_cpt_singular_title, $service_cat_singular_title ),
'default' => 9,
'choices' => array(
'min' => 1,
'max' => 50,
'step' => 1,
),
),
array(
'type' => 'custom',
'settings' => 'custom-service-sidebar-settings',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Sidebar Options', 'kidzieo' ) . '</h2> <span>' . sprintf( esc_attr__( 'Sidebar options for %1$s Section', 'kidzieo' ) , $service_cpt_singular_title ) . '</span></div>',
),
array(
'type' => 'radio-image',
'settings' => 'sidebar-service',
'label' => sprintf( esc_html__( '%1$s Sidebar', 'kidzieo' ), $service_cpt_singular_title ),
'default' => 'left',
'choices' => array(
'left' => get_template_directory_uri() . '/includes/images/sidebar-left.png',
'right' => get_template_directory_uri() . '/includes/images/sidebar-right.png',
'no' => get_template_directory_uri() . '/includes/images/sidebar-no.png',
),
),
array(
'type' => 'radio-image',
'settings' => 'sidebar-service-category',
'label' => sprintf( esc_html__( '%1$s Sidebar', 'kidzieo' ), $service_cat_singular_title ),
'default' => 'no',
'choices' => array(
'left' => get_template_directory_uri() . '/includes/images/sidebar-left.png',
'right' => get_template_directory_uri() . '/includes/images/sidebar-right.png',
'no' => get_template_directory_uri() . '/includes/images/sidebar-no.png',
),
),
// Advanced - Heading Options
array(
'type' => 'custom',
'settings' => 'service-advanced-heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Advanced Options', 'kidzieo' ) . '</h2> <span>' . sprintf( esc_attr__( 'Advanced Options for %1$s Section', 'kidzieo' ) , $service_cpt_singular_title ) . '</span></div>',
),
array(
'type' => 'text',
'settings' => 'service-cpt-title',
'label' => sprintf( esc_attr__( '%1$s Section Title', 'kidzieo' ) , $service_cpt_singular_title ) ,
'description' => esc_attr__( 'CPT Title', 'kidzieo' ),
'default' => esc_attr__( 'Service', 'kidzieo' ),
'priority' => 10,
),
array(
'type' => 'text',
'settings' => 'service-cpt-singular-title',
'label' => sprintf( esc_attr__( '%1$s Section Title (Singular)', 'kidzieo' ) , $service_cpt_singular_title ) ,
'description' => esc_attr__( 'CPT Singular Title', 'kidzieo' ),
'default' => esc_attr__( 'Service', 'kidzieo' ),
'priority' => 10,
),
array(
'type' => 'text',
'settings' => 'service-cpt-slug',
'label' => sprintf( esc_attr__( '%1$s Section URl Slug', 'kidzieo' ) , $service_cpt_singular_title ) ,
'description' => esc_attr__( 'CPT URL slug.', 'kidzieo' ) . '<br />' . '<strong>' . esc_attr__( 'NOTE:', 'kidzieo' ) . '</strong> ' . sprintf( esc_attr__( 'After changing this, please go to %1$s section and save it once.', 'kidzieo' ), pbmit_esc_kses('<a href="' . esc_url( get_admin_url().'options-permalink.php' ) . '" target="_blank"><strong>Settings > Permalinks</strong></a>') ) . '<br /><br />',
'default' => esc_attr( 'service' ),
'priority' => 10,
),
// Service Category
array(
'type' => 'text',
'settings' => 'service-cat-title',
'label' => sprintf( esc_attr__( '%1$s Title', 'kidzieo' ) , $service_cat_singular_title ) ,
'description' => esc_attr__( 'Taxonomy Title', 'kidzieo' ),
'default' => esc_attr__( 'Service Categories', 'kidzieo' ),
'priority' => 10,
),
array(
'type' => 'text',
'settings' => 'service-cat-singular-title',
'label' => sprintf( esc_attr__( '%1$s Title (Singular)', 'kidzieo' ) , $service_cat_singular_title ) ,
'description' => esc_attr__( 'Taxonomy Singular Title', 'kidzieo' ),
'default' => esc_attr__( 'Service Category', 'kidzieo' ),
'priority' => 10,
),
array(
'type' => 'text',
'settings' => 'service-cat-slug',
'label' => sprintf( esc_attr__( '%1$s URl Slug', 'kidzieo' ) , $service_cat_singular_title ) ,
'description' => esc_attr__( 'Taxonomy URL slug.', 'kidzieo' ) . '<br />' . '<strong>' . esc_attr__( 'NOTE:', 'kidzieo' ) . '</strong> ' . sprintf( esc_attr__( 'After changing this, please go to %1$s section and save it once.', 'kidzieo' ), pbmit_esc_kses('<a href="' . esc_url( get_admin_url().'options-permalink.php' ) . '" target="_blank"><strong>Settings > Permalinks</strong></a>') ) . '<br /><br />',
'default' => esc_attr( 'service-category' ),
'priority' => 10,
),
)
),
// Team Member Settings
'team_options' => array(
'section_settings' => array(
'title' => sprintf( esc_attr__( '%1$s options', 'kidzieo' ) , $team_cpt_singular_title ) ,
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
array(
'type' => 'custom',
'settings' => 'custom-single-team-settings',
'default' => '<div class="pbminfotech-option-heading"><h2>' . sprintf( esc_html__( 'Single %1$s Options', 'kidzieo' ), $team_cpt_singular_title ) . '</h2> <span>' . sprintf( esc_attr__( 'Sidebar options for %1$s Section', 'kidzieo' ), $team_cpt_singular_title ) . '</span></div>',
),
array(
'type' => 'radio-image',
'settings' => 'team-single-style',
'label' => sprintf( esc_html__( '%1$s Single View Style', 'kidzieo' ), $team_cpt_singular_title ),
'default' => '1',
'choices' => $team_single_style_array,
),
array(
'type' => 'custom',
'settings' => 'custom-team-group-view',
'default' => '<div class="pbminfotech-option-heading"><h2>' . sprintf( esc_html__( 'Element View Style for %1$s', 'kidzieo' ), $team_group_singular_title ) . '</h2> <span>' . sprintf( esc_attr__( 'Select view style for elements on %1$s', 'kidzieo' ) , $team_group_singular_title ) . '</span></div>',
),
array(
'type' => 'radio-image',
'settings' => 'team-group-style',
'label' => sprintf( esc_html__( 'Element View on %1$s', 'kidzieo' ), $team_group_singular_title ),
'default' => '1',
'choices' => pbmit_element_template_list('team', 'customizer'),
),
array(
'type' => 'radio-image',
'settings' => 'team-group-column',
'label' => sprintf( esc_html__( '%1$s View Column', 'kidzieo' ), $team_group_singular_title ),
'default' => '3',
'choices' => $column_list,
),
array(
'type' => 'number',
'settings' => 'team-group-count',
'label' => sprintf( esc_attr__( 'How many %1$s you like to show on single %2$s page', 'kidzieo' ), $team_cpt_singular_title, $team_group_singular_title ),
'default' => 9,
'choices' => array(
'min' => 1,
'max' => 50,
'step' => 1,
),
'active_callback' => array(
array(
'setting' => 'portfolio-show-related',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'custom',
'settings' => 'custom-team-member-sidebar-settings',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Sidebar Options', 'kidzieo' ) . '</h2> <span>' . sprintf( esc_attr__( 'Sidebar options for %1$s Section', 'kidzieo' ) , $team_cpt_singular_title ) . '</span></div>',
),
array(
'type' => 'radio-image',
'settings' => 'sidebar-team-member',
'label' => sprintf( esc_html__( '%1$s Sidebar', 'kidzieo' ), $team_cpt_singular_title ),
'default' => 'no',
'choices' => array(
'left' => get_template_directory_uri() . '/includes/images/sidebar-left.png',
'right' => get_template_directory_uri() . '/includes/images/sidebar-right.png',
'no' => get_template_directory_uri() . '/includes/images/sidebar-no.png',
),
),
array(
'type' => 'radio-image',
'settings' => 'sidebar-team-group',
'label' => sprintf( esc_html__( '%1$s Sidebar', 'kidzieo' ), $team_group_singular_title ),
'default' => 'no',
'choices' => array(
'left' => get_template_directory_uri() . '/includes/images/sidebar-left.png',
'right' => get_template_directory_uri() . '/includes/images/sidebar-right.png',
'no' => get_template_directory_uri() . '/includes/images/sidebar-no.png',
),
),
// Heading Options
array(
'type' => 'custom',
'settings' => 'team_advanced_heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Advanced Options', 'kidzieo' ) . '</h2> <span>' . sprintf( esc_attr__( 'Advanced Options for %1$s Section', 'kidzieo' ) , $team_cpt_singular_title ) . '</span></div>',
),
array(
'type' => 'text',
'settings' => 'team-cpt-title',
'label' => sprintf( esc_attr__( '%1$s Section Title', 'kidzieo' ) , $team_cpt_singular_title ) ,
'description' => esc_attr__( 'CPT Title', 'kidzieo' ),
'default' => esc_attr__( 'Team Members', 'kidzieo' ),
'priority' => 10,
),
array(
'type' => 'text',
'settings' => 'team-cpt-singular-title',
'label' => sprintf( esc_attr__( '%1$s Section Title (Singular)', 'kidzieo' ) , $team_cpt_singular_title ) ,
'description' => esc_attr__( 'CPT Singular Title', 'kidzieo' ),
'default' => esc_attr__( 'Team Member', 'kidzieo' ),
'priority' => 10,
),
array(
'type' => 'text',
'settings' => 'team-cpt-slug',
'label' => sprintf( esc_attr__( '%1$s Section URl Slug', 'kidzieo' ) , $team_cpt_singular_title ) ,
'description' => esc_attr__( 'CPT URL slug.', 'kidzieo' ) . '<br />' . '<strong>' . esc_attr__( 'NOTE:', 'kidzieo' ) . '</strong> ' . sprintf( esc_attr__( 'After changing this, please go to %1$s section and save it once.', 'kidzieo' ), pbmit_esc_kses('<a href="' . esc_url( get_admin_url().'options-permalink.php' ) . '" target="_blank"><strong>Settings > Permalinks</strong></a>') ) . '<br /><br />',
'default' => esc_attr( 'team' ),
'priority' => 10,
),
// Team Member group
array(
'type' => 'text',
'settings' => 'team-group-title',
'label' => sprintf( esc_attr__( '%1$s Title', 'kidzieo' ) , $team_group_singular_title ) ,
'description' => esc_attr__( 'Taxonomy Title', 'kidzieo' ),
'default' => esc_attr__( 'Team Groups', 'kidzieo' ),
'priority' => 10,
),
array(
'type' => 'text',
'settings' => 'team-group-singular-title',
'label' => sprintf( esc_attr__( '%1$s Title (Singular)', 'kidzieo' ) , $team_group_singular_title ) ,
'description' => esc_attr__( 'Taxonomy Singular Title', 'kidzieo' ),
'default' => esc_attr__( 'Team Group', 'kidzieo' ),
'priority' => 10,
),
array(
'type' => 'text',
'settings' => 'team-group-slug',
'label' => sprintf( esc_attr__( '%1$s URl Slug', 'kidzieo' ) , $team_group_singular_title ) ,
'description' => esc_attr__( 'Taxonomy URL slug.', 'kidzieo' ) . '<br />' . '<strong>' . esc_attr__( 'NOTE:', 'kidzieo' ) . '</strong> ' . sprintf( esc_attr__( 'After changing this, please go to %1$s section and save it once.', 'kidzieo' ), pbmit_esc_kses('<a href="' . esc_url( get_admin_url().'options-permalink.php' ) . '" target="_blank"><strong>Settings > Permalinks</strong></a>') ) . '<br /><br />',
'default' => esc_attr( 'team-group' ),
'priority' => 10,
),
)
),
// Testimonial Settings
'testimonial_options' => array(
'section_settings' => array(
'title' => sprintf( esc_attr__( '%1$s options', 'kidzieo' ) , $testimonial_cpt_singular_title ) ,
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
// Heading Options
array(
'type' => 'custom',
'settings' => 'testimonial_advanced_heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Advanced Options', 'kidzieo' ) . '</h2> <span>' . sprintf( esc_attr__( 'Advanced Options for %1$s Section', 'kidzieo' ) , $testimonial_cpt_singular_title ) . '</span></div>',
),
array(
'type' => 'text',
'settings' => 'testimonial-cpt-title',
'label' => sprintf( esc_attr__( '%1$s Section Title', 'kidzieo' ) , $testimonial_cpt_singular_title ) ,
'description' => esc_attr__( 'CPT Title', 'kidzieo' ),
'default' => esc_attr__( 'Testimonials', 'kidzieo' ),
'priority' => 10,
),
array(
'type' => 'text',
'settings' => 'testimonial-cpt-singular-title',
'label' => sprintf( esc_attr__( '%1$s Section Title (Singular)', 'kidzieo' ) , $testimonial_cpt_singular_title ) ,
'description' => esc_attr__( 'CPT Singular Title', 'kidzieo' ),
'default' => esc_attr__( 'Testimonial', 'kidzieo' ),
'priority' => 10,
),
array(
'type' => 'text',
'settings' => 'testimonial-cat-title',
'label' => sprintf( esc_attr__( '%1$s Title', 'kidzieo' ) , $testimonial_cat_singular_title ) ,
'description' => esc_attr__( 'Taxonomy Title', 'kidzieo' ),
'default' => esc_attr__( 'Testimonial Categories', 'kidzieo' ),
'priority' => 10,
),
array(
'type' => 'text',
'settings' => 'testimonial-cat-singular-title',
'label' => sprintf( esc_attr__( '%1$s Title (Singular)', 'kidzieo' ) , $testimonial_cat_singular_title ) ,
'description' => esc_attr__( 'Taxonomy Singular Title', 'kidzieo' ),
'default' => esc_attr__( 'Testimonial Category', 'kidzieo' ),
'priority' => 10,
),
)
),
// Search Settings
'search_results_options' => array(
'section_settings' => array(
'title' => esc_attr__( 'Search Results options', 'kidzieo' ),
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
// Heading Options
array(
'type' => 'custom',
'settings' => 'search_results_heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Search Results Settings', 'kidzieo' ) . '</h2> <span>' . esc_attr__( 'Settings for Search Results page', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'number',
'settings' => 'search-results-text-limit',
'label' => esc_attr__( 'Search Results Content Text Limit', 'kidzieo' ),
'description' => esc_attr__( 'Show limited text for content of the results page/post etc.', 'kidzieo' ),
'default' => 25,
'choices' => array(
'min' => 1,
'max' => 900,
'step' => 1,
),
'active_callback' => array(
array(
'setting' => 'blog-classic-limit-switch',
'operator' => '==',
'value' => '1',
),
),
),
array(
'type' => 'text',
'settings' => 'no-results-title',
'label' => esc_attr__( 'Title for "No Search Results" page', 'kidzieo' ),
'description' => esc_attr__( 'Title to show when there is no search results', 'kidzieo' ),
'default' => esc_attr__( 'No Results Found', 'kidzieo' ),
),
array(
'type' => 'textarea',
'settings' => 'no-results-text',
'label' => esc_attr__( 'Text for "No Search Results" page', 'kidzieo' ),
'description' => esc_attr__( 'Text to show when there is no search results', 'kidzieo' ),
'default' => esc_attr__('Sorry, but nothing matched your search terms. Please try again with some different keywords.','kidzieo'),
),
array(
'type' => 'custom',
'settings' => 'search-sidebar-options',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Sidebar Settings', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Select sidebar position for search results page.', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'radio-image',
'settings' => 'sidebar-search',
'label' => esc_html__( 'Search Results Sidebar', 'kidzieo' ),
'default' => 'no',
'choices' => array(
'left' => get_template_directory_uri() . '/includes/images/sidebar-left.png',
'right' => get_template_directory_uri() . '/includes/images/sidebar-right.png',
'no' => get_template_directory_uri() . '/includes/images/sidebar-no.png',
),
),
)
),
// Error 404 Settings
'error_404_options' => array(
'section_settings' => array(
'title' => esc_attr__( 'Error 404 options', 'kidzieo' ),
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
// Heading Options
array(
'type' => 'custom',
'settings' => 'error_404_heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Error 404 Settings', 'kidzieo' ) . '</h2> <span>' . esc_attr__( 'Settings for error 404 page', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'text',
'settings' => 'error-404-heading',
'label' => esc_attr__( 'Error 404 Heading', 'kidzieo' ),
'description' => esc_attr__( 'This is heading for 404 page', 'kidzieo' ),
'default' => esc_attr__( '404', 'kidzieo' ),
),
array(
'type' => 'textarea',
'settings' => 'error-404-text',
'label' => esc_attr__( 'Error 404 Text', 'kidzieo' ),
'description' => esc_attr__( 'This is text for 404 page', 'kidzieo' ),
'default' => esc_attr__( 'Whoops! Whatever you are looking for cannot be found.', 'kidzieo' ),
),
array(
'type' => 'switch',
'settings' => 'error-404-show-search',
'label' => esc_attr__( 'Show search form on 404 page', 'kidzieo' ),
'default' => '1',
'priority' => 10,
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
array(
'type' => 'custom',
'settings' => 'error_404_text_custom',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Error 404 Text Color', 'kidzieo' ) . '</h2> <span>' . esc_attr__( 'Settings for text color for 404 error page', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'radio-image',
'settings' => 'e404-text-color',
'label' => esc_attr__( 'Select 404 page text color', 'kidzieo' ),
'default' => 'blackish',
'choices' => $pre_text_color_2_list,
),
array(
'type' => 'custom',
'settings' => 'error_404_bg_custom',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Error 404 Background Option', 'kidzieo' ) . '</h2> <span>' . esc_attr__( 'Settings for background color/image for 404 error page', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'radio-image',
'settings' => 'e404-bgcolor',
'label' => esc_html__( 'Select 404 page background color', 'kidzieo' ),
'default' => 'custom',
'choices' => $pre_color_list,
),
array(
'type' => 'background',
'settings' => 'e404-background',
'label' => esc_attr__( 'Background', 'kidzieo' ),
'description' => esc_attr__( 'Background Settings', 'kidzieo' ),
'default' => array(
'background-color' => '#ffffff',
'background-repeat' => 'no-repeat',
'background-position' => 'center center',
'background-size' => 'cover',
'background-attachment' => 'scroll',
),
'pbmit-output' => '.error404 .site-content-wrap, .error404 .pbmit-bg-color-custom > .site-content-wrap:before',
),
)
),
// Login Page Settings
'login_page_options' => array(
'section_settings' => array(
'title' => esc_attr__( 'Login Page options', 'kidzieo' ),
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
array(
'type' => 'custom',
'settings' => 'login_page_heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Login Page Settings', 'kidzieo' ) . '</h2> <span>' . esc_attr__( 'Settings for Login Page page', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'switch',
'settings' => 'custom-login-logo',
'label' => esc_attr__( 'Show different logo?', 'kidzieo' ),
'description' => esc_attr__( 'Show different logo then the default logo you selected for your site.', 'kidzieo' ),
'default' => '1',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
array(
'type' => 'image',
'settings' => 'login-logo',
'label' => esc_attr__( 'Login Page Custom Logo', 'kidzieo' ),
'description' => esc_attr__( 'Select logo for the login page', 'kidzieo' ),
'default' => get_template_directory_uri() . '/images/logo.svg',
'active_callback' => array( array(
'setting' => 'custom-login-logo',
'operator' => '==',
'value' => '1',
) ),
),
array(
'type' => 'background',
'settings' => 'login-page-background',
'label' => esc_attr__( 'Login Page Background', 'kidzieo' ),
'description' => esc_attr__( 'Background Settings for the login page', 'kidzieo' ),
'default' => array(
'background-color' => '#666666',
'background-repeat' => 'no-repeat',
'background-position' => 'center top',
'background-size' => 'cover',
'background-attachment' => 'scroll',
),
),
)
),
// Custom CSS/JS Options
'custom_code_options' => array(
'section_settings' => array(
'title' => esc_attr__( 'CSS/JS Code', 'kidzieo' ),
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
// Heading Options
array(
'type' => 'custom',
'settings' => 'tracking_js_heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Tracking Code', 'kidzieo' ) . '</h2> <span>' . esc_attr__( 'Code for Google Tracking or other ', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'textarea',
'settings' => 'tracking-code',
'label' => esc_attr__( 'Tracking Code', 'kidzieo' ),
'description' => esc_attr__( 'This code will be added to HEAD element on your all pages.', 'kidzieo' ),
'default' => '',
),
array(
'type' => 'custom',
'settings' => 'cust_css_heading',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Custom CSS Code', 'kidzieo' ) . '</h2> <span>' . esc_attr__( 'Custom CSS Code', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'textarea',
'settings' => 'css-code',
'label' => esc_attr__( 'Custom CSS Code', 'kidzieo' ),
'description' => esc_attr__( 'Add your custom CSS code here.', 'kidzieo' ),
'default' => '',
),
array(
'type' => 'textarea',
'settings' => 'js-code',
'label' => esc_attr__( 'Custom JS Code', 'kidzieo' ),
'description' => esc_attr__( 'Add your custom JS code here.', 'kidzieo' ),
'default' => '',
),
)
),
);
// adding WooCommerce options
if( function_exists('is_woocommerce') ){
$kirki_options_array2 = array();
foreach( $kirki_options_array as $sections=>$settings ){
$kirki_options_array2[$sections] = $settings;
if( $sections == 'portfolio_options' ){
$kirki_options_array2['woocommerce_options'] = array(
'section_settings' => array(
'title' => esc_attr__( 'WooCommerce Options', 'kidzieo' ),
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
// Heading Options
array(
'type' => 'radio-image',
'settings' => 'sidebar-wc-shop',
'label' => esc_html__( 'WooCommerce Shop Sidebar', 'kidzieo' ),
'default' => 'right',
'choices' => array(
'left' => get_template_directory_uri() . '/includes/images/sidebar-left.png',
'right' => get_template_directory_uri() . '/includes/images/sidebar-right.png',
'no' => get_template_directory_uri() . '/includes/images/sidebar-no.png',
),
),
array(
'type' => 'radio-image',
'settings' => 'sidebar-wc-single',
'label' => esc_html__( 'WooCommerce Single Product Sidebar', 'kidzieo' ),
'default' => 'right',
'choices' => array(
'left' => get_template_directory_uri() . '/includes/images/sidebar-left.png',
'right' => get_template_directory_uri() . '/includes/images/sidebar-right.png',
'no' => get_template_directory_uri() . '/includes/images/sidebar-no.png',
),
),
array(
'type' => 'text',
'settings' => 'wc-title',
'label' => esc_attr__( 'WooCommerce Shop Page Title', 'kidzieo' ),
'description' => esc_attr__( 'This will appear in Titlebar on Shop page.', 'kidzieo' ),
'default' => esc_attr('Shop'),
),
array(
'type' => 'select',
'settings' => 'wc-related-count',
'label' => esc_attr__( 'How many related products will be shown?', 'kidzieo' ),
'description' => esc_attr__( 'How many related products will be shown on single product page?', 'kidzieo' ),
'default' => '3',
'choices' => array(
'1' => esc_attr__( '1 product', 'kidzieo' ),
'2' => esc_attr__( '2 products', 'kidzieo' ),
'3' => esc_attr__( '3 products', 'kidzieo' ),
'4' => esc_attr__( '4 products', 'kidzieo' ),
),
),
array(
'type' => 'switch',
'settings' => 'wc-show-cart-icon',
'label' => esc_attr__( 'Show Cart Icon in Header?', 'kidzieo' ),
'description' => esc_attr__( 'Show or hide cart icon in header area. The icon will appear only if WooCommerce plugin is active.', 'kidzieo' ),
'default' => '1',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
),
array(
'type' => 'switch',
'settings' => 'wc-show-cart-amount',
'label' => esc_attr__( 'Show Amount with Cart Icon in Header?', 'kidzieo' ),
'description' => esc_attr__( 'Show or hide cart amount with cart icon in header area. The icon will appear only if WooCommerce plugin is active.', 'kidzieo' ),
'default' => '0',
'choices' => array(
'on' => esc_attr__( 'Yes', 'kidzieo' ),
'off' => esc_attr__( 'No', 'kidzieo' ),
),
'active_callback' => array( array(
'setting' => 'wc-show-cart-icon',
'operator' => '==',
'value' => '1',
) ),
),
)
);
}
} // foreach
$kirki_options_array = $kirki_options_array2;
}
// adding Event options
if( class_exists('WP_Event_Manager') ){
$kirki_options_array3 = array();
foreach( $kirki_options_array as $sections=>$settings ){
$kirki_options_array3[$sections] = $settings;
if( $sections == 'portfolio_options' ){
$kirki_options_array3['event_options'] = array(
'section_settings' => array(
'title' => esc_attr__( 'Event Options', 'kidzieo' ),
'panel' => 'kidzieo_base_options',
'priority' => 160,
),
'section_fields' => array(
// Heading Options
array(
'type' => 'custom',
'settings' => 'custom-event-column-options',
'default' => '<div class="pbminfotech-option-heading"><h2>' . esc_html__( 'Column Settings', 'kidzieo' ) . '</h2> <span>' . esc_html__( 'Select column for the Event listing.', 'kidzieo' ) . '</span></div>',
),
array(
'type' => 'radio-image',
'settings' => 'event-column',
'label' => esc_html__( 'Event Column', 'kidzieo' ),
'description' => esc_html__( 'Select column structure for Event', 'kidzieo' ),
'default' => '3-3-3-3',
'choices' => array(
'12' => get_template_directory_uri() . '/includes/images/footer-12.png',
'6-6' => get_template_directory_uri() . '/includes/images/footer-6-6.png',
'4-4-4' => get_template_directory_uri() . '/includes/images/footer-4-4-4.png',
'3-3-3-3' => get_template_directory_uri() . '/includes/images/footer-3-3-3-3.png',
),
),
)
);
}
} // foreach
$kirki_options_array = $kirki_options_array3;
}