first commit

This commit is contained in:
2024-07-31 13:12:38 +07:00
commit b4e8cbe182
10213 changed files with 3125839 additions and 0 deletions

View File

@@ -0,0 +1,84 @@
<?php
return array(
'title' => esc_html__( '404 Page Settings', 'thinkai' ),
'id' => '404_setting',
'desc' => '',
'subsection' => true,
'fields' => array(
array(
'id' => '404_source_type',
'type' => 'button_set',
'title' => esc_html__( '404 Source Type', 'thinkai' ),
'options' => array(
'd' => esc_html__( 'Default', 'thinkai' ),
'e' => esc_html__( 'Elementor', 'thinkai' ),
),
'default' => 'd',
),
array(
'id' => '404_elementor_template',
'type' => 'select',
'title' => __( 'Template', 'thinkai' ),
'data' => 'posts',
'args' => [
'post_type' => [ 'elementor_library' ],
],
'required' => [ '404_source_type', '=', 'e' ],
),
array(
'id' => '404_default_st',
'type' => 'section',
'title' => esc_html__( '404 Default', 'thinkai' ),
'indent' => true,
'required' => [ '404_source_type', '=', 'd' ],
),
//BG Image
array(
'id' => 'bg_image',
'type' => 'media',
'url' => true,
'title' => esc_html__( '404 Error Image', 'thinkai' ),
'desc' => esc_html__( 'Insert Error image', 'thinkai' ),
'default' => '',
),
array(
'id' => '404_page_title',
'type' => 'text',
'title' => esc_html__( '404 Page Heading', 'thinkai' ),
'desc' => esc_html__( 'Enter 404 section Page Heading that you want to show', 'thinkai' ),
),
array(
'id' => '404_page_tagline',
'type' => 'text',
'title' => esc_html__( '404 Page Tag Line', 'thinkai' ),
'desc' => esc_html__( 'Enter 404 section Page Heading that you want to show', 'thinkai' ),
),
array(
'id' => '404_page_text',
'type' => 'textarea',
'title' => esc_html__( '404 Page Description', 'thinkai' ),
'desc' => esc_html__( 'Enter 404 page description that you want to show.', 'thinkai' ),
),
array(
'id' => 'back_home_btn',
'type' => 'switch',
'title' => esc_html__( 'Show Button', 'thinkai' ),
'desc' => esc_html__( 'Enable to show back to home button.', 'thinkai' ),
'default' => true,
),
array(
'id' => 'back_home_btn_label',
'type' => 'text',
'title' => esc_html__( 'Button Label', 'thinkai' ),
'desc' => esc_html__( 'Enter back to home button label that you want to show.', 'thinkai' ),
'default' => esc_html__( 'Back to Home Page', 'thinkai' ),
'required' => array( 'back_home_btn', '=', true ),
),
array(
'id' => '404_post_settings_end',
'type' => 'section',
'indent' => false,
),
),
);

View File

@@ -0,0 +1,112 @@
<?php
return array(
'title' => esc_html__( 'Archive Page Settings', 'thinkai' ),
'id' => 'archive_setting',
'desc' => '',
'subsection' => true,
'fields' => array(
array(
'id' => 'archive_source_type',
'type' => 'button_set',
'title' => esc_html__( 'Archive Source Type', 'thinkai' ),
'options' => array(
'd' => esc_html__( 'Default', 'thinkai' ),
'e' => esc_html__( 'Elementor', 'thinkai' ),
),
'default' => 'd',
),
array(
'id' => 'archive_elementor_template',
'type' => 'select',
'title' => __( 'Template', 'thinkai' ),
'data' => 'posts',
'args' => [
'post_type' => [ 'elementor_library' ],
'posts_per_page'=> -1,
],
'required' => [ 'archive_source_type', '=', 'e' ],
),
array(
'id' => 'archive_default_st',
'type' => 'section',
'title' => esc_html__( 'Archive Default', 'thinkai' ),
'indent' => true,
'required' => [ 'archive_source_type', '=', 'd' ],
),
array(
'id' => 'archive_page_banner',
'type' => 'switch',
'title' => esc_html__( 'Show Banner', 'thinkai' ),
'desc' => esc_html__( 'Enable to show banner on blog', 'thinkai' ),
'default' => true,
),
array(
'id' => 'archive_features_list',
'type' => 'textarea',
'title' => esc_html__( 'Banner Feature List', 'thinkai' ),
'desc' => esc_html__( 'Enter the Feature List to show in banner section', 'thinkai' ),
'required' => array( 'archive_page_banner', '=', true ),
),
array(
'id' => 'archive_banner_title',
'type' => 'text',
'title' => esc_html__( 'Banner Section Title', 'thinkai' ),
'desc' => esc_html__( 'Enter the title to show in banner section', 'thinkai' ),
'required' => array( 'archive_page_banner', '=', true ),
),
array(
'id' => 'archive_page_background',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Background Image', 'thinkai' ),
'desc' => esc_html__( 'Insert background image for banner', 'thinkai' ),
'default' => array(
'url' => THINKAI_URI . 'assets/images/breadcrumb/breadcrumb-1.jpg',
),
'required' => array( 'archive_page_banner', '=', true ),
),
array(
'id' => 'archive_sidebar_layout',
'type' => 'image_select',
'title' => esc_html__( 'Layout', 'thinkai' ),
'subtitle' => esc_html__( 'Select main content and sidebar alignment.', 'thinkai' ),
'options' => array(
'left' => array(
'alt' => esc_html__( '2 Column Left', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/2cl.png',
),
'full' => array(
'alt' => esc_html__( '1 Column', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/1col.png',
),
'right' => array(
'alt' => esc_html__( '2 Column Right', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/2cr.png',
),
),
'default' => 'right',
),
array(
'id' => 'archive_page_sidebar',
'type' => 'select',
'title' => esc_html__( 'Sidebar', 'thinkai' ),
'desc' => esc_html__( 'Select sidebar to show at blog listing page', 'thinkai' ),
'required' => array(
array( 'archive_sidebar_layout', '=', array( 'left', 'right' ) ),
),
'options' => thinkai_get_sidebars(),
),
array(
'id' => 'archive_default_ed',
'type' => 'section',
'indent' => false,
'required' => [ 'archive_source_type', '=', 'd' ],
),
),
);

View File

@@ -0,0 +1,112 @@
<?php
return array(
'title' => esc_html__( 'Author Page Settings', 'thinkai' ),
'id' => 'author_setting',
'desc' => '',
'subsection' => true,
'fields' => array(
array(
'id' => 'author_source_type',
'type' => 'button_set',
'title' => esc_html__( 'Author Source Type', 'thinkai' ),
'options' => array(
'd' => esc_html__( 'Default', 'thinkai' ),
'e' => esc_html__( 'Elementor', 'thinkai' ),
),
'default' => 'd',
),
array(
'id' => 'author_elementor_template',
'type' => 'select',
'title' => __( 'Template', 'thinkai' ),
'data' => 'posts',
'args' => [
'post_type' => [ 'elementor_library' ],
'posts_per_page'=> -1,
],
'required' => [ 'author_source_type', '=', 'e' ],
),
array(
'id' => 'author_default_st',
'type' => 'section',
'title' => esc_html__( 'Author Default', 'thinkai' ),
'indent' => true,
'required' => [ 'author_source_type', '=', 'd' ],
),
array(
'id' => 'author_page_banner',
'type' => 'switch',
'title' => esc_html__( 'Show Banner', 'thinkai' ),
'desc' => esc_html__( 'Enable to show banner on blog', 'thinkai' ),
'default' => true,
),
array(
'id' => 'author_features_list',
'type' => 'textarea',
'title' => esc_html__( 'Banner Feature List', 'thinkai' ),
'desc' => esc_html__( 'Enter the feature list to show in banner section', 'thinkai' ),
'required' => array( 'author_page_banner', '=', true ),
),
array(
'id' => 'author_banner_title',
'type' => 'text',
'title' => esc_html__( 'Banner Section Title', 'thinkai' ),
'desc' => esc_html__( 'Enter the title to show in banner section', 'thinkai' ),
'required' => array( 'author_page_banner', '=', true ),
),
array(
'id' => 'author_page_background',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Background Image', 'thinkai' ),
'desc' => esc_html__( 'Insert background image for banner', 'thinkai' ),
'default' => array(
'url' => THINKAI_URI . 'assets/images/breadcrumb/breadcrumb-1.jpg',
),
'required' => array( 'author_page_banner', '=', true ),
),
array(
'id' => 'author_sidebar_layout',
'type' => 'image_select',
'title' => esc_html__( 'Layout', 'thinkai' ),
'subtitle' => esc_html__( 'Select main content and sidebar alignment.', 'thinkai' ),
'options' => array(
'left' => array(
'alt' => esc_html__( '2 Column Left', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/2cl.png',
),
'full' => array(
'alt' => esc_html__( '1 Column', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/1col.png',
),
'right' => array(
'alt' => esc_html__( '2 Column Right', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/2cr.png',
),
),
'default' => 'right',
),
array(
'id' => 'author_page_sidebar',
'type' => 'select',
'title' => esc_html__( 'Sidebar', 'thinkai' ),
'desc' => esc_html__( 'Select sidebar to show at blog listing page', 'thinkai' ),
'required' => array(
array( 'author_sidebar_layout', '=', array( 'left', 'right' ) ),
),
'options' => thinkai_get_sidebars(),
),
array(
'id' => 'author_default_ed',
'type' => 'section',
'indent' => false,
'required' => [ 'author_source_type', '=', 'd' ],
),
),
);

View File

@@ -0,0 +1,141 @@
<?php
return array(
'title' => esc_html__( 'Blog Page Settings', 'thinkai' ),
'id' => 'blog_setting',
'desc' => '',
'icon' => 'el el-indent-left',
'fields' => array(
array(
'id' => 'blog_source_type',
'type' => 'button_set',
'title' => esc_html__( 'Blog Source Type', 'thinkai' ),
'options' => array(
'd' => esc_html__( 'Default', 'thinkai' ),
'e' => esc_html__( 'Elementor', 'thinkai' ),
),
'default' => 'd',
),
array(
'id' => 'blog_elementor_template',
'type' => 'select',
'title' => __( 'Template', 'thinkai' ),
'data' => 'posts',
'args' => [
'post_type' => [ 'elementor_library' ],
'posts_per_page'=> -1,
],
'required' => [ 'blog_source_type', '=', 'e' ],
),
array(
'id' => 'blog_default_st',
'type' => 'section',
'title' => esc_html__( 'Blog Default', 'thinkai' ),
'indent' => true,
'required' => [ 'blog_source_type', '=', 'd' ],
),
array(
'id' => 'blog_page_banner',
'type' => 'switch',
'title' => esc_html__( 'Show Banner', 'thinkai' ),
'desc' => esc_html__( 'Enable to show banner on blog', 'thinkai' ),
'default' => true,
),
array(
'id' => 'blog_features_list',
'type' => 'textarea',
'title' => esc_html__( 'Banner Feature List', 'thinkai' ),
'desc' => esc_html__( 'Enter the Feature List to show in banner section', 'thinkai' ),
'required' => array( 'blog_page_banner', '=', true ),
),
array(
'id' => 'blog_banner_title',
'type' => 'text',
'title' => esc_html__( 'Banner Section Title', 'thinkai' ),
'desc' => esc_html__( 'Enter the title to show in banner section', 'thinkai' ),
'required' => array( 'blog_page_banner', '=', true ),
),
array(
'id' => 'blog_page_background',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Background Image', 'thinkai' ),
'desc' => esc_html__( 'Insert background image for banner', 'thinkai' ),
'default' => array(
'url' => THINKAI_URI . 'assets/images/breadcrumb/breadcrumb-1.jpg',
),
'required' => array( 'blog_page_banner', '=', true ),
),
array(
'id' => 'blog_sidebar_layout',
'type' => 'image_select',
'title' => esc_html__( 'Layout', 'thinkai' ),
'subtitle' => esc_html__( 'Select main content and sidebar alignment.', 'thinkai' ),
'options' => array(
'left' => array(
'alt' => esc_html__( '2 Column Left', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/2cl.png',
),
'full' => array(
'alt' => esc_html__( '1 Column', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/1col.png',
),
'right' => array(
'alt' => esc_html__( '2 Column Right', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/2cr.png',
),
),
'default' => 'right',
),
array(
'id' => 'blog_page_sidebar',
'type' => 'select',
'title' => esc_html__( 'Sidebar', 'thinkai' ),
'desc' => esc_html__( 'Select sidebar to show at blog listing page', 'thinkai' ),
'required' => array(
array( 'blog_sidebar_layout', '=', array( 'left', 'right' ) ),
),
'options' => thinkai_get_sidebars(),
),
array(
'id' => 'blog_post_comments',
'type' => 'switch',
'title' => esc_html__( 'Show Post Comments', 'thinkai' ),
'desc' => esc_html__( 'Enable to show post comments on posts listing', 'thinkai' ),
'default' => false,
),
array(
'id' => 'blog_post_author',
'type' => 'switch',
'title' => esc_html__( 'Hide Author', 'thinkai' ),
'desc' => esc_html__( 'Enable to show author on posts listing', 'thinkai' ),
'default' => false,
),
array(
'id' => 'blog_post_date',
'type' => 'switch',
'title' => esc_html__( 'Hide Post Date', 'thinkai' ),
'desc' => esc_html__( 'Enable to show post data on posts listing', 'thinkai' ),
'default' => false,
),
array(
'id' => 'blog_post_category',
'type' => 'switch',
'title' => esc_html__( 'Hide Post Category', 'thinkai' ),
'desc' => esc_html__( 'Enable to show post category on posts listing', 'thinkai' ),
'default' => false,
),
array(
'id' => 'blog_default_ed',
'type' => 'section',
'indent' => false,
'required' => [ 'blog_source_type', '=', 'd' ],
),
),
);

View File

@@ -0,0 +1,36 @@
<?php
return array(
'title' => esc_html__( 'Body Font Settings', 'thinkai' ),
'id' => 'body_font_setting',
'desc' => '',
'subsection' => true,
'fields' => array(
array(
'id' => 'body_custom_fonts',
'type' => 'switch',
'title' => esc_html__('Use Body,Paragraph Custom Font', 'thinkai'),
'desc' => esc_html__('Enable to customize the theme body,p tag font', 'thinkai'),
),
array(
'id' => 'body_typography',
'type' => 'typography',
'title' => esc_html__('Body Font Typography', 'thinkai'),
'google' => true,
'font-backup' => true,
'output' => array('p', '.about > p', '.serv-caro li p ', '.counter-meta > p', '.funfacts > li > p', '.price-table p ', '.testimonials li p', '.ser-meta > p', '.whyus-meta > p ', '.touch-form > p ', '.category-box > p', '.experts-box .experts-box > p', '.blog-detail-meta > p', '.banner-meta > p', '.author-post > p', '.commenter-meta > p ', '.times > li p', '.complete-contact > p', '.xyz > p', '.error-page > p', '.project-deta .blog-detail-meta > p ', '.ziehharmonika > div p', '.download-box ul li p', '.soom-info > p ', '.countdown > li > p', '.s-not-found > p', '.about > p', '.serv-caro li p' ),
'units' => 'px',
'subtitle' => esc_html__('Apply options to customize the body,paragraph font for the theme', 'thinkai'),
'default' => array(
'color' => '',
'font-style' => '',
'font-family' => '',
'google' => true,
'font-size' => '',
'line-height' => ''
),
'required' => array('body_custom_fonts', '=', true),
),
),
);

View File

@@ -0,0 +1,112 @@
<?php
return array(
'title' => esc_html__( 'Category Page Settings', 'thinkai' ),
'id' => 'category_setting',
'desc' => '',
'subsection' => true,
'fields' => array(
array(
'id' => 'category_source_type',
'type' => 'button_set',
'title' => esc_html__( 'Category Source Type', 'thinkai' ),
'options' => array(
'd' => esc_html__( 'Default', 'thinkai' ),
'e' => esc_html__( 'Elementor', 'thinkai' ),
),
'default' => 'd',
),
array(
'id' => 'category_elementor_template',
'type' => 'select',
'title' => __( 'Template', 'thinkai' ),
'data' => 'posts',
'args' => [
'post_type' => [ 'elementor_library' ],
'posts_per_page'=> -1,
],
'required' => [ 'category_source_type', '=', 'e' ],
),
array(
'id' => 'category_default_st',
'type' => 'section',
'title' => esc_html__( 'Category Default', 'thinkai' ),
'indent' => true,
'required' => [ 'category_source_type', '=', 'd' ],
),
array(
'id' => 'category_page_banner',
'type' => 'switch',
'title' => esc_html__( 'Show Banner', 'thinkai' ),
'desc' => esc_html__( 'Enable to show banner on blog', 'thinkai' ),
'default' => true,
),
array(
'id' => 'category_features_list',
'type' => 'textarea',
'title' => esc_html__( 'Banner Feature List', 'thinkai' ),
'desc' => esc_html__( 'Enter the Feature List to show in banner section', 'thinkai' ),
'required' => array( 'category_page_banner', '=', true ),
),
array(
'id' => 'category_banner_title',
'type' => 'text',
'title' => esc_html__( 'Banner Section Title', 'thinkai' ),
'desc' => esc_html__( 'Enter the title to show in banner section', 'thinkai' ),
'required' => array( 'category_page_banner', '=', true ),
),
array(
'id' => 'category_page_background',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Background Image', 'thinkai' ),
'desc' => esc_html__( 'Insert background image for banner', 'thinkai' ),
'default' => array(
'url' => THINKAI_URI . 'assets/images/breadcrumb/breadcrumb-1.jpg',
),
'required' => array( 'category_page_banner', '=', true ),
),
array(
'id' => 'category_sidebar_layout',
'type' => 'image_select',
'title' => esc_html__( 'Layout', 'thinkai' ),
'subtitle' => esc_html__( 'Select main content and sidebar alignment.', 'thinkai' ),
'options' => array(
'left' => array(
'alt' => esc_html__( '2 Column Left', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/2cl.png',
),
'full' => array(
'alt' => esc_html__( '1 Column', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/1col.png',
),
'right' => array(
'alt' => esc_html__( '2 Column Right', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/2cr.png',
),
),
'default' => 'right',
),
array(
'id' => 'category_page_sidebar',
'type' => 'select',
'title' => esc_html__( 'Sidebar', 'thinkai' ),
'desc' => esc_html__( 'Select sidebar to show at blog listing page', 'thinkai' ),
'required' => array(
array( 'category_sidebar_layout', '=', array( 'left', 'right' ) ),
),
'options' => thinkai_get_sidebars(),
),
array(
'id' => 'category_default_ed',
'type' => 'section',
'indent' => false,
'required' => [ 'category_source_type', '=', 'd' ],
),
),
);

View File

@@ -0,0 +1,24 @@
<?php
return array(
'title' => esc_html__( 'Custom Font Settings', 'thinkai' ),
'id' => 'custom_fonts_setting',
'desc' => '',
'icon' => 'el el-font',
'fields' => array(
array(
'id' => 'theme_custom_font',
'type' => 'fonts',
'desc' => esc_html__( 'Please upload your desire font file in *.ttf, *.otf, *.eot, *.woff format', 'thinkai' ),
),
),
);

View File

@@ -0,0 +1,18 @@
<?php
return array(
'title' => esc_html__( 'Custom Sidebar Settings', 'thinkai' ),
'id' => 'custom_sidebar_setting',
'desc' => '',
'icon' => 'el el-indent-left',
'fields' => array(
array(
'id' => 'custom_sidebar_name',
'type' => 'multi_text',
'title' => esc_html__('Dynamic Custom Sidebar', 'thinkai'),
'desc' => esc_html__('This section is used to create custom sidebar', 'thinkai')
),
),
);

View File

@@ -0,0 +1,442 @@
<?php
return array(
'title' => esc_html__( 'Footer Setting', 'thinkai' ),
'id' => 'footer_setting',
'desc' => '',
'subsection' => false,
'fields' => array(
array(
'id' => 'footer_source_type',
'type' => 'button_set',
'title' => esc_html__( 'Footer Source Type', 'thinkai' ),
'options' => array(
'd' => esc_html__( 'Default', 'thinkai' ),
'e' => esc_html__( 'Elementor', 'thinkai' ),
),
'default' => 'd',
),
array(
'id' => 'footer_elementor_template',
'type' => 'select',
'title' => __( 'Template', 'thinkai' ),
'data' => 'posts',
'args' => [
'post_type' => [ 'elementor_library' ],
'posts_per_page' => -1
],
'required' => [ 'footer_source_type', '=', 'e' ],
),
array(
'id' => 'footer_style_section_start',
'type' => 'section',
'indent' => true,
'title' => esc_html__( 'Footer Settings', 'thinkai' ),
'required' => array( 'footer_source_type', '=', 'd' ),
),
array(
'id' => 'footer_style_settings',
'type' => 'image_select',
'title' => esc_html__( 'Choose Footer Styles', 'thinkai' ),
'subtitle' => esc_html__( 'Choose Footer Styles', 'thinkai' ),
'options' => array(
'footer_v1' => array(
'alt' => esc_html__( 'Footer Style 1', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/footer/footer_v1.png',
),
'footer_v2' => array(
'alt' => esc_html__( 'Footer Style 2', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/footer/footer_v2.png',
),
'footer_v3' => array(
'alt' => esc_html__( 'Footer Style 3', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/footer/footer_v3.png',
),
'footer_v4' => array(
'alt' => esc_html__( 'Footer Style 4', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/footer/footer_v4.png',
),
'footer_v5' => array(
'alt' => esc_html__( 'Footer Style 5', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/footer/footer_v5.png',
),
),
'required' => array( 'footer_source_type', '=', 'd' ),
'default' => 'footer_v1',
),
/***********************************************************************
Footer Version 1 Start
************************************************************************/
array(
'id' => 'footer_v1_settings_section_start',
'type' => 'section',
'indent' => true,
'title' => esc_html__( 'Footer Style One Settings', 'thinkai' ),
'required' => array( 'footer_style_settings', '=', 'footer_v1' ),
),
array(
'id' => 'show_top_footer_v1',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Top Footer', 'thinkai'),
'default' => false,
'required' => array( 'footer_style_settings', '=', 'footer_v1' ),
),
array(
'id' => 'footer_shape_img_v1',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Footer BG Pattern Image', 'thinkai' ),
'subtitle' => esc_html__( 'Insert footer BG Pattern Image', 'thinkai' ),
'required' => array( 'show_top_footer_v1', '=', true ),
),
array(
'id' => 'footer_logo_title_v1',
'type' => 'text',
'title' => __( 'Logo Title', 'thinkai' ),
'required' => array( 'show_top_footer_v1', '=', true ),
),
array(
'id' => 'footer_user_text_v1',
'type' => 'textarea',
'title' => __( 'User Description', 'thinkai' ),
'required' => array( 'show_top_footer_v1', '=', true ),
),
array(
'id' => 'footer_external_link_v1',
'type' => 'text',
'title' => __( 'External Link', 'thinkai' ),
'required' => array( 'show_top_footer_v1', '=', true ),
),
array(
'id' => 'footer_newsletter_icon_image',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Form Icon Image', 'thinkai' ),
'subtitle' => esc_html__( 'Insert footer Form Icon Image', 'thinkai' ),
'required' => array( 'show_top_footer_v1', '=', true ),
),
array(
'id' => 'footer_newsletter_title_v1',
'type' => 'textarea',
'title' => __( 'Newsletter Form Title', 'thinkai' ),
'required' => array( 'show_top_footer_v1', '=', true ),
),
array(
'id' => 'footer_newsletter_text_v1',
'type' => 'textarea',
'title' => __( 'Newsletter Form Text', 'thinkai' ),
'required' => array( 'show_top_footer_v1', '=', true ),
),
array(
'id' => 'footer_newsletter_form_url_v1',
'type' => 'text',
'title' => __( 'Mailchimp Form Url', 'thinkai' ),
'required' => array( 'show_top_footer_v1', '=', true ),
),
array(
'id' => 'footer_copyright_text_v1',
'type' => 'textarea',
'title' => __( 'Copyright Text', 'thinkai' ),
'required' => array( 'footer_style_settings', '=', 'footer_v1' ),
),
//Footer Privacy Menu
array(
'id' => 'show_footer_privacy_menu_v1',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Privacy Menu', 'thinkai'),
'default' => false,
'required' => array( 'footer_style_settings', '=', 'footer_v1' ),
),
array(
'id' => 'footer_privacy_menu_v1',
'type' => 'textarea',
'title' => __( 'Privacy Menu', 'thinkai' ),
'required' => array( 'show_footer_privacy_menu_v1', '=', true ),
),
/***********************************************************************
Footer Version 1 Start
************************************************************************/
array(
'id' => 'footer_v2_settings_section_start',
'type' => 'section',
'indent' => true,
'title' => esc_html__( 'Footer Style Two Settings', 'thinkai' ),
'required' => array( 'footer_style_settings', '=', 'footer_v2' ),
),
array(
'id' => 'footer_copyright_text_v2',
'type' => 'textarea',
'title' => __( 'Copyright Text', 'thinkai' ),
'required' => array( 'footer_style_settings', '=', 'footer_v2' ),
),
//Footer Privacy Menu
array(
'id' => 'show_footer_privacy_menu_v2',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Privacy Menu', 'thinkai'),
'default' => false,
'required' => array( 'footer_style_settings', '=', 'footer_v2' ),
),
array(
'id' => 'footer_privacy_menu_v2',
'type' => 'textarea',
'title' => __( 'Privacy Menu', 'thinkai' ),
'required' => array( 'show_footer_privacy_menu_v2', '=', true ),
),
/***********************************************************************
Footer Version 3 Start
************************************************************************/
array(
'id' => 'footer_v3_settings_section_start',
'type' => 'section',
'indent' => true,
'title' => esc_html__( 'Footer Style Three Settings', 'thinkai' ),
'required' => array( 'footer_style_settings', '=', 'footer_v3' ),
),
//Footer Privacy Menu
array(
'id' => 'show_footer_privacy_menu_v3',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Privacy Menu', 'thinkai'),
'default' => false,
'required' => array( 'footer_style_settings', '=', 'footer_v3' ),
),
array(
'id' => 'footer_privacy_menu_v3',
'type' => 'textarea',
'title' => __( 'Privacy Menu', 'thinkai' ),
'required' => array( 'show_footer_privacy_menu_v3', '=', true ),
),
array(
'id' => 'footer_copyright_text_v3',
'type' => 'textarea',
'title' => __( 'Copyright Text', 'thinkai' ),
'required' => array( 'footer_style_settings', '=', 'footer_v3' ),
),
//Social Icon
array(
'id' => 'show_footer_social_icon_v3',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Social Icon', 'thinkai'),
'default' => false,
'required' => array( 'footer_style_settings', '=', 'footer_v3' ),
),
//Email address Info
array(
'id' => 'show_footer_email_info_v3',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Email Address', 'thinkai'),
'default' => false,
'required' => array( 'footer_style_settings', '=', 'footer_v3' ),
),
array(
'id' => 'footer_email_title_v3',
'type' => 'text',
'title' => __( 'Email Title', 'thinkai' ),
'required' => array( 'show_footer_email_info_v3', '=', true ),
),
array(
'id' => 'footer_email_address_v3',
'type' => 'text',
'title' => __( 'Email Address', 'thinkai' ),
'required' => array( 'show_footer_email_info_v3', '=', true ),
),
/***********************************************************************
Footer Version 4 Start
************************************************************************/
array(
'id' => 'footer_v4_settings_section_start',
'type' => 'section',
'indent' => true,
'title' => esc_html__( 'Footer Style Four Settings', 'thinkai' ),
'required' => array( 'footer_style_settings', '=', 'footer_v4' ),
),
//BG Image
array(
'id' => 'bg_img_v4',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'BG Image', 'thinkai' ),
'subtitle' => esc_html__( 'Insert footer BG Image', 'thinkai' ),
'required' => array( 'footer_style_settings', '=', 'footer_v4' ),
),
//Footer Topbar Section
array(
'id' => 'show_top_footer_v4',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Footer Topbar Section', 'thinkai'),
'default' => false,
'required' => array( 'footer_style_settings', '=', 'footer_v4' ),
),
array(
'id' => 'logo_img_v4',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Logo Image', 'thinkai' ),
'subtitle' => esc_html__( 'Insert footer Logo Image', 'thinkai' ),
'required' => array( 'show_top_footer_v4', '=', true ),
),
array(
'id' => 'footer_title_v4',
'type' => 'textarea',
'title' => __( 'Title', 'thinkai' ),
'required' => array( 'show_top_footer_v4', '=', true ),
),
array(
'id' => 'footer_contact_info_title_v4',
'type' => 'text',
'title' => __( 'Question Title', 'thinkai' ),
'required' => array( 'show_top_footer_v4', '=', true ),
),
array(
'id' => 'footer_email_address_v4',
'type' => 'text',
'title' => __( 'Email Address', 'thinkai' ),
'required' => array( 'show_top_footer_v4', '=', true ),
),
array(
'id' => 'footer_button_title_v4',
'type' => 'text',
'title' => __( 'Button Title', 'thinkai' ),
'required' => array( 'show_top_footer_v4', '=', true ),
),
array(
'id' => 'footer_button_link_v4',
'type' => 'text',
'title' => __( 'Button Link', 'thinkai' ),
'required' => array( 'show_top_footer_v4', '=', true ),
),
array(
'id' => 'footer_external_link_v4',
'type' => 'text',
'title' => __( 'External Link', 'thinkai' ),
'required' => array( 'show_top_footer_v4', '=', true ),
),
//Social Media
array(
'id' => 'social_media_tabs_v2',
'type' => 'repeater',
'icon' => 'el-icon-thumbs-up',
'title' => __('Add Social Media', 'thinkai'),
'required' => array( 'show_top_footer_v4', '=', true ),
'group_values' => true,
'sortable' => true,
'fields' => array(
array(
'id' => 'title_social_media_v2',
'type' => 'text',
'title' => __('Title', 'thinkai'),
),
array(
'id' => 'select_social_media_v2',
'type' => 'select',
'data' => get_fontawesome_icons(),
'title' => esc_html__('Choose Social Media', 'thinkai'),
),
array(
'id' => 'link_social_media_v2',
'type' => 'text',
'title' => __('Link', 'thinkai'),
),
)
),
//Footer Privacy Menu
array(
'id' => 'show_footer_privacy_menu_v4',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Privacy Menu', 'thinkai'),
'default' => false,
'required' => array( 'footer_style_settings', '=', 'footer_v4' ),
),
array(
'id' => 'footer_privacy_menu_v4',
'type' => 'textarea',
'title' => __( 'Privacy Menu', 'thinkai' ),
'required' => array( 'show_footer_privacy_menu_v4', '=', true ),
),
//Copyright
array(
'id' => 'footer_copyright_text_v4',
'type' => 'textarea',
'title' => __( 'Copyright Text', 'thinkai' ),
'required' => array( 'footer_style_settings', '=', 'footer_v4' ),
),
/***********************************************************************
Footer Version 5 Start
************************************************************************/
array(
'id' => 'footer_v5_settings_section_start',
'type' => 'section',
'indent' => true,
'title' => esc_html__( 'Footer Style Five Settings', 'thinkai' ),
'required' => array( 'footer_style_settings', '=', 'footer_v5' ),
),
array(
'id' => 'show_top_footer_v5',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Footer Topbar Section', 'thinkai'),
'default' => false,
'required' => array( 'footer_style_settings', '=', 'footer_v5' ),
),
array(
'id' => 'footer_bg_title_v5',
'type' => 'text',
'title' => __( 'BG Title', 'thinkai' ),
'required' => array( 'show_top_footer_v5', '=', true ),
),
array(
'id' => 'footer_text_v5',
'type' => 'textarea',
'title' => __( 'User Description', 'thinkai' ),
'required' => array( 'show_top_footer_v5', '=', true ),
),
//Email Button
array(
'id' => 'footer_email_title_v5',
'type' => 'text',
'title' => __( 'Email Button Title', 'thinkai' ),
'required' => array( 'show_top_footer_v5', '=', true ),
),
array(
'id' => 'footer_email_address_v5',
'type' => 'text',
'title' => __( 'Email Address', 'thinkai' ),
'required' => array( 'show_top_footer_v5', '=', true ),
),
//support Chat
array(
'id' => 'footer_support_title_v5',
'type' => 'text',
'title' => __( 'Chat button Title', 'thinkai' ),
'required' => array( 'show_top_footer_v5', '=', true ),
),
array(
'id' => 'footer_support_link_v5',
'type' => 'text',
'title' => __( 'Support Button Link', 'thinkai' ),
'required' => array( 'show_top_footer_v5', '=', true ),
),
array(
'id' => 'footer_default_ed',
'type' => 'section',
'indent' => false,
'required' => [ 'footer_source_type', '=', 'd' ],
),
),
);

View File

@@ -0,0 +1,38 @@
<?php
$styles = [];
foreach(range(1, 28) as $val) {
$styles[$val] = sprintf(esc_html__('Style %s', 'thinkai'), $val);
}
return array(
'title' => esc_html__( 'General Setting', 'thinkai' ),
'id' => 'general_setting',
'desc' => '',
'icon' => 'el el-wrench',
'fields' => array(
array(
'id' => 'theme_preloader',
'type' => 'switch',
'title' => esc_html__('Enable Preloader', 'thinkai'),
'default' => false,
),
array(
'id' => 'mouse_cursor',
'type' => 'switch',
'title' => esc_html__('Enable Mouse Cursor ', 'thinkai'),
'default' => false,
),
array(
'id' => 'show_scroltop',
'type' => 'switch',
'title' => esc_html__('Enable Scroll To Top Button ', 'thinkai'),
'default' => false,
),
array(
'id' => 'scroltop_text',
'type' => 'text',
'title' => esc_html__( 'Button Text', 'thinkai' ),
'required' => array( 'show_scroltop', '=', true ),
),
),
);

View File

@@ -0,0 +1,439 @@
<?php
return array(
'title' => esc_html__( 'Header Setting', 'thinkai' ),
'id' => 'headers_setting',
'desc' => '',
'subsection' => false,
'fields' => array(
array(
'id' => 'header_source_type',
'type' => 'button_set',
'title' => esc_html__( 'Header Source Type', 'thinkai' ),
'options' => array(
'd' => esc_html__( 'Default', 'thinkai' ),
'e' => esc_html__( 'Elementor', 'thinkai' ),
),
'default' => 'd',
),
array(
'id' => 'header_elementor_template',
'type' => 'select',
'title' => __( 'Template', 'thinkai' ),
'data' => 'posts',
'args' => [
'post_type' => [ 'elementor_library' ],
'posts_per_page' => -1
],
'required' => [ 'header_source_type', '=', 'e' ],
),
array(
'id' => 'header_style_section_start',
'type' => 'section',
'indent' => true,
'title' => esc_html__( 'Header Settings', 'thinkai' ),
'required' => array( 'header_source_type', '=', 'd' ),
),
//Header Settings
array(
'id' => 'header_style_settings',
'type' => 'image_select',
'title' => esc_html__( 'Choose Header Styles', 'thinkai' ),
'subtitle' => esc_html__( 'Choose Header Styles', 'thinkai' ),
'options' => array(
'header_v1' => array(
'alt' => esc_html__( 'Header Style 1', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/header/header_v1.png',
),
'header_v2' => array(
'alt' => esc_html__( 'Header Style 2', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/header/header_v2.png',
),
'header_v3' => array(
'alt' => esc_html__( 'Header Style 3', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/header/header_v3.png',
),
'header_v4' => array(
'alt' => esc_html__( 'Header Style 4', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/header/header_v4.png',
),
'header_v5' => array(
'alt' => esc_html__( 'Header Style 5', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/header/header_v5.png',
),
),
'required' => array( 'header_source_type', '=', 'd' ),
'default' => 'header_v1',
),
/***********************************************************************
Header Version 1 Start
************************************************************************/
array(
'id' => 'header_v1_settings_section_start',
'type' => 'section',
'indent' => true,
'title' => esc_html__( 'Header Style One Settings', 'thinkai' ),
'required' => array( 'header_style_settings', '=', 'header_v1' ),
),
//Header V1 Logo Style
array(
'id' => 'header_v1_logo_show',
'type' => 'switch',
'title' => esc_html__('Enable Logo', 'thinkai'),
'default' => true,
'required' => array( 'header_style_settings', '=', 'header_v1' ),
),
array(
'id' => 'header_v1_logo',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Logo Image', 'thinkai' ),
'subtitle' => esc_html__( 'Insert site logo image', 'thinkai' ),
'required' => array( 'header_v1_logo_show', '=', true ),
),
array(
'id' => 'header_v1_logo_dimension',
'type' => 'dimensions',
'title' => esc_html__( 'Logo Dimentions', 'thinkai' ),
'subtitle' => esc_html__( 'Select Logo Dimentions', 'thinkai' ),
'units' => array( 'em', 'px', '%' ),
'default' => array( 'Width' => '', 'Height' => '' ),
'required' => array( 'header_v1_logo_show', '=', true ),
),
//Header Topbar
array(
'id' => 'show_header_topbar_v1',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Header Topbar', 'thinkai'),
'default' => false,
'required' => array( 'header_style_settings', '=', 'header_v1' ),
),
array(
'id' => 'welcome_text_v1',
'type' => 'text',
'title' => __( 'Welcome Text', 'thinkai' ),
'required' => array( 'show_header_topbar_v1', '=', true ),
),
//Get Started Button
array(
'id' => 'show_btn_v1',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Get Started BTN', 'thinkai'),
'default' => false,
'required' => array( 'show_header_topbar_v1', '=', true ),
),
array(
'id' => 'btn_title_v1',
'type' => 'text',
'title' => __( 'Button Title', 'thinkai' ),
'required' => array( 'show_btn_v1', '=', true ),
),
array(
'id' => 'btn_link_v1',
'type' => 'text',
'title' => __( 'Button Link', 'thinkai' ),
'required' => array( 'show_btn_v1', '=', true ),
),
//Account Button
array(
'id' => 'show_account_btn_v1',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Account BTN', 'thinkai'),
'default' => false,
'required' => array( 'header_style_settings', '=', 'header_v1' ),
),
array(
'id' => 'account_btn_title_v1',
'type' => 'text',
'title' => __( 'Account Button Title', 'thinkai' ),
'required' => array( 'show_account_btn_v1', '=', true ),
),
array(
'id' => 'account_btn_link_v1',
'type' => 'text',
'title' => __( 'Account Button Link', 'thinkai' ),
'required' => array( 'show_account_btn_v1', '=', true ),
),
//Search Form
array(
'id' => 'show_seach_form_v1',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Search Form Icon', 'thinkai'),
'default' => false,
'required' => array( 'header_style_settings', '=', 'header_v1' ),
),
/***********************************************************************
Header Version 2 Start
************************************************************************/
array(
'id' => 'header_v2_settings_section_start',
'type' => 'section',
'indent' => true,
'title' => esc_html__( 'Header Style Two Settings', 'thinkai' ),
'required' => array( 'header_style_settings', '=', 'header_v2' ),
),
//Header V2 Logo Style
array(
'id' => 'header_v2_logo_show',
'type' => 'switch',
'title' => esc_html__('Enable Logo', 'thinkai'),
'default' => true,
'required' => array( 'header_style_settings', '=', 'header_v2' ),
),
array(
'id' => 'header_v2_logo',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Logo Image', 'thinkai' ),
'subtitle' => esc_html__( 'Insert site logo image', 'thinkai' ),
'required' => array( 'header_v2_logo_show', '=', true ),
),
array(
'id' => 'header_v2_logo_dimension',
'type' => 'dimensions',
'title' => esc_html__( 'Logo Dimentions', 'thinkai' ),
'subtitle' => esc_html__( 'Select Logo Dimentions', 'thinkai' ),
'units' => array( 'em', 'px', '%' ),
'default' => array( 'Width' => '', 'Height' => '' ),
'required' => array( 'header_v2_logo_show', '=', true ),
),
//Account Button
array(
'id' => 'show_account_btn_v2',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Account BTN', 'thinkai'),
'default' => false,
'required' => array( 'header_style_settings', '=', 'header_v2' ),
),
array(
'id' => 'account_btn_title_v2',
'type' => 'text',
'title' => __( 'Account Button Title', 'thinkai' ),
'required' => array( 'show_account_btn_v2', '=', true ),
),
array(
'id' => 'account_btn_link_v2',
'type' => 'text',
'title' => __( 'Account Button Link', 'thinkai' ),
'required' => array( 'show_account_btn_v2', '=', true ),
),
//Search Form
array(
'id' => 'show_seach_form_v2',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Search Form Icon', 'thinkai'),
'default' => false,
'required' => array( 'header_style_settings', '=', 'header_v2' ),
),
/***********************************************************************
Header Version 3 Start
************************************************************************/
array(
'id' => 'header_v3_settings_section_start',
'type' => 'section',
'indent' => true,
'title' => esc_html__( 'Header Style Three Settings', 'thinkai' ),
'required' => array( 'header_style_settings', '=', 'header_v3' ),
),
//Header V3 Logo Style
array(
'id' => 'header_v3_logo_show',
'type' => 'switch',
'title' => esc_html__('Enable Logo', 'thinkai'),
'default' => true,
'required' => array( 'header_style_settings', '=', 'header_v3' ),
),
array(
'id' => 'header_v3_logo',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Logo Image', 'thinkai' ),
'subtitle' => esc_html__( 'Insert site logo image', 'thinkai' ),
'required' => array( 'header_v3_logo_show', '=', true ),
),
array(
'id' => 'header_v3_logo_dimension',
'type' => 'dimensions',
'title' => esc_html__( 'Logo Dimentions', 'thinkai' ),
'subtitle' => esc_html__( 'Select Logo Dimentions', 'thinkai' ),
'units' => array( 'em', 'px', '%' ),
'default' => array( 'Width' => '', 'Height' => '' ),
'required' => array( 'header_v3_logo_show', '=', true ),
),
//Search Form
array(
'id' => 'show_seach_form_v3',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Search Form Icon', 'thinkai'),
'default' => false,
'required' => array( 'header_style_settings', '=', 'header_v3' ),
),
//SIdebar Icon Info
array(
'id' => 'show_sidebar_info_icon_v3',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Sidebar Info Icon', 'thinkai'),
'default' => false,
'required' => array( 'header_style_settings', '=', 'header_v3' ),
),
//Account Button
array(
'id' => 'show_account_btn_v3',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Account BTN', 'thinkai'),
'default' => false,
'required' => array( 'header_style_settings', '=', 'header_v3' ),
),
array(
'id' => 'account_btn_title_v3',
'type' => 'text',
'title' => __( 'Account Button Title', 'thinkai' ),
'required' => array( 'show_account_btn_v3', '=', true ),
),
array(
'id' => 'account_btn_link_v3',
'type' => 'text',
'title' => __( 'Account Button Link', 'thinkai' ),
'required' => array( 'show_account_btn_v3', '=', true ),
),
/***********************************************************************
Header Version 4 Start
************************************************************************/
array(
'id' => 'header_v4_settings_section_start',
'type' => 'section',
'indent' => true,
'title' => esc_html__( 'Header Style Four Settings', 'thinkai' ),
'required' => array( 'header_style_settings', '=', 'header_v4' ),
),
//Header V4 Logo Style
array(
'id' => 'header_v4_logo_show',
'type' => 'switch',
'title' => esc_html__('Enable Logo', 'thinkai'),
'default' => true,
'required' => array( 'header_style_settings', '=', 'header_v4' ),
),
array(
'id' => 'header_v4_logo',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Logo Image', 'thinkai' ),
'subtitle' => esc_html__( 'Insert site logo image', 'thinkai' ),
'required' => array( 'header_v4_logo_show', '=', true ),
),
array(
'id' => 'header_v4_logo_dimension',
'type' => 'dimensions',
'title' => esc_html__( 'Logo Dimentions', 'thinkai' ),
'subtitle' => esc_html__( 'Select Logo Dimentions', 'thinkai' ),
'units' => array( 'em', 'px', '%' ),
'default' => array( 'Width' => '', 'Height' => '' ),
'required' => array( 'header_v4_logo_show', '=', true ),
),
//Search Form
array(
'id' => 'show_seach_form_v4',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Search Form Icon', 'thinkai'),
'default' => false,
'required' => array( 'header_style_settings', '=', 'header_v4' ),
),
//SIdebar Icon Info
array(
'id' => 'show_sidebar_info_icon_v4',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Sidebar Info Icon', 'thinkai'),
'default' => false,
'required' => array( 'header_style_settings', '=', 'header_v4' ),
),
/***********************************************************************
Header Version 4 Start
************************************************************************/
array(
'id' => 'header_v5_settings_section_start',
'type' => 'section',
'indent' => true,
'title' => esc_html__( 'Header Style Five Settings', 'thinkai' ),
'required' => array( 'header_style_settings', '=', 'header_v5' ),
),
//Header V5 Logo Style
array(
'id' => 'header_v5_logo_show',
'type' => 'switch',
'title' => esc_html__('Enable Logo', 'thinkai'),
'default' => true,
'required' => array( 'header_style_settings', '=', 'header_v5' ),
),
array(
'id' => 'header_v5_logo',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Logo Image', 'thinkai' ),
'subtitle' => esc_html__( 'Insert site logo image', 'thinkai' ),
'required' => array( 'header_v5_logo_show', '=', true ),
),
array(
'id' => 'header_v5_logo_dimension',
'type' => 'dimensions',
'title' => esc_html__( 'Logo Dimentions', 'thinkai' ),
'subtitle' => esc_html__( 'Select Logo Dimentions', 'thinkai' ),
'units' => array( 'em', 'px', '%' ),
'default' => array( 'Width' => '', 'Height' => '' ),
'required' => array( 'header_v5_logo_show', '=', true ),
),
//Search Form
array(
'id' => 'show_seach_form_v5',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Search Form Icon', 'thinkai'),
'default' => false,
'required' => array( 'header_style_settings', '=', 'header_v5' ),
),
//Sign In Button
array(
'id' => 'show_sign_in_btn_v5',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Sign In BTN', 'thinkai'),
'default' => false,
'required' => array( 'header_style_settings', '=', 'header_v5' ),
),
array(
'id' => 'sign_in_btn_title_v5',
'type' => 'text',
'title' => __( 'Button Title', 'thinkai' ),
'required' => array( 'show_sign_in_btn_v5', '=', true ),
),
array(
'id' => 'sign_in_btn_link_v5',
'type' => 'text',
'title' => __( 'Button Link', 'thinkai' ),
'required' => array( 'show_sign_in_btn_v5', '=', true ),
),
array(
'id' => 'header_style_section_end',
'type' => 'section',
'indent' => false,
'required' => [ 'header_source_type', '=', 'd' ],
),
),
);

View File

@@ -0,0 +1,317 @@
<?php
return array(
'title' => esc_html__( 'Heading Settings', 'thinkai' ),
'id' => 'heading_setting',
'desc' => '',
'subsection' => true,
'fields' => array(
array(
'id' => 'use_custom_heading_style_h1',
'type' => 'switch',
'title' => esc_html__('Use H1 Custom Font', 'thinkai'),
'desc' => esc_html__('Enable to customize the theme heading h1 tag font', 'thinkai'),
),
array(
'id' => 'h1_typography',
'type' => 'typography',
'title' => esc_html__('H1 Font Typography', 'thinkai'),
'google' => true,
'font-backup' => true,
'output' => array('h1', '.price-table h1 ', '.experts-box .main-title h1 ', '.soom-info > h1 ', '.m-content > h1', '.main-title > h1' ),
'units' => 'px',
'subtitle' => esc_html__('Apply options to customize the h1 heading font for the theme', 'thinkai'),
'default' => array(
'color' => '',
'font-style' => '',
'font-family' => '',
'google' => true,
'font-size' => '',
'line-height' => ''
),
'required' => array('use_custom_heading_style_h1', '=', true),
),
array(
'id' => 'use_custom_heading_style_h2',
'type' => 'switch',
'title' => esc_html__('Use H2 Custom Font', 'thinkai'),
'desc' => esc_html__('Enable to customize the theme heading h2 tag font', 'thinkai'),
),
array(
'id' => 'h2_typography',
'type' => 'typography',
'title' => esc_html__('H2 Font Typography', 'thinkai'),
'google' => true,
'font-backup' => true,
'output' => array('h2', '.rep-meta > h2', '.service-meta > h2', '.counter-meta > h2 ', '.price-table h2', '.service-box > h2', '.whyus-meta > h2', '.touch-form > h2', '.category-box > h2', '.hover-meta > h2', '.exprt-meta > h2', '.top-meta > h2', '.blog-detail-meta > h2', '.banner-meta > h2 ', '.banner-info > h2', '.tutorial-meta > h2', '.complete-contact > h2', '.thinkai .blog-detail-meta > h2', '.our-process > h2', '.video-meta .tutorial-meta > h2', '.rep-meta > h2 ', '.service-meta > h2' ),
'units' => 'px',
'subtitle' => esc_html__('Apply options to customize the h2 heading font for the theme', 'thinkai'),
'default' => array(
'color' => '',
'font-style' => '',
'font-family' => '',
'google' => true,
'font-size' => '',
'line-height' => ''
),
'required' => array('use_custom_heading_style_h2', '=', true),
),
array(
'id' => 'use_custom_heading_style_h3',
'type' => 'switch',
'title' => esc_html__('Use H3 Custom Font', 'thinkai'),
'desc' => esc_html__('Enable to customize the theme heading h3 tag font', 'thinkai'),
),
array(
'id' => 'h3_typography',
'type' => 'typography',
'title' => esc_html__('H3 Font Typography', 'thinkai'),
'google' => true,
'font-backup' => true,
'output' => array('h3', '.author-post > h3', '.related-videos > h3', '.m-content > h3', '.s-not-found h3' ),
'units' => 'px',
'subtitle' => esc_html__('Apply options to customize the h3 heading for the theme', 'thinkai'),
'default' => array(
'color' => '',
'font-style' => '',
'font-family' => '',
'google' => true,
'font-size' => '',
'line-height' => ''
),
'required' => array('use_custom_heading_style_h3', '=', true),
),
array(
'id' => 'use_custom_heading_style_h4',
'type' => 'switch',
'title' => esc_html__('Use H4 Custom Font', 'thinkai'),
'desc' => esc_html__('Enable to customize the theme heading h4 tag font', 'thinkai'),
),
array(
'id' => 'h4_typography',
'type' => 'typography',
'title' => esc_html__('H4 Font Typography', 'thinkai'),
'google' => true,
'font-backup' => true,
'output' => array( 'h4', '.blog-meta > h4', '.sidebar .widget-title > h4 ', '.banner-info > h4', '.result-errors h4' ),
'units' => 'px',
'subtitle' => esc_html__('Apply options to customize the h4 heading font for the theme', 'thinkai'),
'default' => array(
'color' => '',
'font-style' => '',
'font-family' => '',
'google' => true,
'font-size' => '',
'line-height' => ''
),
'required' => array('use_custom_heading_style_h4', '=', true),
),
array(
'id' => 'use_custom_heading_style_h5',
'type' => 'switch',
'title' => esc_html__('Use H5 Custom Font', 'thinkai'),
'desc' => esc_html__('Enable to customize the theme heading h5 tag font', 'thinkai'),
),
array(
'id' => 'h5_typography',
'type' => 'typography',
'title' => esc_html__('H5 Font Typography', 'thinkai'),
'google' => true,
'font-backup' => true,
'output' => array( 'h5', '.widget-title > h5', '.baner-data > h5', '.m-content > h5' ),
'units' => 'px',
'subtitle' => esc_html__('Apply options to customize the h5 heading font for the theme', 'thinkai'),
'default' => array(
'color' => '',
'font-style' => '',
'font-family' => '',
'google' => true,
'font-size' => '',
'line-height' => ''
),
'required' => array('use_custom_heading_style_h5', '=', true),
),
array(
'id' => 'use_custom_heading_style_h6',
'type' => 'switch',
'title' => esc_html__('Use H6 Custom Font', 'thinkai'),
'desc' => esc_html__('Enable to customize the theme heading h6 tag font', 'thinkai'),
),
array(
'id' => 'h6_typography',
'type' => 'typography',
'title' => esc_html__('H6 Font Typography', 'thinkai'),
'google' => true,
'font-backup' => true,
'output' => array( 'h6', '.comment-titles h6' ),
'units' => 'px',
'subtitle' => esc_html__('Apply options to customize the h6 heading font for the theme', 'thinkai'),
'default' => array(
'color' => '',
'font-style' => '',
'font-family' => '',
'google' => true,
'font-size' => '',
'line-height' => ''
),
'required' => array('use_custom_heading_style_h6', '=', true),
)
)
);

View File

@@ -0,0 +1,16 @@
<?php
return array(
'title' => esc_html__( 'Language Settings', 'thinkai' ),
'id' => 'language_settings',
'desc' => '',
'icon' => 'el el-globe',
'fields' => array(
array(
'id' => 'optLanguage',
'type' => 'language',
'desc' => esc_html__('Please upload .mo language file', 'thinkai'),
)
),
);

View File

@@ -0,0 +1,24 @@
<?php
return array(
'title' => esc_html__( 'Favicon Setting', 'thinkai' ),
'id' => 'logo_setting',
'desc' => '',
'subsection' => false,
'fields' => array(
//Favicon Style
array(
'id' => 'image_favicon',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Favicon', 'thinkai' ),
'subtitle' => esc_html__( 'Insert site favicon image', 'thinkai' ),
'default' => array( 'url' => get_template_directory_uri() . '/assets/images/favicon/favicon.png' ),
),
array(
'id' => 'logo_settings_section_end',
'type' => 'section',
'indent' => false,
),
),
);

View File

@@ -0,0 +1,72 @@
<?php
return array(
'title' => esc_html__( 'Mobile Sidebar Settings', 'thinkai' ),
'id' => 'mobile_setting',
'desc' => '',
'icon' => 'el el-font',
'fields' => array(
//Mobile Logo Style
array(
'id' => 'mobile_logo_show',
'type' => 'switch',
'title' => esc_html__('Enable Mobile Logo', 'thinkai'),
'default' => true,
),
array(
'id' => 'mobile_logo',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Logo Image', 'thinkai' ),
'subtitle' => esc_html__( 'Insert site logo image', 'thinkai' ),
'required' => array( 'mobile_logo_show', '=', true ),
),
array(
'id' => 'header_v1_logo_dimension',
'type' => 'dimensions',
'title' => esc_html__( 'Logo Dimentions', 'thinkai' ),
'subtitle' => esc_html__( 'Select Logo Dimentions', 'thinkai' ),
'units' => array( 'em', 'px', '%' ),
'default' => array( 'Width' => '', 'Height' => '' ),
'required' => array( 'mobile_logo_show', '=', true ),
),
//Search Form
array(
'id' => 'show_mobile_search_form_v1',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Search Form', 'thinkai'),
'default' => true,
),
//show Mobile Info V1
array(
'id' => 'show_mobile_info_v1',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Contact Info', 'thinkai'),
'default' => true,
),
array(
'id' => 'mobile_email_address_v1',
'type' => 'text',
'title' => __( 'Email Address', 'thinkai' ),
'required' => array( 'show_mobile_info_v1', '=', true ),
),
array(
'id' => 'mobile_phone_no_v1',
'type' => 'text',
'title' => __( 'Phone Number', 'thinkai' ),
'required' => array( 'show_mobile_info_v1', '=', true ),
),
array(
'id' => 'show_mob_social_icon',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Social Icons', 'thinkai'),
'default' => true,
),
),
);

View File

@@ -0,0 +1,118 @@
<?php
return array(
'title' => esc_html__( 'Search Page Settings', 'thinkai' ),
'id' => 'search_setting',
'desc' => '',
'subsection' => true,
'fields' => array(
array(
'id' => 'search_source_type',
'type' => 'button_set',
'title' => esc_html__( 'Search Source Type', 'thinkai' ),
'options' => array(
'd' => esc_html__( 'Default', 'thinkai' ),
'e' => esc_html__( 'Elementor', 'thinkai' ),
),
'default' => 'd',
),
array(
'id' => 'search_elementor_template',
'type' => 'select',
'title' => __( 'Template', 'thinkai' ),
'data' => 'posts',
'args' => [
'post_type' => [ 'elementor_library' ],
'posts_per_page'=> -1,
],
'required' => [ 'search_source_type', '=', 'e' ],
),
array(
'id' => 'search_default_st',
'type' => 'section',
'title' => esc_html__( 'Search Default', 'thinkai' ),
'indent' => true,
'required' => [ 'search_source_type', '=', 'd' ],
),
array(
'id' => 'search_page_banner',
'type' => 'switch',
'title' => esc_html__( 'Show Banner', 'thinkai' ),
'desc' => esc_html__( 'Enable to show banner on blog', 'thinkai' ),
'default' => true,
),
array(
'id' => 'search_features_list',
'type' => 'textarea',
'title' => esc_html__( 'Banner Feature List', 'thinkai' ),
'desc' => esc_html__( 'Enter the Feature List to show in banner section', 'thinkai' ),
'required' => array( 'search_page_banner', '=', true ),
),
array(
'id' => 'search_banner_title',
'type' => 'text',
'title' => esc_html__( 'Banner Section Title', 'thinkai' ),
'desc' => esc_html__( 'Enter the title to show in banner section', 'thinkai' ),
'required' => array( 'search_page_banner', '=', true ),
),
array(
'id' => 'search_page_background',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Background Image', 'thinkai' ),
'desc' => esc_html__( 'Insert background image for banner', 'thinkai' ),
'default' => array(
'url' => THINKAI_URI . 'assets/images/breadcrumb/breadcrumb-1.jpg',
),
'required' => array( 'search_page_banner', '=', true ),
),
array(
'id' => 'search_sidebar_layout',
'type' => 'image_select',
'title' => esc_html__( 'Layout', 'thinkai' ),
'subtitle' => esc_html__( 'Select main content and sidebar alignment.', 'thinkai' ),
'options' => array(
'left' => array(
'alt' => esc_html__( '2 Column Left', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/2cl.png',
),
'full' => array(
'alt' => esc_html__( '1 Column', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/1col.png',
),
'right' => array(
'alt' => esc_html__( '2 Column Right', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/2cr.png',
),
),
'default' => 'right',
),
array(
'id' => 'search_page_sidebar',
'type' => 'select',
'title' => esc_html__( 'Sidebar', 'thinkai' ),
'desc' => esc_html__( 'Select sidebar to show at blog listing page', 'thinkai' ),
'required' => array(
array( 'search_sidebar_layout', '=', array( 'left', 'right' ) ),
),
'options' => thinkai_get_sidebars(),
),
array(
'id' => 'search_default_ed',
'type' => 'section',
'indent' => false,
'required' => [ 'search_source_type', '=', 'd' ],
),
),
);

View File

@@ -0,0 +1,113 @@
<?php
return array(
'title' => esc_html__( 'Sidebar Sidebar Settings', 'thinkai' ),
'id' => 'sidebar_setting',
'desc' => '',
'icon' => 'el el-font',
'fields' => array(
//Sidebar Info Style
array(
'id' => 'sidebar_logo_show',
'type' => 'switch',
'title' => esc_html__('Enable Sidebar Logo', 'thinkai'),
'default' => true,
),
array(
'id' => 'sidebar_logo',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Logo Image', 'thinkai' ),
'subtitle' => esc_html__( 'Insert site logo image', 'thinkai' ),
'required' => array( 'sidebar_logo_show', '=', true ),
),
array(
'id' => 'sidebar_logo_dimension',
'type' => 'dimensions',
'title' => esc_html__( 'Logo Dimentions', 'thinkai' ),
'subtitle' => esc_html__( 'Select Logo Dimentions', 'thinkai' ),
'units' => array( 'em', 'px', '%' ),
'default' => array( 'Width' => '', 'Height' => '' ),
'required' => array( 'sidebar_logo_show', '=', true ),
),
//Main Title
array(
'id' => 'sidebar_title_v1',
'type' => 'text',
'title' => __( 'Title', 'thinkai' ),
),
//Description
array(
'id' => 'sidebar_text_v1',
'type' => 'textarea',
'title' => __( 'Text', 'thinkai' ),
),
//Contact Info
array(
'id' => 'show_sidebar_info_v1',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Contact Info', 'thinkai'),
'default' => false,
),
array(
'id' => 'sidebar_info_title_v1',
'type' => 'text',
'title' => __( 'Title', 'thinkai' ),
'required' => array( 'show_sidebar_info_v1', '=', true ),
),
array(
'id' => 'sidebar_address_v1',
'type' => 'textarea',
'title' => __( 'Address', 'thinkai' ),
'required' => array( 'show_sidebar_info_v1', '=', true ),
),
array(
'id' => 'sidebar_email_address_v1',
'type' => 'text',
'title' => __( 'Email Address', 'thinkai' ),
'required' => array( 'show_sidebar_info_v1', '=', true ),
),
array(
'id' => 'sidebar_phone_no_v1',
'type' => 'text',
'title' => __( 'Phone No', 'thinkai' ),
'required' => array( 'show_sidebar_info_v1', '=', true ),
),
array(
'id' => 'sidebar_working_hours_v1',
'type' => 'text',
'title' => __( 'Working Hours', 'thinkai' ),
'required' => array( 'show_sidebar_info_v1', '=', true ),
),
//MailChimp Form Info
array(
'id' => 'sidebar_mailchimp_form_v1',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Mailchimp Form', 'thinkai'),
'default' => false,
),
array(
'id' => 'mailchimp_form_title',
'type' => 'text',
'title' => __( 'Form Title', 'thinkai' ),
'required' => array( 'sidebar_mailchimp_form_v1', '=', true ),
),
array(
'id' => 'mailchimp_form_url',
'type' => 'text',
'title' => __( 'Mailchimp Form Url', 'thinkai' ),
'required' => array( 'sidebar_mailchimp_form_v1', '=', true ),
),
//Social Icon
array(
'id' => 'show_sidebar_social_icon',
'type' => 'switch',
'title' => esc_html__('Enable/Disable Social Icons', 'thinkai'),
'default' => false,
),
),
);

View File

@@ -0,0 +1,136 @@
<?php
return array(
'title' => esc_html__( 'Single Post Settings', 'thinkai' ),
'id' => 'single_post_setting',
'desc' => '',
'subsection' => true,
'fields' => array(
array(
'id' => 'single_source_type',
'type' => 'button_set',
'title' => esc_html__( 'Single Post Source Type', 'thinkai' ),
'options' => array(
'd' => esc_html__( 'Default', 'thinkai' ),
'e' => esc_html__( 'Elementor', 'thinkai' ),
),
'default' => 'd',
),
array(
'id' => 'single_default_st',
'type' => 'section',
'title' => esc_html__( 'Post Default', 'thinkai' ),
'indent' => true,
'required' => [ 'single_source_type', '=', 'd' ],
),
array(
'id' => 'single_post_date',
'type' => 'switch',
'title' => esc_html__( 'Hide Date', 'thinkai' ),
'desc' => esc_html__( 'Enable to hide post publish date on detail page', 'thinkai' ),
'default' => false,
),
array(
'id' => 'single_post_author',
'type' => 'switch',
'title' => esc_html__( 'Hide Author', 'thinkai' ),
'desc' => esc_html__( 'Enable to hide author on detail page', 'thinkai' ),
'default' => false,
),
array(
'id' => 'single_post_category',
'type' => 'switch',
'title' => esc_html__( 'Hide Category', 'thinkai' ),
'desc' => esc_html__( 'Enable to hide number of category on single page', 'thinkai' ),
'default' => false,
),
array(
'id' => 'single_post_comments',
'type' => 'switch',
'title' => esc_html__( 'Hide Comments', 'thinkai' ),
'desc' => esc_html__( 'Enable to hide number of comments on single page', 'thinkai' ),
'default' => false,
),
//Facebook
array(
'id' => 'facebook_sharing',
'type' => 'switch',
'title' => esc_html__( 'Show Facebook Post Share', 'thinkai' ),
'desc' => esc_html__( 'Enable to show Post Share to Facebook', 'thinkai' ),
'default' => false,
),
array(
'id' => 'twitter_sharing',
'type' => 'switch',
'title' => esc_html__( 'Show Twitter Post Share', 'thinkai' ),
'desc' => esc_html__( 'Enable to show Post Share to Twitter', 'thinkai' ),
'default' => false,
),
array(
'id' => 'linkedin_sharing',
'type' => 'switch',
'title' => esc_html__( 'Show Linkedin Post Share', 'thinkai' ),
'desc' => esc_html__( 'Enable to show Post Share to Linkedin', 'thinkai' ),
'default' => false,
),
array(
'id' => 'pinterest_sharing',
'type' => 'switch',
'title' => esc_html__( 'Show Pinterest Post Share', 'thinkai' ),
'desc' => esc_html__( 'Enable to show Post Share to Pinterest', 'thinkai' ),
'default' => false,
),
array(
'id' => 'reddit_sharing',
'type' => 'switch',
'title' => esc_html__( 'Show Reddit Post Share', 'thinkai' ),
'desc' => esc_html__( 'Enable to show Post Share to Reddit', 'thinkai' ),
'default' => false,
),
array(
'id' => 'tumblr_sharing',
'type' => 'switch',
'title' => esc_html__( 'Show Tumblr Post Share', 'thinkai' ),
'desc' => esc_html__( 'Enable to show Post Share to Tumblr', 'thinkai' ),
'default' => false,
),
array(
'id' => 'digg_sharing',
'type' => 'switch',
'title' => esc_html__( 'Show Digg Post Share', 'thinkai' ),
'desc' => esc_html__( 'Enable to show Post Share to Digg', 'thinkai' ),
'default' => false,
),
//Author Box
array(
'id' => 'single_post_author_box',
'type' => 'switch',
'title' => esc_html__( 'Enable/Disable Author Box Info', 'thinkai' ),
'desc' => esc_html__( 'Enable to show Author Box Info', 'thinkai' ),
'default' => false,
),
array(
'id' => 'show_author_post_social_icon',
'type' => 'switch',
'title' => esc_html__( 'Enable/Disable Social Icon', 'thinkai' ),
'desc' => esc_html__( 'Enable to show Author Box Social Icon', 'thinkai' ),
'default' => false,
'required' => [ 'single_post_author_box', '=', true ],
),
array(
'id' => 'single_section_default_ed',
'type' => 'section',
'indent' => false,
'required' => [ 'single_source_type', '=', 'd' ],
),
),
);

View File

@@ -0,0 +1,35 @@
<?php
return array(
'title' => esc_html__( 'Social Setting', 'thinkai' ),
'id' => 'social_setting',
'desc' => '',
'icon' => 'el el-share',
'fields' => array(
array(
'id' => 'social_media_tabs_v3',
'type' => 'repeater',
'icon' => 'el-icon-thumbs-up',
'title' => __('Add Social Media', 'thinkai'),
'group_values' => true,
'sortable' => true,
'fields' => array(
array(
'id' => 'title_social_media',
'type' => 'text',
'title' => __('Title', 'thinkai'),
),
array(
'id' => 'select_social_media',
'type' => 'select',
'data' => get_fontawesome_icons(),
'title' => esc_html__('Choose Social Media', 'thinkai'),
),
array(
'id' => 'link_social_media',
'type' => 'text',
'title' => __('Link', 'thinkai'),
),
)
),
),
);

View File

@@ -0,0 +1,112 @@
<?php
return array(
'title' => esc_html__( 'Tag Page Settings', 'thinkai' ),
'id' => 'tag_setting',
'desc' => '',
'subsection' => true,
'fields' => array(
array(
'id' => 'tag_source_type',
'type' => 'button_set',
'title' => esc_html__( 'Tag Source Type', 'thinkai' ),
'options' => array(
'd' => esc_html__( 'Default', 'thinkai' ),
'e' => esc_html__( 'Elementor', 'thinkai' ),
),
'default' => 'd',
),
array(
'id' => 'tag_elementor_template',
'type' => 'select',
'title' => __( 'Template', 'thinkai' ),
'data' => 'posts',
'args' => [
'post_type' => [ 'elementor_library' ],
'posts_per_page'=> -1,
],
'required' => [ 'tag_source_type', '=', 'e' ],
),
array(
'id' => 'tag_default_st',
'type' => 'section',
'title' => esc_html__( 'Tag Default', 'thinkai' ),
'indent' => true,
'required' => [ 'tag_source_type', '=', 'd' ],
),
array(
'id' => 'tag_page_banner',
'type' => 'switch',
'title' => esc_html__( 'Show Banner', 'thinkai' ),
'desc' => esc_html__( 'Enable to show banner on blog', 'thinkai' ),
'default' => true,
),
array(
'id' => 'tag_features_list',
'type' => 'textarea',
'title' => esc_html__( 'Banner Feature List', 'thinkai' ),
'desc' => esc_html__( 'Enter the Feature List to show in banner section', 'thinkai' ),
'required' => array( 'tag_page_banner', '=', true ),
),
array(
'id' => 'tag_banner_title',
'type' => 'text',
'title' => esc_html__( 'Banner Section Title', 'thinkai' ),
'desc' => esc_html__( 'Enter the title to show in banner section', 'thinkai' ),
'required' => array( 'tag_page_banner', '=', true ),
),
array(
'id' => 'tag_page_background',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Background Image', 'thinkai' ),
'desc' => esc_html__( 'Insert background image for banner', 'thinkai' ),
'default' => array(
'url' => THINKAI_URI . 'assets/images/breadcrumb/breadcrumb-1.jpg',
),
'required' => array( 'tag_page_banner', '=', true ),
),
array(
'id' => 'tag_sidebar_layout',
'type' => 'image_select',
'title' => esc_html__( 'Layout', 'thinkai' ),
'subtitle' => esc_html__( 'Select main content and sidebar alignment.', 'thinkai' ),
'options' => array(
'left' => array(
'alt' => esc_html__( '2 Column Left', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/2cl.png',
),
'full' => array(
'alt' => esc_html__( '1 Column', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/1col.png',
),
'right' => array(
'alt' => esc_html__( '2 Column Right', 'thinkai' ),
'img' => get_template_directory_uri() . '/assets/images/redux/2cr.png',
),
),
'default' => 'right',
),
array(
'id' => 'tag_page_sidebar',
'type' => 'select',
'title' => esc_html__( 'Sidebar', 'thinkai' ),
'desc' => esc_html__( 'Select sidebar to show at blog listing page', 'thinkai' ),
'required' => array(
array( 'tag_sidebar_layout', '=', array( 'left', 'right' ) ),
),
'options' => thinkai_get_sidebars(),
),
array(
'id' => 'tag_default_ed',
'type' => 'section',
'indent' => false,
'required' => [ 'tag_source_type', '=', 'd' ],
),
),
);

View File

@@ -0,0 +1,9 @@
<?php
return array(
'title' => esc_html__( 'Typography Settings', 'thinkai' ),
'id' => 'typography_setting',
'desc' => '',
'icon' => 'el el-edit'
);

View File

@@ -0,0 +1,42 @@
<?php
return array(
'woocommerce_before_shop_loop' => array(
array('woocommerce_result_count', 20)
),
'woocommerce_after_shop_loop_item' => array(
array('woocommerce_template_loop_add_to_cart', 10),
),
'woocommerce_before_main_content' => array(
array('woocommerce_breadcrumb', 20),
array( 'woocommerce_output_content_wrapper', 10)
),
'woocommerce_after_main_content' => array(
array( 'woocommerce_output_content_wrapper_end', 10)
),
'woocommerce_before_shop_loop_item_title' => array(
array( 'woocommerce_show_product_loop_sale_flash', 10 ),
array( 'woocommerce_template_loop_product_thumbnail', 10 )
),
'woocommerce_after_shop_loop_item_title' => array(
array( 'woocommerce_template_loop_price', 10 ),
array('woocommerce_template_loop_rating', 5 )
),
'woocommerce_sidebar' => array(
array('woocommerce_get_sidebar', 10),
),
'woocommerce_single_product_summary' => array(
array('woocommerce_template_single_title', 5),
array('woocommerce_template_single_price', 10),
array('woocommerce_template_single_excerpt', 20),
array('woocommerce_template_single_add_to_cart', 30),
array('woocommerce_template_single_meta', 40),
array('woocommerce_template_single_sharing', 50),
array('woocommerce_template_single_rating', 10 )
),
'woocommerce_before_single_product_summary' => array(
array('woocommerce_show_product_sale_flash', 10)
),
);