Exemplo n.º 1
0
 public function setSections()
 {
     $porto_layouts = porto_ct_layouts();
     $sidebars = porto_options_sidebars();
     $body_wrapper = porto_options_body_wrapper();
     $wrapper = porto_options_wrapper();
     $porto_demo_type = porto_demo_types();
     $porto_banner_pos = porto_ct_banner_pos();
     $porto_footer_view = porto_ct_footer_view();
     $porto_banner_type = porto_ct_banner_type();
     $porto_master_sliders = porto_ct_master_sliders();
     $porto_rev_sliders = porto_ct_rev_sliders();
     $porto_post_archive_layouts = porto_ct_post_archive_layouts();
     $porto_post_single_layouts = porto_ct_post_single_layouts();
     $porto_portfolio_archive_layouts = porto_ct_portfolio_archive_layouts();
     $porto_portfolio_single_layouts = porto_ct_portfolio_single_layouts();
     $porto_header_type = porto_options_header_types();
     $porto_footer_type = porto_options_footer_types();
     // General Settings
     $this->sections[] = array('icon' => 'el-icon-dashboard', 'icon_class' => 'icon', 'title' => __('General', 'porto'), 'fields' => array(array('id' => 'wrapper', 'type' => 'button_set', 'title' => __('Body Wrapper', 'porto'), 'options' => $body_wrapper, 'default' => 'full'), array('id' => 'layout', 'type' => 'button_set', 'title' => __('Page Layout', 'porto'), 'options' => $porto_layouts, 'default' => 'fullwidth'), array('id' => 'sidebar', 'type' => 'select', 'title' => __('Select Sidebar', 'porto'), 'required' => array('layout', 'equals', $sidebars), 'data' => 'sidebars', 'default' => 'blog-sidebar'), array('id' => 'show-breadcrumbs', 'type' => 'switch', 'title' => __('Show Breadcrumbs', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'show-pagetitle', 'type' => 'switch', 'title' => __('Show Page Title', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'header-wrapper', 'type' => 'button_set', 'title' => __('Header Wrapper', 'porto'), 'required' => array('wrapper', 'equals', array('full', 'wide')), 'options' => $wrapper, 'default' => 'full'), array('id' => 'banner-wrapper', 'type' => 'button_set', 'title' => __('Banner Wrapper', 'porto'), 'required' => array('wrapper', 'equals', array('full', 'wide')), 'options' => $wrapper, 'default' => 'full'), array('id' => 'footer-wrapper', 'type' => 'button_set', 'title' => __('Footer Wrapper', 'porto'), 'required' => array('wrapper', 'equals', array('full', 'wide')), 'options' => $wrapper, 'default' => 'full'), array('id' => 'breadcrumbs-wrapper', 'type' => 'button_set', 'title' => __('Breadcrumbs Wrapper', 'porto'), 'required' => array('wrapper', 'equals', array('full', 'wide')), 'options' => $wrapper, 'default' => 'full'), array('id' => 'show-content-type-skin', 'type' => 'switch', 'title' => __('Content Type Skin Options', 'porto'), 'desc' => __('Show skin options when edit post, page, product, portfolio, member.', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'show-category-skin', 'type' => 'switch', 'title' => __('Category Skin Options', 'porto'), 'desc' => __('Show skin options when edit the category of post, product, portfolio, member.', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => '2', 'type' => 'info', 'desc' => __('Logo, Icons', 'porto')), array('id' => 'logo', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Logo', 'porto'), 'default' => array('url' => porto_uri . '/images/logo/logo_red.png')), array('id' => 'favicon', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Favicon', 'porto'), 'default' => array('url' => porto_uri . '/images/logo/favicon.ico')), array('id' => 'icon-iphone', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Apple iPhone Icon', 'porto'), 'desc' => __('Icon for Apple iPhone (57px X 57px)', 'porto'), 'default' => array('url' => porto_uri . '/images/logo/apple-touch-icon.png')), array('id' => 'icon-iphone-retina', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Apple iPhone Retina Icon', 'porto'), 'desc' => __('Icon for Apple iPhone Retina (114px X 114px)', 'porto'), 'default' => array('url' => porto_uri . '/images/logo/apple-touch-icon_114x114.png')), array('id' => 'icon-ipad', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Apple iPad Icon', 'porto'), 'desc' => __('Icon for Apple iPad (72px X 72px)', 'porto'), 'default' => array('url' => porto_uri . '/images/logo/apple-touch-icon_72x72.png')), array('id' => 'icon-ipad-retina', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Apple iPad Retina Icon', 'porto'), 'desc' => __('Icon for Apple iPad Retina (144px X 144px)', 'porto'), 'default' => array('url' => porto_uri . '/images/logo/apple-touch-icon_144x144.png')), array('id' => '4', 'type' => 'info', 'desc' => __('Javascript Code', 'porto')), array('id' => 'js-code', 'type' => 'ace_editor', 'title' => __('JS Code', 'porto'), 'subtitle' => __('Paste your JS code here.', 'porto'), 'mode' => 'javascript', 'theme' => 'chrome', 'default' => "jQuery(document).ready(function(){});")));
     $this->sections[] = array('icon' => 'el-icon-download-alt', 'icon_class' => 'icon', 'title' => __('Import', 'porto'), 'fields' => array(array('id' => '2', 'type' => 'info', 'desc' => __('Default Theme Options', 'porto')), array('id' => 'theme-type', 'type' => 'select', 'title' => __('Select Demo', 'porto'), 'desc' => __('If you want to <strong>import</strong> the changed options, you should click <strong>"Reset All"</strong> button after save.', 'porto'), 'options' => $porto_demo_type, 'default' => '_8'), array('id' => '2', 'type' => 'info', 'desc' => __('Import Dummy Data', 'porto')), array('id' => 'import-master', 'type' => 'switch', 'title' => __('Import Master Slider', 'porto'), 'desc' => __('If you tried to import dummy data, the master sliders will be import. After change this option, you should click "Save Changes".', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => '17', 'type' => 'raw', 'content' => (isset($_GET['import_success']) ? '<strong>' . __('Successfully Imported!', 'porto') . '</strong><br/><br/>' : '') . '<a href="' . admin_url('admin.php?page=porto_settings') . '&import_sample_content=true" class="button button-primary">' . __('Import', 'porto') . '</a><br/><br/>' . __('If import is failed, please check your site and try again.', 'porto'))));
     // Skin
     $this->sections[] = array('icon' => 'el-icon-broom', 'icon_class' => 'icon', 'title' => __('Skin', 'porto'), 'fields' => array(array('id' => '17', 'type' => 'info', 'title' => __('After save the changes, will be regenerate the css files (skin_' . get_current_blog_id() . '.css, skin_rtl_' . get_current_blog_id() . '.css) in ', 'porto') . '<strong>' . porto_dir . '/css</strong>.'), array('id' => 'compile-css', 'type' => 'switch', 'title' => __('Compile CSS', 'porto'), 'default' => true), array('id' => 'body-font', 'type' => 'typography', 'title' => __('Body Font', 'porto'), 'google' => true, 'subsets' => false, 'font-style' => false, 'text-align' => false, 'default' => array('color' => "#777777", 'google' => true, 'font-weight' => '400', 'font-family' => 'Open Sans', 'font-size' => '14px', 'line-height' => '22px')), array('id' => 'alt-font', 'type' => 'typography', 'title' => __('Alternative Font', 'porto'), 'google' => true, 'subsets' => false, 'font-style' => false, 'font-size' => false, 'text-align' => false, 'color' => false, 'line-height' => false, 'desc' => __('You can use css class name "alternative-font" when edit html element.', 'porto'), 'default' => array('google' => true, 'font-weight' => '400', 'font-family' => 'Shadows Into Light')), array('id' => 'skin-color', 'type' => 'color', 'title' => __('Default Color', 'porto'), 'default' => '#e13b3f', 'validate' => 'color'), array('id' => '17', 'type' => 'info', 'title' => '<h3>' . __('Compile CSS Files', 'porto') . '</h3>' . (isset($_GET['compile_theme_success']) ? '<strong>' . __('Theme CSS compiled successfully!', 'porto') . '</strong><br/><br/>' : '') . (isset($_GET['compile_theme_rtl_success']) ? '<strong>' . __('Theme RTL CSS compiled successfully!', 'porto') . '</strong><br/><br/>' : '') . (isset($_GET['compile_plugins_success']) ? '<strong>' . __('Plugins CSS compiled successfully!', 'porto') . '</strong><br/><br/>' : '') . (isset($_GET['compile_plugins_rtl_success']) ? '<strong>' . __('Plugins RTL CSS compiled successfully!', 'porto') . '</strong><br/><br/>' : '') . '<a href="' . admin_url('admin.php?page=porto_settings') . '&compile_theme=true" class="button button-primary">' . __('Theme CSS', 'porto') . '</a> ' . '<a href="' . admin_url('admin.php?page=porto_settings') . '&compile_theme_rtl=true" class="button button-primary">' . __('Theme RTL CSS', 'porto') . '</a> ' . '<a href="' . admin_url('admin.php?page=porto_settings') . '&compile_plugins=true" class="button button-primary">' . __('Plugins CSS', 'porto') . '</a> ' . '<a href="' . admin_url('admin.php?page=porto_settings') . '&compile_plugins_rtl=true" class="button button-primary">' . __('Plugins RTL CSS', 'porto') . '</a> ' . '<br/><br/>' . __('Before compile, you should save the changed options', 'porto') . '<br/>' . __('After compile, will be regenerate the css files (theme_' . get_current_blog_id() . '.css, theme_rtl_' . get_current_blog_id() . '.css, plugins_' . get_current_blog_id() . '.css, plugins_rtl_' . get_current_blog_id() . '.css, skin_rtl_' . get_current_blog_id() . '.css) in ', 'porto') . '<strong>' . porto_dir . '/css</strong>.'), array('id' => 'container-width', 'type' => 'button_set', 'title' => __('Container Max Width', 'porto'), 'options' => array('1024' => '1024px', '1170' => '1170px', '1280' => '1280px'), 'default' => '1170'), array('id' => 'grid-gutter-width', 'type' => 'button_set', 'title' => __('Grid Gutter Width', 'porto'), 'options' => array('16' => '16px', '20' => '20px', '30' => '30px'), 'default' => '20'), array('id' => 'border-radius', 'type' => 'switch', 'title' => __('Border Radius', 'porto'), 'default' => false), array('id' => 'thumb-padding', 'type' => 'switch', 'title' => __('Thumbnail Padding', 'porto'), 'default' => false)));
     $this->sections[] = array('icon' => 'el-icon-cogs', 'icon_class' => 'icon', 'subsection' => true, 'title' => __('Body, Page', 'porto'), 'fields' => array(array('id' => 'body-bg', 'type' => 'background', 'title' => __('Body Background', 'porto')), array('id' => 'content-bg', 'type' => 'background', 'title' => __('Page Background', 'porto'))));
     $this->sections[] = array('icon' => 'el-icon-cogs', 'icon_class' => 'icon', 'subsection' => true, 'title' => __('Header', 'porto'), 'fields' => array(array('id' => 'header-bg', 'type' => 'background', 'title' => __('Background', 'porto'), 'default' => array('background-color' => '#ffffff')), array('id' => 'sticky-header-bg', 'type' => 'background', 'title' => __('Sticky Header Background', 'porto'), 'default' => array('background-color' => '#ffffff')), array('id' => 'header-text-color', 'type' => 'color', 'title' => __('Text Color', 'porto'), 'default' => '#777777', 'validate' => 'color'), array('id' => 'header-link-color', 'type' => 'link_color', 'active' => false, 'title' => __('Link Color', 'porto'), 'default' => array('regular' => '#e13b3f', 'hover' => '#777777')), array('id' => '2', 'type' => 'info', 'desc' => __('Background Opacity when banner show below header', 'porto')), array('id' => 'header-opacity', 'type' => 'text', 'title' => __('Header Opacity', 'porto'), 'default' => '80%'), array('id' => 'searchform-opacity', 'type' => 'text', 'title' => __('Search Form Opacity', 'porto'), 'default' => '50%'), array('id' => 'menuwrap-opacity', 'type' => 'text', 'title' => __('Menu Wrap Opacity', 'porto'), 'default' => '30%'), array('id' => 'menu-opacity', 'type' => 'text', 'title' => __('Menu Opacity', 'porto'), 'default' => '30%'), array('id' => '2', 'type' => 'info', 'desc' => __('Header Top', 'porto')), array('id' => 'header-top-border', 'type' => 'border', 'all' => true, 'style' => false, 'title' => __('Top Border Width', 'porto'), 'default' => array('border-color' => '#e13b3f', 'border-top' => 0)), array('id' => 'header-top-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'default' => '#f7f7f7', 'validate' => 'color'), array('id' => 'header-top-text-color', 'type' => 'color', 'title' => __('Text Color', 'porto'), 'default' => '#777777', 'validate' => 'color'), array('id' => 'header-top-link-color', 'type' => 'link_color', 'active' => false, 'title' => __('Link Color', 'porto'), 'default' => array('regular' => '#e13b3f', 'hover' => '#777777')), array('id' => '2', 'type' => 'info', 'desc' => __('Side Navigation', 'porto')), array('id' => 'side-social-bg-color', 'type' => 'color', 'title' => __('Social Link Background Color', 'porto'), 'default' => '#9e9e9e', 'validate' => 'color'), array('id' => 'side-social-color', 'type' => 'color', 'title' => __('Social Link Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'side-copyright-color', 'type' => 'color', 'title' => __('Copyright Text Color', 'porto'), 'default' => '#777777', 'validate' => 'color')));
     $this->sections[] = array('icon' => 'el-icon-cogs', 'icon_class' => 'icon', 'subsection' => true, 'title' => __('Main Menu', 'porto'), 'fields' => array(array('id' => 'mainmenu-wrap-bg-color', 'type' => 'color', 'title' => __('Wrapper Background Color', 'porto'), 'default' => 'transparent', 'validate' => 'color'), array('id' => 'mainmenu-wrap-padding', 'type' => 'spacing', 'mode' => 'padding', 'title' => __('Wrapper Padding', 'porto'), 'default' => array('padding-top' => 0, 'padding-bottom' => 0, 'padding-left' => 0, 'padding-right' => 0)), array('id' => 'mainmenu-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => '2', 'type' => 'info', 'desc' => __('Top Level Menu Item', 'porto')), array('id' => 'mainmenu-toplevel-link-color', 'type' => 'link_color', 'active' => false, 'title' => __('Link Color', 'porto'), 'default' => array('regular' => '#828385', 'hover' => '#e13b3f')), array('id' => 'mainmenu-toplevel-hbg-color', 'type' => 'color', 'title' => __('Hover Background Color', 'porto'), 'default' => 'transparent', 'validate' => 'color'), array('id' => 'mainmenu-toplevel-padding1', 'type' => 'spacing', 'mode' => 'padding', 'title' => __('Padding on Desktop', 'porto'), 'desc' => __('if header type is like type 1 or type 4', 'porto'), 'default' => array('padding-top' => 14, 'padding-bottom' => 12, 'padding-left' => 0, 'padding-right' => 26)), array('id' => 'mainmenu-toplevel-padding2', 'type' => 'spacing', 'mode' => 'padding', 'title' => __('Padding on Desktop (width > 991px)', 'porto'), 'desc' => __('if header type is like type 1 or type 4', 'porto'), 'default' => array('padding-top' => 11, 'padding-bottom' => 9, 'padding-left' => 0, 'padding-right' => 20)), array('id' => '2', 'type' => 'info', 'desc' => __('Menu Popup', 'porto')), array('id' => 'mainmenu-popup-border', 'type' => 'switch', 'title' => __('Show Border', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'mainmenu-popup-border-color', 'type' => 'color', 'title' => __('Border Color', 'porto'), 'required' => array('mainmenu-popup-border', 'equals', true), 'default' => '#e13b3f', 'validate' => 'color'), array('id' => 'mainmenu-popup-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'mainmenu-popup-heading-color', 'type' => 'color', 'title' => __('Heading Color', 'porto'), 'default' => '#333333', 'validate' => 'color'), array('id' => 'mainmenu-popup-text-color', 'type' => 'link_color', 'active' => false, 'title' => __('Link Color', 'porto'), 'default' => array('regular' => '#777777', 'hover' => '#777777')), array('id' => 'mainmenu-popup-text-hbg-color', 'type' => 'color', 'title' => __('Link Hover Background Color', 'porto'), 'default' => '#f4f4f4', 'validate' => 'color'), array('id' => '2', 'type' => 'info', 'desc' => __('Tip', 'porto')), array('id' => 'mainmenu-tip-bg-color', 'type' => 'color', 'title' => __('Tip Background Color', 'porto'), 'default' => '#0cc485', 'validate' => 'color'), array('id' => '2', 'type' => 'info', 'desc' => __('Menu Custom Content in header type 1, 4, 9', 'porto')), array('id' => 'menu-custom-text-color', 'type' => 'color', 'title' => __('Text Color', 'porto'), 'default' => '#777777', 'validate' => 'color'), array('id' => 'menu-custom-link', 'type' => 'link_color', 'title' => __('Link Color', 'porto'), 'active' => false, 'default' => array('regular' => '#828385', 'hover' => '#e13b3f'))));
     $this->sections[] = array('icon' => 'el-icon-cogs', 'icon_class' => 'icon', 'subsection' => true, 'title' => __('Footer', 'porto'), 'fields' => array(array('id' => 'footer-bg', 'type' => 'background', 'title' => __('Background', 'porto'), 'default' => array('background-color' => '#f7f7f7')), array('id' => 'footer-heading-color', 'type' => 'color', 'title' => __('Heading Color', 'porto'), 'default' => '#e13b3f', 'validate' => 'color'), array('id' => 'footer-text-color', 'type' => 'color', 'title' => __('Text Color', 'porto'), 'default' => '#777777', 'validate' => 'color'), array('id' => 'footer-link-color', 'type' => 'link_color', 'active' => false, 'title' => __('Link Color', 'porto'), 'default' => array('regular' => '#777777', 'hover' => '#e13b3f')), array('id' => '2', 'type' => 'info', 'desc' => __('Footer Bottom', 'porto')), array('id' => 'footer-bottom-bg', 'type' => 'background', 'title' => __('Background', 'porto'), 'default' => array('background-color' => '#ffffff')), array('id' => 'footer-bottom-text-color', 'type' => 'color', 'title' => __('Text Color', 'porto'), 'default' => '#777777', 'validate' => 'color'), array('id' => 'footer-bottom-link-color', 'type' => 'link_color', 'active' => false, 'title' => __('Link Color', 'porto'), 'default' => array('regular' => '#e13b3f', 'hover' => '#e13b3f')), array('id' => '2', 'type' => 'info', 'desc' => __('Background Opacity when footer show in fixed position', 'porto')), array('id' => 'footer-opacity', 'type' => 'text', 'title' => __('Footer Opacity', 'porto'), 'default' => '80%'), array('id' => '2', 'type' => 'info', 'desc' => __('Follow Us Widget', 'porto')), array('id' => 'footer-social-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'default' => '#9e9e9e', 'validate' => 'color'), array('id' => 'footer-social-link-color', 'type' => 'color', 'title' => __('Link Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color')));
     $this->sections[] = array('icon' => 'el-icon-cogs', 'icon_class' => 'icon', 'subsection' => true, 'title' => __('Breadcrumbs', 'porto'), 'fields' => array(array('id' => 'breadcrumbs-bg', 'type' => 'background', 'title' => __('Background', 'porto'), 'default' => array('background-color' => '#333333')), array('id' => 'breadcrumbs-padding', 'type' => 'spacing', 'mode' => 'padding', 'title' => __('Content Padding', 'porto'), 'description' => __('default: 0 15 0 15', 'porto'), 'default' => array('padding-top' => 0, 'padding-bottom' => 0, 'padding-left' => 15, 'padding-right' => 15)), array('id' => 'breadcrumbs-text-color', 'type' => 'color', 'title' => __('Text Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'breadcrumbs-link-color', 'type' => 'color', 'title' => __('Link Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'breadcrumbs-title-color', 'type' => 'color', 'title' => __('Page Title Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color')));
     $this->sections[] = array('icon' => 'el-icon-cogs', 'icon_class' => 'icon', 'subsection' => true, 'title' => __('Mobile Panel', 'porto'), 'fields' => array(array('id' => 'panel-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'default' => '#1e1e1e', 'validate' => 'color'), array('id' => 'panel-text-color', 'type' => 'color', 'title' => __('Text Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'panel-link-color', 'type' => 'link_color', 'active' => false, 'title' => __('Link Color', 'porto'), 'default' => array('regular' => '#ffffff', 'hover' => '#ffffff'))));
     $this->sections[] = array('icon' => 'el-icon-cogs', 'icon_class' => 'icon', 'subsection' => true, 'title' => __('View, Currency Switcher', 'porto'), 'fields' => array(array('id' => 'switcher-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'default' => 'transparent', 'validate' => 'color'), array('id' => 'switcher-hbg-color', 'type' => 'color', 'title' => __('Hover Background Color', 'porto'), 'default' => '#e13b3f', 'validate' => 'color'), array('id' => 'switcher-link-color', 'type' => 'link_color', 'active' => false, 'title' => __('Link Color', 'porto'), 'default' => array('regular' => '#777777', 'hover' => '#ffffff'))));
     $this->sections[] = array('icon' => 'el-icon-cogs', 'icon_class' => 'icon', 'subsection' => true, 'title' => __('Search Form', 'porto'), 'fields' => array(array('id' => 'searchform-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'searchform-border-color', 'type' => 'color', 'title' => __('Border Color', 'porto'), 'default' => '#cccccc', 'validate' => 'color'), array('id' => 'searchform-popup-border-color', 'type' => 'color', 'title' => __('Popup Border Color', 'porto'), 'default' => '#cccccc', 'validate' => 'color'), array('id' => 'searchform-text-color', 'type' => 'color', 'title' => __('Text Color', 'porto'), 'default' => '#777777', 'validate' => 'color'), array('id' => 'searchform-hover-color', 'type' => 'color', 'title' => __('Hover Color', 'porto'), 'default' => '#e13b3f', 'validate' => 'color')));
     $this->sections[] = array('icon' => 'el-icon-cogs', 'icon_class' => 'icon', 'subsection' => true, 'title' => __('Mini Cart', 'porto'), 'fields' => array(array('id' => 'minicart-icon-color', 'type' => 'color', 'title' => __('Icon Color', 'porto'), 'default' => '#e13b3f', 'validate' => 'color'), array('id' => 'minicart-item-color', 'type' => 'color', 'title' => __('Item Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'minicart-border-color', 'type' => 'color', 'title' => __('Border Color', 'porto'), 'desc' => __('When mini cart type is 2, please configure this option.', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'minicart-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'desc' => __('When mini cart type is 2, please configure this option.', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'minicart-popup-border-color', 'type' => 'color', 'title' => __('Popup Border Color', 'porto'), 'default' => '#e13b3f', 'validate' => 'color')));
     $this->sections[] = array('icon' => 'el-icon-cogs', 'icon_class' => 'icon', 'subsection' => true, 'title' => __('Custom CSS', 'porto'), 'fields' => array(array('id' => 'css-code', 'type' => 'ace_editor', 'title' => __('CSS Code', 'porto'), 'subtitle' => __('Paste your CSS code here.', 'porto'), 'mode' => 'css', 'theme' => 'monokai', 'default' => "")));
     // Header Settings
     $this->sections[] = array('icon' => 'el-icon-website', 'icon_class' => 'icon', 'title' => __('Header', 'porto'), 'fields' => array(array('id' => 'header-type', 'type' => 'image_select', 'title' => __('Header Type', 'porto'), 'options' => $porto_header_type, 'default' => '4'), array('id' => 'show-header-top', 'type' => 'switch', 'title' => __('Show Header Top', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'wpml-switcher', 'type' => 'switch', 'title' => __('Show WPML Language Switcher', 'porto'), 'desc' => __('Show wpml language switcher instead of view switcher menu.', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'wcml-switcher', 'type' => 'switch', 'title' => __('Show WPML Currency Switcher', 'porto'), 'desc' => __('Show wpml currency switcher instead of currency switcher menu.', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'welcome-msg', 'type' => 'text', 'title' => __('Welcome Message', 'porto'), 'default' => __('WELCOME TO PORTO ECOMMERCE', 'porto')), array('id' => 'header-contact-info', 'type' => 'textarea', 'title' => __('Header Contact Info', 'porto'), 'default' => "<i class='fa fa-phone'></i> +(404) 158 14 25 78 <span class='gap'>|</span><a href='#'>CONTACT US</a>"), array('id' => 'header-copyright', 'type' => 'textarea', 'title' => __('Side Navigation Copyright (Header Type: Side)', 'porto'), 'default' => __('&copy; Copyright 2015. All Rights Reserved.', 'porto')), array('id' => '2', 'type' => 'info', 'desc' => __('Social Links', 'porto')), array('id' => 'show-header-socials', 'type' => 'switch', 'title' => __('Show Social Links', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => "header-social-facebook", 'type' => 'text', 'title' => __('Facebook', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-twitter", 'type' => 'text', 'title' => __('Twitter', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-rss", 'type' => 'text', 'title' => __('RSS', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-pinterest", 'type' => 'text', 'title' => __('Pinterest', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-youtube", 'type' => 'text', 'title' => __('Youtube', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-instagram", 'type' => 'text', 'title' => __('Instagram', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-skype", 'type' => 'text', 'title' => __('Skype', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-linkedin", 'type' => 'text', 'title' => __('LinkedIn', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-googleplus", 'type' => 'text', 'title' => __('Google Plus', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => '2', 'type' => 'info', 'desc' => __('Mini Cart', 'porto')), array('id' => 'show-minicart', 'type' => 'switch', 'title' => __('Show Mini Cart', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'minicart-type', 'type' => 'image_select', 'title' => __('Minicart Type', 'porto'), 'required' => array('show-minicart', 'equals', true), 'options' => array('' => array('alt' => __('Minicart Type 1', 'porto'), 'img' => porto_options_uri . '/minicarts/minicart_01.png'), 'minicart-box' => array('alt' => __('Minicart Type 2', 'porto'), 'img' => porto_options_uri . '/minicarts/minicart_02.png'), 'minicart-inline' => array('alt' => __('Minicart Type 3', 'porto'), 'img' => porto_options_uri . '/minicarts/minicart_03.png')), 'default' => ''), array('id' => '2', 'type' => 'info', 'desc' => __('Search Form', 'porto')), array('id' => 'show-searchform', 'type' => 'switch', 'title' => __('Show Search Form', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'search-size', 'type' => 'button_set', 'title' => __('Search Form Size', 'porto'), 'required' => array('show-searchform', 'equals', true), 'options' => array('' => __('Large', 'porto'), 'search-md' => __('Medium', 'porto'), 'search-sm' => __('Small', 'porto')), 'default' => 'search-sm'), array('id' => 'search-type', 'type' => 'button_set', 'title' => __('Search Content Type', 'porto'), 'required' => array('show-searchform', 'equals', true), 'options' => array('all' => __('All', 'porto'), 'post' => __('Post', 'porto'), 'product' => __('Product', 'porto'), 'portfolio' => __('Portfolio', 'porto')), 'default' => 'product'), array('id' => 'search-cats', 'type' => 'switch', 'title' => __('Show Categories', 'porto'), 'required' => array('search-type', 'equals', array('post', 'product')), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => '2', 'type' => 'info', 'desc' => __('Sticky Header', 'porto')), array('id' => 'enable-sticky-header', 'type' => 'switch', 'title' => __('Enable Sticky Header', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'enable-sticky-header-tablet', 'type' => 'switch', 'title' => __('Enable on Tablet (width < 992px)', 'porto'), 'required' => array('enable-sticky-header', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'enable-sticky-header-mobile', 'type' => 'switch', 'title' => __('Enable on Mobile (width <= 480)', 'porto'), 'required' => array('enable-sticky-header-tablet', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto'))));
     // Menu Settings
     $this->sections[] = array('icon' => 'el-icon-website', 'icon_class' => 'icon', 'title' => __('Main Menu', 'porto'), 'fields' => array(array('id' => 'menu-arrow', 'type' => 'switch', 'title' => __('Show Menu Arrow', 'porto'), 'desc' => __('If menu item have sub menus, show menu arrow.', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => '2', 'type' => 'info', 'desc' => __('If header type is 1 or 4', 'porto')), array('id' => 'menu-align', 'type' => 'button_set', 'title' => __('Menu Align', 'porto'), 'options' => array('' => __('Left', 'porto'), 'centered' => __('Center', 'porto')), 'default' => 'centered'), array('id' => 'menu-sidebar', 'type' => 'switch', 'title' => __('Show Menu in Sidebar', 'porto'), 'desc' => __('If the layout of a page is left sidebar or right sidebar, the main menu shows in the sidebar.', 'porto'), 'default' => '0', 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => "menu-sidebar-home", 'type' => 'switch', 'title' => __('Show Sidebar Menu only on Home', 'porto'), 'required' => array('menu-sidebar', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => "menu-sidebar-title", 'type' => 'text', 'title' => __('Sidebar Menu Title', 'porto'), 'required' => array('menu-sidebar', 'equals', true), 'default' => __('All Department', 'porto')), array('id' => "menu-sidebar-toggle", 'type' => 'switch', 'title' => __('Toggle Sidebar Menu', 'porto'), 'required' => array('menu-sidebar', 'equals', true), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => '2', 'type' => 'info', 'desc' => __('If header type is 9', 'porto')), array('id' => "menu-title", 'type' => 'text', 'title' => __('Menu Title', 'porto'), 'default' => __('All Department', 'porto')), array('id' => "menu-toggle-onhome", 'type' => 'switch', 'title' => __('Toggle on home page', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => '2', 'type' => 'info', 'desc' => __('If header type is 1 or 4, 9', 'porto')), array('id' => 'menu-block', 'type' => 'textarea', 'title' => __('Menu Custom Content', 'porto'), 'desc' => __('example: &lt;span&gt;Custom Message&lt;/span&gt;&lt;a href="#"&gt;Special Offer!&lt;/a&gt;&lt;a href="#"&gt;Buy this Theme!&lt;em class="tip hot"&gt;HOT&lt;i class="tip-arrow"&gt;&lt;/i&gt;&lt;/em&gt;&lt;/a&gt;', 'porto'), 'default' => '')));
     // Footer Settings
     $this->sections[] = array('icon' => 'el-icon-website', 'icon_class' => 'icon', 'title' => __('Footer', 'porto'), 'fields' => array(array('id' => 'footer-type', 'type' => 'image_select', 'title' => __('Footer Type', 'porto'), 'options' => $porto_footer_type, 'default' => '1'), array('id' => 'footer-logo', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Footer Logo', 'porto'), 'default' => array('url' => porto_uri . '/images/logo/logo_footer_red.png')), array('id' => "footer-ribbon", 'type' => 'text', 'title' => __('Ribbon Text', 'porto'), 'default' => ''), array('id' => "footer-copyright", 'type' => 'textarea', 'title' => __('Copyright', 'porto'), 'default' => __('&copy; Copyright 2015. All Rights Reserved.', 'porto')), array('id' => "footer-copyright-pos", 'type' => 'button_set', 'title' => __('Copyright Position', 'porto'), 'options' => array('left' => __('Left', 'porto'), 'right' => __('Right', 'porto')), 'default' => 'right'), array('id' => 'footer-payments', 'type' => 'switch', 'title' => __('Show Payments Logos', 'porto'), 'default' => '1', 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'footer-payments-image', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Payments Image', 'porto'), 'required' => array('footer-payments', 'equals', '1'), 'default' => array('url' => porto_uri . '/images/payments.png')), array('id' => 'footer-payments-link', 'type' => 'text', 'title' => __('Payments Link URL', 'porto'), 'required' => array('footer-payments', 'equals', '1'), 'default' => '')));
     // Page
     $this->sections[] = array('icon' => 'el-icon-bookmark', 'icon_class' => 'icon', 'title' => __('Page', 'porto'), 'fields' => array(array('id' => 'page-comment', 'type' => 'switch', 'title' => __('Show Comments', 'porto'), 'default' => '0', 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'page-zoom', 'type' => 'switch', 'title' => __('Slideshow Zoom Effect', 'porto'), 'default' => true, 'on' => __('Enable', 'porto'), 'off' => __('Disable', 'porto')), array('id' => 'page-share', 'type' => 'switch', 'title' => __('Show Social Share Links', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto'))));
     // Blog
     $this->sections[] = array('icon' => 'el-icon-file', 'icon_class' => 'icon', 'title' => __('Blog & Single Post', 'porto'), 'fields' => array(array('id' => 'post-format', 'type' => 'switch', 'title' => __('Show Post Format', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'post-zoom', 'type' => 'switch', 'title' => __('Slideshow Zoom Effect', 'porto'), 'default' => true, 'on' => __('Enable', 'porto'), 'off' => __('Disable', 'porto')), array('id' => '1', 'type' => 'info', 'desc' => __('Blog', 'porto')), array('id' => 'blog-title', 'type' => 'text', 'title' => __('Page Title', 'porto'), 'default' => 'Blog'), array('id' => 'post-archive-layout', 'type' => 'button_set', 'title' => __('Page Layout', 'porto'), 'options' => $porto_layouts, 'default' => 'right-sidebar'), array('id' => 'blog-banner_pos', 'type' => 'select', 'title' => __('Blog Banner Position', 'porto'), 'options' => $porto_banner_pos, 'default' => ""), array('id' => 'blog-footer_view', 'type' => 'select', 'title' => __('Blog Footer View', 'porto'), 'options' => $porto_footer_view, 'default' => ""), array('id' => 'blog-banner_type', 'type' => 'select', 'title' => __('Blog Banner Type', 'porto'), 'options' => $porto_banner_type, 'default' => 0), array('id' => 'blog-master_slider', 'type' => 'select', 'required' => array('blog-banner_type', 'equals', 'master_slider'), 'title' => __('Master Slider', 'porto'), 'options' => $porto_master_sliders, 'default' => 0), array('id' => 'blog-rev_slider', 'type' => 'select', 'required' => array('blog-banner_type', 'equals', 'rev_slider'), 'title' => __('Revolution Slider', 'porto'), 'options' => $porto_rev_sliders, 'default' => 0), array('id' => 'blog-banner_block', 'type' => 'editor', 'required' => array('blog-banner_type', 'equals', 'banner'), 'title' => __('Banner Block', 'porto'), 'desc' => __('You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.', 'porto')), array('id' => 'blog-content_top', 'type' => 'text', 'title' => __('Content Top', 'porto'), 'desc' => __('You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.', 'porto')), array('id' => 'blog-content_inner_top', 'type' => 'text', 'title' => __('Content Inner Top', 'porto'), 'desc' => __('You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.', 'porto')), array('id' => 'blog-content_inner_bottom', 'type' => 'text', 'title' => __('Content Inner Bottom', 'porto'), 'desc' => __('You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.', 'porto')), array('id' => 'blog-content_bottom', 'type' => 'text', 'title' => __('Content Bottom', 'porto'), 'desc' => __('You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.', 'porto')), array('id' => 'post-layout', 'type' => 'button_set', 'title' => __('Post Layout', 'porto'), 'options' => $porto_post_archive_layouts, 'default' => 'large'), array('id' => 'grid-columns', 'type' => 'button_set', 'title' => __('Grid Columns', 'porto'), 'required' => array('post-layout', 'equals', 'grid'), 'options' => array('2' => '2', '3' => '3', '4' => '4'), 'default' => '3'), array('id' => 'blog-infinite', 'type' => 'switch', 'title' => __('Enable Infinite Scroll', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'blog-excerpt', 'type' => 'switch', 'title' => __('Show Excerpt', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'blog-excerpt-length', 'type' => 'text', 'required' => array('blog-excerpt', 'equals', true), 'title' => __('Excerpt Length', 'porto'), 'desc' => __('The number of words', 'porto'), 'default' => '80'), array('id' => 'blog-excerpt-type', 'type' => 'button_set', 'required' => array('blog-excerpt', 'equals', true), 'title' => __('Excerpt Type', 'porto'), 'options' => array('text' => __('Text', 'porto'), 'html' => __('HTML', 'porto')), 'default' => 'text'), array('id' => '1', 'type' => 'info', 'desc' => __('Single Post', 'porto')), array('id' => 'post-single-layout', 'type' => 'button_set', 'title' => __('Page Layout', 'porto'), 'options' => $porto_layouts, 'default' => 'right-sidebar'), array('id' => 'post-content-layout', 'type' => 'button_set', 'title' => __('Post Layout', 'porto'), 'options' => $porto_post_single_layouts, 'default' => 'large'), array('id' => 'post-share', 'type' => 'switch', 'title' => __('Show Social Share Links', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'post-author', 'type' => 'switch', 'title' => __('Show Author Info', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'post-comments', 'type' => 'switch', 'title' => __('Show Comments', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'post-related', 'type' => 'switch', 'title' => __('Show Related Posts', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'post-related-count', 'type' => 'text', 'required' => array('post-related', 'equals', true), 'title' => __('Related Posts Count', 'porto'), 'desc' => __('If you want to show all the related posts, you should input "-1".', 'porto'), 'default' => '10'), array('id' => 'post-related-orderby', 'type' => 'button_set', 'required' => array('post-related', 'equals', true), 'title' => __('Related Posts Order by', 'porto'), 'options' => array('none' => __('None', 'porto'), 'rand' => __('Random', 'porto'), 'date' => __('Date', 'porto'), 'ID' => __('ID', 'porto'), 'modified' => __('Modified Date', 'porto'), 'comment_count' => __('Comment Count', 'porto')), 'default' => 'rand')));
     // Portfolio
     $this->sections[] = array('icon' => 'el-icon-picture', 'icon_class' => 'icon', 'title' => __('Portfolio', 'porto'), 'fields' => array(array('id' => 'portfolio-zoom', 'type' => 'switch', 'title' => __('Slideshow Zoom Effect', 'porto'), 'default' => true, 'on' => __('Enable', 'porto'), 'off' => __('Disable', 'porto')), array('id' => '2', 'type' => 'info', 'desc' => __('Portfolio Archive Page', 'porto')), array('id' => 'portfolio-title', 'type' => 'text', 'title' => __('Page Title', 'porto'), 'default' => 'Our <strong>Projects</strong>'), array('id' => 'portfolio-archive-layout', 'type' => 'button_set', 'title' => __('Page Layout', 'porto'), 'options' => $porto_layouts, 'default' => 'fullwidth'), array('id' => 'portfolio-archive-sidebar', 'type' => 'select', 'title' => __('Select Sidebar', 'porto'), 'required' => array('portfolio-archive-layout', 'equals', $sidebars), 'data' => 'sidebars'), array('id' => 'portfolio-infinite', 'type' => 'switch', 'title' => __('Enable Infinite Scroll', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'portfolio-layout', 'type' => 'button_set', 'title' => __('Portfolio Layout', 'porto'), 'options' => $porto_portfolio_archive_layouts, 'default' => 'grid'), array('id' => 'portfolio-grid-columns', 'type' => 'button_set', 'title' => __('Grid Columns', 'porto'), 'required' => array('portfolio-layout', 'equals', 'grid'), "desc" => __("Select the columns in <strong>grid mode</strong>.", 'porto'), 'options' => array("2" => __("2 Columns", 'porto'), "3" => __("3 Columns", 'porto'), "4" => __("4 Columns", 'porto'), "5" => __("5 Columns", 'porto'), "6" => __("6 Columns", 'porto')), 'default' => '4'), array('id' => 'portfolio-grid-view', 'type' => 'button_set', "title" => __("Grid View Type", 'porto'), 'required' => array('portfolio-layout', 'equals', 'grid'), "desc" => __("Select the view type in <strong>grid mode</strong>.", 'porto'), 'options' => array("default" => __("Default", 'porto'), "full" => __("Full Width", 'porto')), 'default' => 'default'), array('id' => 'portfolio-excerpt', 'type' => 'switch', 'title' => __('Show Excerpt', 'porto'), 'desc' => __('If yes, will be show the excerpt. If no, will be show the content.', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'portfolio-excerpt-length', 'type' => 'text', 'required' => array('portfolio-excerpt', 'equals', true), 'title' => __('Excerpt Length', 'porto'), 'desc' => __('The number of words', 'porto'), 'default' => '80'), array('id' => '2', 'type' => 'info', 'desc' => __('Single Portfolio', 'porto')), array('id' => 'portfolio-single-layout', 'type' => 'button_set', 'title' => __('Page Layout', 'porto'), 'options' => $porto_layouts, 'default' => 'fullwidth'), array('id' => 'portfolio-single-sidebar', 'type' => 'select', 'title' => __('Select Sidebar', 'porto'), 'required' => array('portfolio-single-layout', 'equals', $sidebars), 'data' => 'sidebars'), array('id' => 'portfolio-page-nav', 'type' => 'switch', 'title' => __('Show List & Prev/Next Navigation', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'portfolio-content-layout', 'type' => 'button_set', 'title' => __('Portfolio Layout', 'porto'), 'options' => $porto_portfolio_single_layouts, 'default' => 'medium'), array('id' => 'portfolio-share', 'type' => 'switch', 'title' => __('Show Social Share Links', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'portfolio-author', 'type' => 'switch', 'title' => __('Show Author Info', 'porto'), 'default' => '0', 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'portfolio-comments', 'type' => 'switch', 'title' => __('Show Comments', 'porto'), 'default' => '0', 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'portfolio-related', 'type' => 'switch', 'title' => __('Show Related Portfolios', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'portfolio-related-count', 'type' => 'text', 'required' => array('portfolio-related', 'equals', true), 'title' => __('Related Portfolios Count', 'porto'), 'desc' => __('If you want to show all the related portfolios, you should input "-1".', 'porto'), 'default' => '10'), array('id' => 'portfolio-related-orderby', 'type' => 'button_set', 'required' => array('portfolio-related', 'equals', true), 'title' => __('Related Portfolios Order by', 'porto'), 'options' => array('none' => __('None', 'porto'), 'rand' => __('Random', 'porto'), 'date' => __('Date', 'porto'), 'ID' => __('ID', 'porto'), 'modified' => __('Modified Date', 'porto'), 'comment_count' => __('Comment Count', 'porto')), 'default' => 'rand')));
     // Member
     $this->sections[] = array('icon' => 'el-icon-user', 'icon_class' => 'icon', 'title' => __('Member', 'porto'), 'fields' => array(array('id' => 'member-zoom', 'type' => 'switch', 'title' => __('Slideshow Zoom Effect', 'porto'), 'default' => true, 'on' => __('Enable', 'porto'), 'off' => __('Disable', 'porto')), array('id' => '2', 'type' => 'info', 'desc' => __('Member Archive Page', 'porto')), array('id' => 'member-title', 'type' => 'text', 'title' => __('Page Title', 'porto'), 'default' => 'Meet the <strong>Team</strong>'), array('id' => 'member-archive-layout', 'type' => 'button_set', 'title' => __('Page Layout', 'porto'), 'options' => $porto_layouts, 'default' => 'fullwidth'), array('id' => 'member-archive-sidebar', 'type' => 'select', 'title' => __('Select Sidebar', 'porto'), 'required' => array('member-archive-layout', 'equals', $sidebars), 'data' => 'sidebars'), array('id' => 'member-infinite', 'type' => 'switch', 'title' => __('Enable Infinite Scroll', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'member-excerpt', 'type' => 'switch', 'title' => __('Show Overview Excerpt', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'member-excerpt-length', 'type' => 'text', 'required' => array('member-excerpt', 'equals', true), 'title' => __('Excerpt Length', 'porto'), 'desc' => __('The number of words', 'porto'), 'default' => '80'), array('id' => '2', 'type' => 'info', 'desc' => __('Member Single Page', 'porto')), array('id' => 'member-single-layout', 'type' => 'button_set', 'title' => __('Page Layout', 'porto'), 'options' => $porto_layouts, 'default' => 'fullwidth'), array('id' => 'member-single-sidebar', 'type' => 'select', 'title' => __('Select Sidebar', 'porto'), 'required' => array('member-single-layout', 'equals', $sidebars), 'data' => 'sidebars')));
     // FAQ
     $this->sections[] = array('icon' => 'el-icon-question', 'icon_class' => 'icon', 'title' => __('FAQ', 'porto'), 'fields' => array(array('id' => 'faq-title', 'type' => 'text', 'title' => __('Page Title', 'porto'), 'default' => 'Frequently Asked <strong>Questions</strong>'), array('id' => 'faq-archive-layout', 'type' => 'button_set', 'title' => __('Page Layout', 'porto'), 'options' => $porto_layouts, 'default' => 'fullwidth'), array('id' => 'faq-archive-sidebar', 'type' => 'select', 'title' => __('Select Sidebar', 'porto'), 'required' => array('faq-archive-layout', 'equals', $sidebars), 'data' => 'sidebars'), array('id' => 'faq-infinite', 'type' => 'switch', 'title' => __('Enable Infinite Scroll', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto'))));
     // 404
     $this->sections[] = array('icon' => 'el-icon-error', 'icon_class' => 'icon', 'title' => __('404 Error', 'porto'), 'fields' => array(array('id' => 'error-block', 'type' => 'text', 'title' => __('404 Error Links Block', 'porto'), 'desc' => __('Input static block slug name', 'porto'), 'default' => 'error-404')));
     // Woocommerce
     $this->sections[] = array('icon' => 'el-icon-shopping-cart', 'icon_class' => 'icon', 'title' => __('Woocommerce', 'porto'), 'fields' => array(array('id' => '1', 'type' => 'info', 'desc' => __('General', 'porto')), array('id' => 'woo-show-rating', 'type' => 'switch', 'title' => __('Show Rating in Woocommerce Products Widget', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => '1', 'type' => 'info', 'desc' => __('Products Listing', 'porto')), array('id' => 'product-archive-layout', 'type' => 'button_set', 'title' => __('Page Layout', 'porto'), 'options' => $porto_layouts, 'default' => 'left-sidebar'), array('id' => 'category-item', 'type' => 'text', 'title' => __('Products per Page', 'porto'), 'desc' => __('Comma separated list of product counts.', 'porto'), 'default' => '12,24,36'), array('id' => 'shop-product-cols', 'type' => 'button_set', 'title' => __('Shop Page Product Columns', 'porto'), 'options' => porto_ct_product_columns(), 'default' => '3'), array('id' => 'product-cols', 'type' => 'button_set', 'title' => __('Category Product Columns', 'porto'), 'options' => porto_ct_product_columns(), 'default' => '4'), array('id' => 'category-image-hover', 'type' => 'switch', 'title' => __('Enable Image Hover Effect', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'category-addlinks-pos', 'type' => 'button_set', 'title' => __('Add Links Position', 'porto'), 'desc' => __('Select position of add to cart, add to wishlist, quickview.', 'porto'), 'options' => array('outimage' => __('Out of Image', 'porto'), 'onimage' => __('On Image', 'porto')), 'default' => 'outimage'), array('id' => 'category-hover', 'type' => 'switch', 'title' => __('Enable Hover Effect', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-wishlist', 'type' => 'switch', 'title' => __('Show Wishlist', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-quickview', 'type' => 'switch', 'title' => __('Show Quick View', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => '1', 'type' => 'info', 'desc' => __('Product', 'porto')), array('id' => 'product-single-layout', 'type' => 'button_set', 'title' => __('Page Layout', 'porto'), 'options' => $porto_layouts, 'default' => 'right-sidebar'), array('id' => 'product-nav', 'type' => 'switch', 'title' => __('Show Prev/Next Product', 'porto'), 'desc' => __('Will be show in breadcrumbs', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-related', 'type' => 'switch', 'title' => __('Show Related Products', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-related-count', 'type' => 'text', 'required' => array('product-related', 'equals', true), 'title' => __('Related Products Count', 'porto'), 'default' => '10'), array('id' => 'product-upsells', 'type' => 'switch', 'title' => __('Show Up Sells', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-upsells-count', 'type' => 'text', 'required' => array('product-upsells', 'equals', true), 'title' => __('Up Sells Count', 'porto'), 'default' => '10'), array('id' => 'product-hot', 'type' => 'switch', 'title' => __('Show "Hot" Label', 'porto'), 'desc' => __('Will be show in the featured product.', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-sale', 'type' => 'switch', 'title' => __('Show "Sale" Label', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-sale-percent', 'type' => 'switch', 'title' => __('Show Saved Sale Price Percentage', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-stock', 'type' => 'switch', 'title' => __('Show "Out of stock" Status', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-share', 'type' => 'switch', 'title' => __('Show Social Share Links', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-tabs', 'type' => 'button_set', 'title' => __('Tabs Type', 'porto'), 'options' => array('default' => __('Horizontal', 'porto'), 'vertical' => __('Vertical', 'porto'), 'accordion' => __('Accordion', 'porto')), 'default' => 'default'), array('id' => "product-tab-title", 'type' => 'text', 'title' => __('Global Product Custom Tab Title', 'porto'), 'default' => ''), array('id' => "product-tab-block", 'type' => 'text', 'title' => __('Global Product Custom Tab Block', 'porto'), 'desc' => __('Input block slug name', 'porto'), 'default' => ''), array('id' => '1', 'type' => 'info', 'desc' => __('Product Image & Zoom', 'porto')), array('id' => 'product-thumbs', 'type' => 'switch', 'title' => __('Show Thumbnails', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-zoom', 'type' => 'switch', 'title' => __('Enable Image Zoom', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'zoom-type', 'type' => 'button_set', 'title' => __('Type', 'porto'), 'options' => array('inner' => __('Inner', 'porto'), 'lens' => __('Lens', 'porto')), 'default' => 'inner'), array('id' => 'zoom-scroll', 'type' => 'switch', 'required' => array('zoom-type', 'equals', array('lens')), 'title' => __('Scroll Zoom', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'zoom-lens-size', 'type' => 'text', 'required' => array('zoom-type', 'equals', array('lens')), 'title' => __('Lens Size', 'porto'), 'default' => '200'), array('id' => 'zoom-lens-shape', 'type' => 'button_set', 'required' => array('zoom-type', 'equals', array('lens')), 'title' => __('Lens Shape', 'porto'), 'options' => array('round' => __('Round', 'porto'), 'square' => __('Square', 'porto')), 'default' => 'square'), array('id' => 'zoom-contain-lens', 'type' => 'switch', 'required' => array('zoom-type', 'equals', array('lens')), 'title' => __('Contain Lens Zoom', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'zoom-lens-border', 'type' => 'text', 'required' => array('zoom-type', 'equals', array('lens')), 'title' => __('Lens Border', 'porto'), 'default' => true), array('id' => 'zoom-border', 'type' => 'text', 'required' => array('zoom-type', 'equals', array('lens')), 'title' => __('Border Size', 'porto'), 'default' => '4'), array('id' => 'zoom-border-color', 'type' => 'color', 'required' => array('zoom-type', 'equals', array('lens')), 'title' => __('Border Color', 'porto'), 'default' => '#888888'), array('id' => '1', 'type' => 'info', 'desc' => __('Cart Page', 'porto')), array('id' => 'product-crosssell', 'type' => 'switch', 'title' => __('Show Cross Sells', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-crosssell-count', 'type' => 'text', 'required' => array('product-crosssell', 'equals', true), 'title' => __('Cross Sells Count', 'porto'), 'default' => '8')));
     // Social Share
     $this->sections[] = array('icon' => 'el-icon-share-alt', 'icon_class' => 'icon', 'title' => __('Social Share', 'porto'), 'fields' => array(array('id' => 'share-enable', 'type' => 'switch', 'title' => __('Show social links', 'porto'), 'desc' => __('Show social links in post and product pages', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-nofollow', 'type' => 'switch', 'title' => __('Add rel="nofollow" to social links', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-facebook', 'type' => 'switch', 'title' => __('Enable Facebook Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-twitter', 'type' => 'switch', 'title' => __('Enable Twitter Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-linkedin', 'type' => 'switch', 'title' => __('Enable LinkedIn Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-googleplus', 'type' => 'switch', 'title' => __('Enable Google + Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-pinterest', 'type' => 'switch', 'title' => __('Enable Pinterest Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => '0', 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-email', 'type' => 'switch', 'title' => __('Enable Email Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-vk', 'type' => 'switch', 'title' => __('Enable VK Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => '0', 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-xing', 'type' => 'switch', 'title' => __('Enable Xing Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => '0', 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-tumblr', 'type' => 'switch', 'title' => __('Enable Tumblr Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => '0', 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-reddit', 'type' => 'switch', 'title' => __('Enable Reddit Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => '0', 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto'))));
 }
Exemplo n.º 2
0
function porto_ct_default_meta_view_boxes()
{
    $theme_layouts = porto_ct_layouts();
    $sidebar_options = porto_ct_sidebars();
    $banner_pos = porto_ct_banner_pos();
    $banner_type = porto_ct_banner_type();
    $footer_view = porto_ct_footer_view();
    $master_sliders = porto_ct_master_sliders();
    $rev_sliders = porto_ct_rev_sliders();
    return array("breadcrumbs" => array("name" => "breadcrumbs", "title" => __("Breadcrumbs", 'porto'), "desc" => __("Hide breadcrumbs", 'porto'), "type" => "checkbox"), "title" => array("name" => "page_title", "title" => __("Page Title", 'porto'), "desc" => __("Hide page title", 'porto'), "type" => "checkbox"), "header" => array("name" => "header", "title" => __("Header", 'porto'), "desc" => __("Hide header", 'porto'), "type" => "checkbox"), "footer" => array("name" => "footer", "title" => __("Footer", 'porto'), "desc" => __("Hide footer", 'porto'), "type" => "checkbox"), "default" => array("name" => "default", "title" => __("Layout & Sidebar", 'porto'), "desc" => __("Use selected layout and sidebar", 'porto'), "type" => "checkbox"), "layout" => array("name" => "layout", "title" => __("Layout", 'porto'), "desc" => __("Select layout.", 'porto'), "type" => "radio", "default" => "right-sidebar", "options" => $theme_layouts), "sidebar" => array("name" => "sidebar", "title" => __("Sidebar", 'porto'), "desc" => __("Select the sidebar you would like to display. <strong>Note</strong>: You must first create the sidebar under <strong>Appearance > Sidebars</strong>.", 'porto'), "type" => "select", "default" => "blog-sidebar", "options" => $sidebar_options), "banner_pos" => array("name" => "banner_pos", "title" => __("Banner Position", 'porto'), "type" => "radio", "default" => "", "options" => $banner_pos), "footer_view" => array("name" => "footer_view", "title" => __("Footer View", 'porto'), "type" => "radio", "default" => "", "options" => $footer_view), "banner_type" => array("name" => "banner_type", "title" => __("Banner Type", 'porto'), "type" => "select", "options" => $banner_type), "master_slider" => array("name" => "master_slider", "title" => __("Master Slider", 'porto'), "desc" => __("Select the Master Slider.", 'porto'), "type" => "select", "options" => $master_sliders), "rev_slider" => array("name" => "rev_slider", "title" => __("Revolution Slider", 'porto'), "desc" => __("Select the Revolution Slider.", 'porto'), "type" => "select", "options" => $rev_sliders), "banner_block" => array("name" => "banner_block", "title" => __("Banner Block", 'porto'), "desc" => __("You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.", 'porto'), "type" => "text"), "content_top" => array("name" => "content_top", "title" => __("Content Top", 'porto'), "desc" => __("You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.", 'porto'), "type" => "text"), "content_inner_top" => array("name" => "content_inner_top", "title" => __("Content Inner Top", 'porto'), "desc" => __("You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.", 'porto'), "type" => "text"), "content_inner_bottom" => array("name" => "content_inner_bottom", "title" => __("Content Inner Bottom", 'porto'), "desc" => __("You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.", 'porto'), "type" => "text"), "content_bottom" => array("name" => "content_bottom", "title" => __("Content Bottom", 'porto'), "desc" => __("You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.", 'porto'), "type" => "text"));
}
Exemplo n.º 3
0
function porto_ct_default_meta_view_boxes()
{
    $theme_layouts = porto_ct_layouts();
    $sidebar_options = porto_ct_sidebars();
    $banner_pos = porto_ct_banner_pos();
    $banner_type = porto_ct_banner_type();
    $footer_view = porto_ct_footer_view();
    $master_sliders = porto_ct_master_sliders();
    $rev_sliders = porto_ct_rev_sliders();
    // Get menus
    $menus = wp_get_nav_menus(array('orderby' => 'name'));
    $menu_options = array();
    if (!empty($menus)) {
        foreach ($menus as $menu) {
            $menu_options[$menu->term_id] = $menu->name;
        }
    }
    return array("loading_overlay" => array("name" => "loading_overlay", "title" => __("Loading Overlay", 'porto'), "type" => "radio", "default" => "", "options" => array_merge(porto_ct_show_options())), "breadcrumbs" => array("name" => "breadcrumbs", "title" => __("Breadcrumbs", 'porto'), "desc" => __("Hide breadcrumbs", 'porto'), "type" => "checkbox"), "title" => array("name" => "page_title", "title" => __("Page Title", 'porto'), "desc" => __("Hide page title", 'porto'), "type" => "checkbox"), "header" => array("name" => "header", "title" => __("Header", 'porto'), "desc" => __("Hide header", 'porto'), "type" => "checkbox"), "sticky_header" => array("name" => "sticky_header", "title" => __("Sticky Header", 'porto'), "type" => "radio", "default" => "", "options" => array_merge(porto_ct_show_options())), "footer" => array("name" => "footer", "title" => __("Footer", 'porto'), "desc" => __("Hide footer", 'porto'), "type" => "checkbox"), "main_menu" => array("name" => "main_menu", "title" => __("Main Menu", 'porto'), "desc" => __("Select the main menu you would like to display.", 'porto'), "type" => "select", "default" => "", "options" => $menu_options), "sidebar_menu" => array("name" => "sidebar_menu", "title" => __("Sidebar Menu", 'porto'), "desc" => __("Select the main menu you would like to display.", 'porto'), "type" => "select", "default" => "", "options" => $menu_options), "default" => array("name" => "default", "title" => __("Layout & Sidebar", 'porto'), "desc" => __("Use selected layout and sidebar", 'porto'), "type" => "checkbox"), "layout" => array("name" => "layout", "title" => __("Layout", 'porto'), "desc" => __("Select layout.", 'porto'), "type" => "radio", "default" => "right-sidebar", "options" => $theme_layouts), "sidebar" => array("name" => "sidebar", "title" => __("Sidebar", 'porto'), "desc" => __("Select the sidebar you would like to display. <strong>Note</strong>: You must first create the sidebar under <strong>Appearance > Sidebars</strong>.", 'porto'), "type" => "select", "default" => "blog-sidebar", "options" => $sidebar_options), "banner_pos" => array("name" => "banner_pos", "title" => __("Banner Position", 'porto'), "type" => "radio", "default" => "", "options" => $banner_pos), "footer_view" => array("name" => "footer_view", "title" => __("Footer View", 'porto'), "type" => "radio", "default" => "", "options" => $footer_view), "banner_type" => array("name" => "banner_type", "title" => __("Banner Type", 'porto'), "type" => "select", "options" => $banner_type), "master_slider" => array("name" => "master_slider", "title" => __("Master Slider", 'porto'), "desc" => __("Select the Master Slider.", 'porto'), "type" => "select", "options" => $master_sliders), "rev_slider" => array("name" => "rev_slider", "title" => __("Revolution Slider", 'porto'), "desc" => __("Select the Revolution Slider.", 'porto'), "type" => "select", "options" => $rev_sliders), "banner_block" => array("name" => "banner_block", "title" => __("Banner Block", 'porto'), "desc" => __("You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.", 'porto'), "type" => "text"), "content_top" => array("name" => "content_top", "title" => __("Content Top", 'porto'), "desc" => __("You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.", 'porto'), "type" => "text"), "content_inner_top" => array("name" => "content_inner_top", "title" => __("Content Inner Top", 'porto'), "desc" => __("You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.", 'porto'), "type" => "text"), "content_inner_bottom" => array("name" => "content_inner_bottom", "title" => __("Content Inner Bottom", 'porto'), "desc" => __("You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.", 'porto'), "type" => "text"), "content_bottom" => array("name" => "content_bottom", "title" => __("Content Bottom", 'porto'), "desc" => __("You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.", 'porto'), "type" => "text"));
}
Exemplo n.º 4
0
 public function setSections()
 {
     $page_layouts = porto_options_layouts();
     $sidebars = porto_options_sidebars();
     $body_wrapper = porto_options_body_wrapper();
     $banner_wrapper = porto_options_banner_wrapper();
     $wrapper = porto_options_wrapper();
     $porto_demo_type = porto_demo_types();
     $porto_banner_pos = porto_ct_banner_pos();
     $porto_footer_view = porto_ct_footer_view();
     $porto_banner_type = porto_ct_banner_type();
     $porto_master_sliders = porto_ct_master_sliders();
     $porto_rev_sliders = porto_ct_rev_sliders();
     $porto_post_archive_layouts = porto_ct_post_archive_layouts();
     $porto_post_single_layouts = porto_ct_post_single_layouts();
     $porto_portfolio_archive_layouts = porto_ct_portfolio_archive_layouts();
     $porto_portfolio_single_layouts = porto_ct_portfolio_single_layouts();
     $porto_categories_orderby = porto_ct_categories_orderby();
     $porto_categories_order = porto_ct_categories_order();
     $porto_header_type = porto_options_header_types();
     $porto_footer_type = porto_options_footer_types();
     $porto_breadcrumbs_type = porto_options_breadcrumbs_types();
     // General Settings
     $this->sections[] = array('icon' => 'el-icon-dashboard', 'icon_class' => 'icon', 'title' => __('General', 'porto'), 'fields' => array(array('id' => 'show-loading-overlay', 'type' => 'switch', 'title' => __('Loading Overlay', 'porto'), 'default' => false, 'on' => __('Show', 'porto'), 'off' => __('Hide', 'porto')), array('id' => 'wrapper', 'type' => 'image_select', 'title' => __('Body Wrapper', 'porto'), 'options' => $body_wrapper, 'default' => 'full'), array('id' => 'layout', 'type' => 'image_select', 'title' => __('Page Layout', 'porto'), 'options' => $page_layouts, 'default' => 'right-sidebar'), array('id' => 'sidebar', 'type' => 'select', 'title' => __('Select Sidebar', 'porto'), 'required' => array('layout', 'equals', $sidebars), 'data' => 'sidebars', 'default' => 'blog-sidebar'), array('id' => 'header-wrapper', 'type' => 'image_select', 'title' => __('Header Wrapper', 'porto'), 'required' => array('wrapper', 'equals', array('full', 'wide')), 'options' => $wrapper, 'default' => 'full'), array('id' => 'banner-wrapper', 'type' => 'image_select', 'title' => __('Banner Wrapper', 'porto'), 'required' => array('wrapper', 'equals', array('full', 'wide')), 'options' => $banner_wrapper, 'default' => 'wide'), array('id' => 'breadcrumbs-wrapper', 'type' => 'image_select', 'title' => __('Breadcrumbs Wrapper', 'porto'), 'required' => array('wrapper', 'equals', array('full', 'wide')), 'options' => $wrapper, 'default' => 'full'), array('id' => 'main-wrapper', 'type' => 'image_select', 'title' => __('Page Content Wrapper', 'porto'), 'required' => array('wrapper', 'equals', array('full', 'wide')), 'options' => $banner_wrapper, 'default' => 'wide'), array('id' => 'footer-wrapper', 'type' => 'image_select', 'title' => __('Footer Wrapper', 'porto'), 'required' => array('wrapper', 'equals', array('full', 'wide')), 'options' => $wrapper, 'default' => 'full'), array('id' => 'rich-snippets', 'type' => 'switch', 'title' => __('Microdata Rich Snippets', 'porto'), 'default' => true, 'on' => __('Enable', 'porto'), 'off' => __('Disable', 'porto')), array('id' => 'show-content-type-skin', 'type' => 'switch', 'title' => __('Show Content Type Skin Options', 'porto'), 'desc' => __('Show skin options when edit post, page, product, portfolio, member.', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'show-category-skin', 'type' => 'switch', 'title' => __('Show Category Skin Options', 'porto'), 'desc' => __('Show skin options when edit the category of post, product, portfolio, member.', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto'))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Theme Layout', 'porto'), 'fields' => array(array('id' => '1', 'type' => 'raw', 'content' => '<img style="max-width: 100%;" src="' . porto_options_uri . '/layouts/theme_layout.jpg"/>')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Logo, Icons', 'porto'), 'fields' => array(array('id' => 'logo', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Logo', 'porto'), 'default' => array('url' => porto_uri . '/images/logo/logo.png')), array('id' => 'logo-retina', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Retina Logo', 'porto')), array('id' => 'sticky-logo', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Logo in Sticky Menu', 'porto'), 'desc' => __('if header type is like 1, 4, 13, 14', 'porto')), array('id' => 'sticky-logo-retina', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Retina Logo in Sticky Menu', 'porto'), 'desc' => __('if header type is like 1, 4, 13, 14', 'porto')), array('id' => 'logo-retina-width', 'type' => 'text', 'title' => __('Default Logo Width', 'porto'), 'desc' => __('If retina logo is uploaded, please input the default logo width. unit: px', 'porto')), array('id' => 'logo-retina-height', 'type' => 'text', 'title' => __('Default Logo Height', 'porto'), 'desc' => __('If retina logo is uploaded, please input the default logo height. unit: px', 'porto')), array('id' => 'logo-width', 'type' => 'text', 'title' => __('Logo Max Width', 'porto'), 'desc' => __('unit: px', 'porto'), 'default' => '170'), array('id' => 'logo-width-wide', 'type' => 'text', 'title' => __('Logo Max Width on Wide Screen', 'porto'), 'default' => '250'), array('id' => 'logo-width-tablet', 'type' => 'text', 'title' => __('Logo Max Width on Tablet', 'porto'), 'default' => '110'), array('id' => 'logo-width-mobile', 'type' => 'text', 'title' => __('Logo Max Width on Mobile', 'porto'), 'default' => '110'), array('id' => 'logo-width-sticky', 'type' => 'text', 'title' => __('Logo Max Width in Sticky Header', 'porto'), 'default' => '80'), array('id' => 'favicon', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Favicon', 'porto'), 'default' => array('url' => porto_uri . '/images/logo/favicon.ico')), array('id' => 'icon-iphone', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Apple iPhone Icon', 'porto'), 'desc' => __('Icon for Apple iPhone (57px X 57px)', 'porto'), 'default' => array('url' => porto_uri . '/images/logo/apple-touch-icon.png')), array('id' => 'icon-iphone-retina', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Apple iPhone Retina Icon', 'porto'), 'desc' => __('Icon for Apple iPhone Retina (114px X 114px)', 'porto'), 'default' => array('url' => porto_uri . '/images/logo/apple-touch-icon_114x114.png')), array('id' => 'icon-ipad', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Apple iPad Icon', 'porto'), 'desc' => __('Icon for Apple iPad (72px X 72px)', 'porto'), 'default' => array('url' => porto_uri . '/images/logo/apple-touch-icon_72x72.png')), array('id' => 'icon-ipad-retina', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Apple iPad Retina Icon', 'porto'), 'desc' => __('Icon for Apple iPad Retina (144px X 144px)', 'porto'), 'default' => array('url' => porto_uri . '/images/logo/apple-touch-icon_144x144.png'))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Custom Javascript Code', 'porto'), 'fields' => array(array('id' => 'js-code', 'type' => 'ace_editor', 'title' => __('JS Code', 'porto'), 'subtitle' => __('Paste your JS code here.', 'porto'), 'mode' => 'javascript', 'theme' => 'chrome', 'default' => "jQuery(document).ready(function(){});")));
     $this->sections[] = array('icon' => 'el-icon-download-alt', 'icon_class' => 'icon', 'title' => __('Import Demo', 'porto'), 'fields' => array(array('id' => '1', 'type' => 'info', 'title' => __('You can import demo using traditional method or alternative method.', 'porto') . '<br>' . __('Before import, please install the required plugins in Appearance > Install Plugins.', 'porto'), 'notice' => false), array('id' => '1', 'type' => 'info', 'title' => '<strong style="font-size:20px;">' . __('Traditional method', 'porto') . '</strong>', 'desc' => '<br/><strong>' . __('If import failed, please check your site and click again "Import" button.', 'porto') . '</strong>', 'style' => 'success'), array('id' => '1', 'type' => 'raw', 'content' => (isset($_GET['import_success']) ? '<strong>' . __('Successfully Imported!', 'porto') . '</strong><br/><br/>' : '') . (isset($_GET['import_widget_success']) ? '<strong>' . __('Successfully Imported Widgets!', 'porto') . '</strong><br/><br/>' : '') . (isset($_GET['import_masterslider_success']) ? '<strong>' . __('Successfully Imported Master Sliders!', 'porto') . '</strong><br/><br/>' : '') . (isset($_GET['import_font_success']) && $_GET['import_font_success'] == 'true' ? '<strong>' . __('Successfully Imported Simple Line Icon!', 'porto') . '</strong><br/><br/>' : '') . (isset($_GET['import_font_success']) && $_GET['import_font_success'] == 'false' ? '<strong>' . __('Please install Ultimate Addons Plugin and try again!', 'porto') . '</strong><br/><br/>' : '') . '<a href="' . admin_url('admin.php?page=porto_settings') . '&import_sample_content=true" class="button button-primary import-button import_porto_dummy">' . __('Import Dummy Content', 'porto') . '</a>&nbsp;' . '<a href="' . admin_url('admin.php?page=porto_settings') . '&import_widget=true" class="button button-primary import-button import_porto_widgets">' . __('Import Widgets', 'porto') . '</a>&nbsp;' . '<a href="' . admin_url('admin.php?page=porto_settings') . '&import_masterslider=true" class="button button-primary import-button import_porto_mastersliders">' . __('Import Master Sliders', 'porto') . '</a>&nbsp;' . '<a href="' . admin_url('admin.php?page=porto_settings') . '&import_font=true" class="button button-primary import-button import_porto_icons">' . __('Import Simple Line Icon', 'porto') . '</a><br/><div class="import-status"></div>'), array('id' => '1', 'type' => 'info', 'title' => '<strong style="font-size:20px;">' . __('Alternative method', 'porto') . '</strong>', 'desc' => '<br><strong>' . __('You can import demo using the alternative method. Please reference documentation.', 'porto') . '</strong>', 'style' => 'success')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Select Demo', 'porto'), 'fields' => array(array('id' => '1', 'type' => 'raw', 'content' => isset($_GET['import_options_success']) ? '<strong>' . __('Successfully Selected Demo!', 'porto') . '</strong><br/><br/>' : ''), array('id' => '1', 'type' => 'info', 'title' => '<strong style="font-size:20px;">' . __('Select Demo', 'porto') . '</strong>', 'desc' => '<br><strong>' . __('Before select demo, you should import demo and confirm that php version is 5.4 or higher.<br/>When select demo, you should wait a few minutes.<br/>Will be change theme options, default css files, frontend page and blog page.', 'porto') . '</strong>', 'style' => 'success'), array('id' => 'theme-type', 'type' => 'image_select', 'title' => '', 'full_width' => true, 'options' => $porto_demo_type, 'default' => '')));
     // Skin
     $this->sections[] = array('icon' => 'el-icon-broom', 'icon_class' => 'icon', 'title' => __('Skin', 'porto'), 'fields' => array(array('id' => '1', 'type' => 'info', 'title' => __('After save the changes, will be regenerate the css files (skin_' . get_current_blog_id() . '.css, skin_rtl_' . get_current_blog_id() . '.css) in ', 'porto') . '<strong>' . porto_dir . '/css</strong>.', 'style' => 'info'), array('id' => 'compress-skin-css', 'type' => 'switch', 'title' => __('Minify CSS', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'button-style', 'type' => 'button_set', 'title' => __('Button Style', 'porto'), 'options' => array('' => __('Default', 'porto'), 'btn-borders' => __('Borders', 'porto')), 'default' => ''), array('id' => 'skin-color', 'type' => 'color', 'title' => __('Primary Color', 'porto'), 'default' => '#0088cc', 'validate' => 'color'), array('id' => 'skin-color-inverse', 'type' => 'color', 'title' => __('Primary Inverse Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'secondary-color', 'type' => 'color', 'title' => __('Secondary Color', 'porto'), 'default' => '#e36159', 'validate' => 'color'), array('id' => 'secondary-color-inverse', 'type' => 'color', 'title' => __('Secondary Inverse Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'tertiary-color', 'type' => 'color', 'title' => __('Tertiary Color', 'porto'), 'default' => '#2baab1', 'validate' => 'color'), array('id' => 'tertiary-color-inverse', 'type' => 'color', 'title' => __('Tertiary Inverse Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'quaternary-color', 'type' => 'color', 'title' => __('Quaternary Color', 'porto'), 'default' => '#383f48', 'validate' => 'color'), array('id' => 'quaternary-color-inverse', 'type' => 'color', 'title' => __('Quaternary Inverse Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'dark-color', 'type' => 'color', 'title' => __('Dark Color', 'porto'), 'default' => '#2e353e', 'validate' => 'color'), array('id' => 'dark-color-inverse', 'type' => 'color', 'title' => __('Dark Inverse Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'light-color', 'type' => 'color', 'title' => __('Light Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'light-color-inverse', 'type' => 'color', 'title' => __('Light Inverse Color', 'porto'), 'default' => '#777777', 'validate' => 'color'), array('id' => 'social-color', 'type' => 'button_set', 'title' => __('Social Links Color', 'porto'), 'options' => array('' => __('Default', 'porto'), 'primary' => __('Primary Color', 'porto')), 'default' => '')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Compile Default CSS', 'porto'), 'fields' => array(array('id' => '1', 'type' => 'info', 'notice' => false, 'style' => 'info', 'title' => '<strong style="font-size:20px;">' . __('Compile CSS Files', 'porto') . '</strong>', 'desc' => '<br/>' . (isset($_GET['compile_theme_success']) ? '<strong style="font-size: 15px; color: #000;">' . __('Theme CSS compiled successfully!', 'porto') . '</strong><br/><br/>' : '') . (isset($_GET['compile_theme_rtl_success']) ? '<strong style="font-size: 15px; color: #000;">' . __('Theme RTL CSS compiled successfully!', 'porto') . '</strong><br/><br/>' : '') . (isset($_GET['compile_plugins_success']) ? '<strong style="font-size: 15px; color: #000;">' . __('Plugins CSS compiled successfully!', 'porto') . '</strong><br/><br/>' : '') . (isset($_GET['compile_plugins_rtl_success']) ? '<strong style="font-size: 15px; color: #000;">' . __('Plugins RTL CSS compiled successfully!', 'porto') . '</strong><br/><br/>' : '') . '<a href="' . admin_url('admin.php?page=porto_settings') . '&compile_theme=true" class="button button-primary">' . __('Theme CSS', 'porto') . '</a> ' . '<a href="' . admin_url('admin.php?page=porto_settings') . '&compile_theme_rtl=true" class="button button-primary">' . __('Theme RTL CSS', 'porto') . '</a> ' . '<a href="' . admin_url('admin.php?page=porto_settings') . '&compile_plugins=true" class="button button-primary">' . __('Plugins CSS', 'porto') . '</a> ' . '<a href="' . admin_url('admin.php?page=porto_settings') . '&compile_plugins_rtl=true" class="button button-primary">' . __('Plugins RTL CSS', 'porto') . '</a> ' . '<br/><br/><span style="color: red;">' . __('<strong>Before compile</strong>, you should configure <strong>below options</strong> and click <strong>"Save Changes"</strong>.', 'porto') . '</span>' . '<br/><span style="color: black;">' . __('After compile, will be regenerate the css files (theme_' . get_current_blog_id() . '.css, theme_rtl_' . get_current_blog_id() . '.css, plugins_' . get_current_blog_id() . '.css, plugins_rtl_' . get_current_blog_id() . '.css in ', 'porto') . '<strong>' . porto_dir . '/css</strong>.</span>'), array('id' => 'compress-default-css', 'type' => 'switch', 'title' => __('Minify CSS', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'css-type', 'type' => 'button_set', 'title' => __('Background Type', 'porto'), 'options' => array('' => __('Light', 'porto'), 'dark' => __('Dark', 'porto')), 'default' => ''), array('id' => 'color-dark', 'type' => 'color', 'required' => array('css-type', 'equals', 'dark'), 'title' => __('Basic Background Color', 'porto'), 'default' => '#1d2127', 'validate' => 'color'), array('id' => 'container-width', 'type' => 'button_set', 'title' => __('Container Max Width', 'porto'), 'options' => array('1024' => '1024px', '1170' => '1170px', '1280' => '1280px'), 'default' => '1170'), array('id' => 'grid-gutter-width', 'type' => 'button_set', 'title' => __('Grid Gutter Width', 'porto'), 'options' => array('16' => '16px', '20' => '20px', '30' => '30px'), 'default' => '20'), array('id' => 'border-radius', 'type' => 'switch', 'title' => __('Border Radius', 'porto'), 'default' => true), array('id' => 'thumb-padding', 'type' => 'switch', 'title' => __('Thumbnail Padding', 'porto'), 'default' => true)));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Typography', 'porto'), 'fields' => array(array('id' => 'select-google-charset', 'type' => 'switch', 'title' => __('Select Google Font Character Sets', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'google-charsets', 'type' => 'button_set', 'title' => __('Google Font Character Sets', 'porto'), 'multi' => true, 'required' => array('select-google-charset', 'equals', true), 'options' => array('cyrillic' => 'Cyrrilic', 'cyrillic-ext' => 'Cyrrilic Extended', 'greek' => 'Greek', 'greek-ext' => 'Greek Extended', 'khmer' => 'Khmer', 'latin' => 'Latin', 'latin-ext' => 'Latin Extneded', 'vietnamese' => 'Vietnamese'), 'default' => array('latin', 'greek-ext', 'cyrillic', 'latin-ext', 'greek', 'cyrillic-ext', 'vietnamese', 'khmer')), array('id' => 'body-font', 'type' => 'typography', 'title' => __('Body Font', 'porto'), 'google' => true, 'subsets' => false, 'font-style' => false, 'text-align' => false, 'default' => array('color' => "#777777", 'google' => true, 'font-weight' => '400', 'font-family' => 'Open Sans', 'font-size' => '14px', 'line-height' => '22px')), array('id' => 'body-mobile-font', 'type' => 'typography', 'title' => __('Body Mobile Font', 'porto'), 'google' => false, 'subsets' => false, 'font-family' => false, 'font-weight' => false, 'text-align' => false, 'color' => false, 'font-style' => false, 'desc' => __('Will be change on mobile device(max width < 480).', 'porto'), 'default' => array('font-size' => '13px', 'line-height' => '20px')), array('id' => 'alt-font', 'type' => 'typography', 'title' => __('Alternative Font', 'porto'), 'google' => true, 'subsets' => false, 'font-style' => false, 'font-size' => false, 'text-align' => false, 'color' => false, 'line-height' => false, 'desc' => __('You can use css class name "alternative-font" when edit html element.', 'porto'), 'default' => array('google' => true, 'font-weight' => '400', 'font-family' => 'Shadows Into Light')), array('id' => 'h1-font', 'type' => 'typography', 'title' => __('H1 Font', 'porto'), 'google' => true, 'subsets' => false, 'font-style' => false, 'text-align' => false, 'default' => array('color' => "#1d2127", 'google' => true, 'font-weight' => '400', 'font-family' => 'Open Sans', 'font-size' => '36px', 'line-height' => '44px')), array('id' => 'h2-font', 'type' => 'typography', 'title' => __('H2 Font', 'porto'), 'google' => true, 'subsets' => false, 'font-style' => false, 'text-align' => false, 'default' => array('color' => "#1d2127", 'google' => true, 'font-weight' => '300', 'font-family' => 'Open Sans', 'font-size' => '30px', 'line-height' => '40px')), array('id' => 'h3-font', 'type' => 'typography', 'title' => __('H3 Font', 'porto'), 'google' => true, 'subsets' => false, 'font-style' => false, 'text-align' => false, 'default' => array('color' => "#1d2127", 'google' => true, 'font-weight' => '400', 'font-family' => 'Open Sans', 'font-size' => '25px', 'line-height' => '32px')), array('id' => 'h4-font', 'type' => 'typography', 'title' => __('H4 Font', 'porto'), 'google' => true, 'subsets' => false, 'font-style' => false, 'text-align' => false, 'default' => array('color' => "#1d2127", 'google' => true, 'font-weight' => '400', 'font-family' => 'Open Sans', 'font-size' => '20px', 'line-height' => '27px')), array('id' => 'h5-font', 'type' => 'typography', 'title' => __('H5 Font', 'porto'), 'google' => true, 'subsets' => false, 'font-style' => false, 'text-align' => false, 'default' => array('color' => "#1d2127", 'google' => true, 'font-weight' => '600', 'font-family' => 'Open Sans', 'font-size' => '14px', 'line-height' => '18px')), array('id' => 'h6-font', 'type' => 'typography', 'title' => __('H6 Font', 'porto'), 'google' => true, 'subsets' => false, 'font-style' => false, 'text-align' => false, 'default' => array('color' => "#1d2127", 'google' => true, 'font-weight' => '400', 'font-family' => 'Open Sans', 'font-size' => '14px', 'line-height' => '18px'))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Backgrounds', 'porto'), 'fields' => array(array('id' => '1', 'type' => 'info', 'title' => __('Body Background', 'porto'), 'notice' => false), array('id' => 'body-bg', 'type' => 'background', 'title' => __('Background', 'porto')), array('id' => 'body-bg-gradient', 'type' => 'switch', 'title' => __('Enable Background Gradient', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'body-bg-gcolor', 'type' => 'color_gradient', 'title' => __('Background Gradient Color', 'porto'), 'required' => array('body-bg-gradient', 'equals', true), 'default' => array('from' => '', 'to' => '')), array('id' => '1', 'type' => 'info', 'title' => __('Page Content Background', 'porto'), 'notice' => false), array('id' => 'content-bg', 'type' => 'background', 'title' => __('Background', 'porto')), array('id' => 'content-bg-gradient', 'type' => 'switch', 'title' => __('Enable Background Gradient', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'content-bg-gcolor', 'type' => 'color_gradient', 'title' => __('Background Gradient Color', 'porto'), 'required' => array('content-bg-gradient', 'equals', true), 'default' => array('from' => '', 'to' => '')), array('id' => '1', 'type' => 'info', 'title' => __('Content Bottom Widgets Area', 'porto'), 'notice' => false), array('id' => 'content-bottom-bg', 'type' => 'background', 'title' => __('Background', 'porto')), array('id' => 'content-bottom-bg-gradient', 'type' => 'switch', 'title' => __('Enable Background Gradient', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'content-bottom-bg-gcolor', 'type' => 'color_gradient', 'title' => __('Background Gradient Color', 'porto'), 'required' => array('content-bottom-bg-gradient', 'equals', true), 'default' => array('from' => '', 'to' => '')), array('id' => 'content-bottom-padding', 'type' => 'spacing', 'mode' => 'padding', 'title' => __('Padding', 'porto'), 'default' => array('padding-top' => 0, 'padding-bottom' => 20, 'padding-left' => 0, 'padding-right' => 0))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Header', 'porto'), 'fields' => array(array('id' => '1', 'type' => 'info', 'title' => __('Header Wrapper', 'porto'), 'notice' => false), array('id' => 'header-wrap-bg', 'type' => 'background', 'title' => __('Background', 'porto'), 'default' => array('background-color' => 'transparent')), array('id' => 'header-wrap-bg-gradient', 'type' => 'switch', 'title' => __('Background Gradient', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'header-wrap-bg-gcolor', 'type' => 'color_gradient', 'title' => __('Background Gradient Color', 'porto'), 'required' => array('header-wrap-bg-gradient', 'equals', true), 'default' => array('from' => '', 'to' => '')), array('id' => '1', 'type' => 'info', 'title' => __('Header', 'porto'), 'notice' => false), array('id' => 'header-bg', 'type' => 'background', 'title' => __('Background', 'porto'), 'default' => array('background-color' => '#ffffff')), array('id' => 'header-bg-gradient', 'type' => 'switch', 'title' => __('Background Gradient', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'header-bg-gcolor', 'type' => 'color_gradient', 'title' => __('Background Gradient Color', 'porto'), 'required' => array('header-bg-gradient', 'equals', true), 'default' => array('from' => '#f6f6f6', 'to' => '#ffffff')), array('id' => 'header-text-color', 'type' => 'color', 'title' => __('Text Color', 'porto'), 'default' => '#999999', 'validate' => 'color'), array('id' => 'header-link-color', 'type' => 'link_color', 'active' => false, 'title' => __('Link Color', 'porto'), 'default' => array('regular' => '#999999', 'hover' => '#999999')), array('id' => 'header-top-border', 'type' => 'border', 'all' => true, 'style' => false, 'title' => __('Top Border', 'porto'), 'default' => array('border-color' => '#ededed', 'border-top' => '5px')), array('id' => '1', 'type' => 'info', 'title' => __('Sticky Header', 'porto'), 'notice' => false), array('id' => 'sticky-header-bg', 'type' => 'background', 'title' => __('Background', 'porto'), 'default' => array('background-color' => '#ffffff')), array('id' => 'sticky-header-bg-gradient', 'type' => 'switch', 'title' => __('Background Gradient', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'sticky-header-bg-gcolor', 'type' => 'color_gradient', 'title' => __('Background Gradient Color', 'porto'), 'required' => array('sticky-header-bg-gradient', 'equals', true), 'default' => array('from' => '#f6f6f6', 'to' => '#ffffff')), array('id' => 'sticky-header-opacity', 'type' => 'text', 'title' => __('Background Opacity', 'porto'), 'default' => '100%'), array('id' => '1', 'type' => 'info', 'title' => __('Skin option when banner show below header', 'porto'), 'notice' => false), array('id' => 'header-opacity', 'type' => 'text', 'title' => __('Header Opacity', 'porto'), 'default' => '80%'), array('id' => 'searchform-opacity', 'type' => 'text', 'title' => __('Search Form Opacity', 'porto'), 'default' => '50%'), array('id' => 'menuwrap-opacity', 'type' => 'text', 'title' => __('Menu Wrap Opacity', 'porto'), 'default' => '30%'), array('id' => 'menu-opacity', 'type' => 'text', 'title' => __('Menu Opacity', 'porto'), 'default' => '30%'), array('id' => 'header-fixed-show-bottom', 'type' => 'switch', 'title' => __('Show Bottom Border', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => '1', 'type' => 'info', 'title' => __('Header Top', 'porto'), 'notice' => false), array('id' => 'header-top-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'default' => '#f4f4f4', 'validate' => 'color'), array('id' => 'header-top-bottom-border', 'type' => 'border', 'all' => true, 'style' => false, 'title' => __('Bottom Border', 'porto'), 'default' => array('border-color' => '#ededed', 'border-top' => '1px')), array('id' => 'header-top-text-color', 'type' => 'color', 'title' => __('Text Color', 'porto'), 'default' => '#777777', 'validate' => 'color'), array('id' => 'header-top-link-color', 'type' => 'link_color', 'active' => false, 'title' => __('Link Color', 'porto'), 'default' => array('regular' => '#0088cc', 'hover' => '#0099e6')), array('id' => '1', 'type' => 'info', 'title' => __('Side Navigation', 'porto'), 'notice' => false), array('id' => 'side-social-bg-color', 'type' => 'color', 'title' => __('Social Link Background Color', 'porto'), 'default' => '#9e9e9e', 'validate' => 'color'), array('id' => 'side-social-color', 'type' => 'color', 'title' => __('Social Link Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'side-copyright-color', 'type' => 'color', 'title' => __('Copyright Text Color', 'porto'), 'default' => '#777777', 'validate' => 'color')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Main Menu', 'porto'), 'fields' => array(array('id' => 'mainmenu-wrap-bg-color', 'type' => 'color', 'title' => __('Wrapper Background Color', 'porto'), 'default' => 'transparent', 'validate' => 'color'), array('id' => 'mainmenu-wrap-padding', 'type' => 'spacing', 'mode' => 'padding', 'title' => __('Wrapper Padding', 'porto'), 'default' => array('padding-top' => 0, 'padding-bottom' => 15, 'padding-left' => 0, 'padding-right' => 0)), array('id' => 'mainmenu-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'default' => 'transparent', 'validate' => 'color'), array('id' => '1', 'type' => 'info', 'title' => __('Top Level Menu Item', 'porto'), 'notice' => false), array('id' => 'menu-font', 'type' => 'typography', 'title' => __('Menu Font', 'porto'), 'google' => true, 'subsets' => false, 'font-style' => false, 'text-align' => false, 'color' => false, 'default' => array('google' => true, 'font-weight' => '700', 'font-family' => 'Open Sans', 'font-size' => '12px', 'line-height' => '20px')), array('id' => 'menu-font-md', 'type' => 'typography', 'title' => __('Menu Font (window width < 992px)', 'porto'), 'google' => false, 'subsets' => false, 'font-style' => false, 'font-weight' => false, 'font-family' => false, 'text-align' => false, 'color' => false, 'default' => array('font-size' => '12px', 'line-height' => '20px')), array('id' => 'menu-side-font', 'type' => 'typography', 'title' => __('Side Menu Font', 'porto'), 'google' => true, 'subsets' => false, 'font-style' => false, 'text-align' => false, 'color' => false, 'default' => array('google' => true, 'font-weight' => '400', 'font-family' => 'Open Sans', 'font-size' => '14px', 'line-height' => '18px')), array('id' => 'mainmenu-toplevel-link-color', 'type' => 'link_color', 'active' => false, 'title' => __('Link Color', 'porto'), 'default' => array('regular' => '#0088cc', 'hover' => '#ffffff')), array('id' => 'mainmenu-toplevel-hbg-color', 'type' => 'color', 'title' => __('Hover Background Color', 'porto'), 'default' => '#0088cc', 'validate' => 'color'), array('id' => 'mainmenu-toplevel-padding1', 'type' => 'spacing', 'mode' => 'padding', 'title' => __('Padding on Desktop', 'porto'), 'desc' => __('if header type is like 1, 4, 13, 14', 'porto'), 'default' => array('padding-top' => 11, 'padding-bottom' => 9, 'padding-left' => 13, 'padding-right' => 13)), array('id' => 'mainmenu-toplevel-padding2', 'type' => 'spacing', 'mode' => 'padding', 'title' => __('Padding on Desktop (width > 991px)', 'porto'), 'desc' => __('if header type is like 1, 4, 13, 14', 'porto'), 'default' => array('padding-top' => 9, 'padding-bottom' => 7, 'padding-left' => 10, 'padding-right' => 10)), array('id' => '1', 'type' => 'info', 'title' => __('Menu Popup', 'porto'), 'notice' => false), array('id' => 'menu-popup-font', 'type' => 'typography', 'title' => __('Menu Popup Font', 'porto'), 'google' => true, 'subsets' => false, 'font-style' => false, 'text-align' => false, 'color' => false, 'default' => array('google' => true, 'font-weight' => '400', 'font-family' => 'Open Sans', 'font-size' => '14px', 'line-height' => '24px')), array('id' => 'mainmenu-popup-border', 'type' => 'switch', 'title' => __('Show Border', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'mainmenu-popup-border-color', 'type' => 'color', 'title' => __('Border Color', 'porto'), 'required' => array('mainmenu-popup-border', 'equals', true), 'default' => '#0088cc', 'validate' => 'color'), array('id' => 'mainmenu-popup-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'mainmenu-popup-heading-color', 'type' => 'color', 'title' => __('Heading Color', 'porto'), 'default' => '#333333', 'validate' => 'color'), array('id' => 'mainmenu-popup-text-color', 'type' => 'link_color', 'active' => false, 'title' => __('Link Color', 'porto'), 'default' => array('regular' => '#777777', 'hover' => '#777777')), array('id' => 'mainmenu-popup-text-hbg-color', 'type' => 'color', 'title' => __('Link Hover Background Color', 'porto'), 'default' => '#f4f4f4', 'validate' => 'color'), array('id' => 'mainmenu-popup-narrow-type', 'type' => 'button_set', 'title' => __('Narrow Menu Style', 'porto'), 'desc' => __('if narrow menu style is "Style 2", you should select "Top Level Menu Item / Hover Background Color".', 'porto'), 'options' => array('' => 'With Popup BG Color', '1' => 'With Top Menu Hover Bg Color'), 'default' => ''), array('id' => '1', 'type' => 'info', 'title' => __('Tip', 'porto'), 'notice' => false), array('id' => 'mainmenu-tip-bg-color', 'type' => 'color', 'title' => __('Tip Background Color', 'porto'), 'default' => '#0cc485', 'validate' => 'color'), array('id' => '1', 'type' => 'info', 'title' => __('Menu Custom Content (if header type is like 1, 4, 9, 13, 14)', 'porto'), 'notice' => false), array('id' => 'menu-custom-text-color', 'type' => 'color', 'title' => __('Text Color', 'porto'), 'default' => '#777777', 'validate' => 'color'), array('id' => 'menu-custom-link', 'type' => 'link_color', 'title' => __('Link Color', 'porto'), 'active' => false, 'default' => array('regular' => '#0088cc', 'hover' => '#006fa4'))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Breadcrumbs', 'porto'), 'fields' => array(array('id' => 'breadcrumbs-bg', 'type' => 'background', 'title' => __('Background', 'porto'), 'default' => array('background-color' => '#171717')), array('id' => 'breadcrumbs-bg-gradient', 'type' => 'switch', 'title' => __('Background Gradient', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'breadcrumbs-bg-gcolor', 'type' => 'color_gradient', 'title' => __('Background Gradient Color', 'porto'), 'required' => array('breadcrumbs-bg-gradient', 'equals', true), 'default' => array('from' => '', 'to' => '')), array('id' => 'breadcrumbs-top-border', 'type' => 'border', 'all' => true, 'style' => false, 'title' => __('Top Border', 'porto'), 'default' => array('border-color' => '#384045', 'border-top' => '5px')), array('id' => 'breadcrumbs-bottom-border', 'type' => 'border', 'all' => true, 'style' => false, 'title' => __('Bottom Border', 'porto'), 'default' => array('border-color' => '#cccccc', 'border-top' => '5px')), array('id' => 'breadcrumbs-padding', 'type' => 'spacing', 'mode' => 'padding', 'title' => __('Content Padding', 'porto'), 'description' => __('default: 0 10 0 10', 'porto'), 'default' => array('padding-top' => 0, 'padding-bottom' => 0, 'padding-left' => 10, 'padding-right' => 10)), array('id' => 'breadcrumbs-text-color', 'type' => 'color', 'title' => __('Text Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'breadcrumbs-link-color', 'type' => 'color', 'title' => __('Link Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'breadcrumbs-title-color', 'type' => 'color', 'title' => __('Page Title Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Footer', 'porto'), 'fields' => array(array('id' => 'footer-bg', 'type' => 'background', 'title' => __('Background', 'porto'), 'default' => array('background-color' => '#0e0e0e')), array('id' => 'footer-bg-gradient', 'type' => 'switch', 'title' => __('Background Gradient', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'footer-bg-gcolor', 'type' => 'color_gradient', 'title' => __('Background Gradient Color', 'porto'), 'required' => array('footer-bg-gradient', 'equals', true), 'default' => array('from' => '', 'to' => '')), array('id' => 'footer-heading-color', 'type' => 'color', 'title' => __('Heading Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'footer-text-color', 'type' => 'color', 'title' => __('Text Color', 'porto'), 'default' => '#777777', 'validate' => 'color'), array('id' => 'footer-link-color', 'type' => 'link_color', 'active' => false, 'title' => __('Link Color', 'porto'), 'default' => array('regular' => '#ffffff', 'hover' => '#ffffff')), array('id' => 'footer-ribbon-bg-color', 'type' => 'color', 'title' => __('Ribbon Background Color', 'porto'), 'default' => '#0088cc', 'validate' => 'color'), array('id' => 'footer-ribbon-text-color', 'type' => 'color', 'title' => __('Ribbon Text Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => '1', 'type' => 'info', 'title' => __('Footer Top Widget Area', 'porto'), 'notice' => false), array('id' => 'footer-top-bg', 'type' => 'background', 'title' => __('Background', 'porto')), array('id' => 'footer-top-bg-gradient', 'type' => 'switch', 'title' => __('Enable Background Gradient', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'footer-top-bg-gcolor', 'type' => 'color_gradient', 'title' => __('Background Gradient Color', 'porto'), 'required' => array('footer-top-bg-gradient', 'equals', true), 'default' => array('from' => '', 'to' => '')), array('id' => 'footer-top-padding', 'type' => 'spacing', 'mode' => 'padding', 'title' => __('Padding', 'porto'), 'default' => array('padding-top' => 0, 'padding-bottom' => 0, 'padding-left' => 0, 'padding-right' => 0)), array('id' => '1', 'type' => 'info', 'title' => __('Footer Bottom', 'porto'), 'notice' => false), array('id' => 'footer-bottom-bg', 'type' => 'background', 'title' => __('Background', 'porto'), 'default' => array('background-color' => '#060606')), array('id' => 'footer-bottom-bg-gradient', 'type' => 'switch', 'title' => __('Background Gradient', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'footer-bottom-bg-gcolor', 'type' => 'color_gradient', 'title' => __('Background Gradient Color', 'porto'), 'required' => array('footer-bottom-bg-gradient', 'equals', true), 'default' => array('from' => '', 'to' => '')), array('id' => 'footer-bottom-text-color', 'type' => 'color', 'title' => __('Text Color', 'porto'), 'default' => '#555555', 'validate' => 'color'), array('id' => 'footer-bottom-link-color', 'type' => 'link_color', 'active' => false, 'title' => __('Link Color', 'porto'), 'default' => array('regular' => '#ffffff', 'hover' => '#ffffff')), array('id' => '1', 'type' => 'info', 'title' => __('Background Opacity when footer show in fixed position', 'porto'), 'notice' => false), array('id' => 'footer-opacity', 'type' => 'text', 'title' => __('Footer Opacity', 'porto'), 'default' => '80%'), array('id' => '1', 'type' => 'info', 'title' => __('Follow Us Widget', 'porto'), 'notice' => false), array('id' => 'footer-social-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'footer-social-link-color', 'type' => 'color', 'title' => __('Link Color', 'porto'), 'default' => '#555555', 'validate' => 'color')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Mobile Panel', 'porto'), 'fields' => array(array('id' => 'panel-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'default' => '#1d2127', 'validate' => 'color'), array('id' => 'panel-text-color', 'type' => 'color', 'title' => __('Text Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'panel-link-color', 'type' => 'link_color', 'active' => false, 'title' => __('Link Color', 'porto'), 'default' => array('regular' => '#ffffff', 'hover' => '#ffffff'))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('View, Currency Switcher', 'porto'), 'fields' => array(array('id' => 'switcher-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'default' => 'transparent', 'validate' => 'color'), array('id' => 'switcher-hbg-color', 'type' => 'color', 'title' => __('Hover Background Color', 'porto'), 'default' => '#ededed', 'validate' => 'color'), array('id' => 'switcher-link-color', 'type' => 'link_color', 'active' => false, 'title' => __('Link Color', 'porto'), 'default' => array('regular' => '#777777', 'hover' => '#777777'))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Search Form', 'porto'), 'fields' => array(array('id' => 'searchform-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'searchform-border-color', 'type' => 'color', 'title' => __('Border Color', 'porto'), 'default' => '#cccccc', 'validate' => 'color'), array('id' => 'searchform-popup-border-color', 'type' => 'color', 'title' => __('Popup Border Color', 'porto'), 'default' => '#cccccc', 'validate' => 'color'), array('id' => 'searchform-text-color', 'type' => 'color', 'title' => __('Text Color', 'porto'), 'default' => '#555555', 'validate' => 'color'), array('id' => 'searchform-hover-color', 'type' => 'color', 'title' => __('Hover Color', 'porto'), 'default' => '#333333', 'validate' => 'color'), array('id' => '1', 'type' => 'info', 'title' => __('In Sticky Header (if header type is like 1, 4, 9, 13, 14)', 'porto'), 'notice' => false), array('id' => 'sticky-searchform-popup-border-color', 'type' => 'color', 'title' => __('Popup Border Color', 'porto'), 'default' => '#cccccc', 'validate' => 'color'), array('id' => 'sticky-searchform-toggle-text-color', 'type' => 'color', 'title' => __('Toggle Text Color', 'porto'), 'default' => '#777777', 'validate' => 'color'), array('id' => 'sticky-searchform-toggle-hover-color', 'type' => 'color', 'title' => __('Toggle Hover Color', 'porto'), 'default' => '#0088cc', 'validate' => 'color')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Mini Cart', 'porto'), 'fields' => array(array('id' => 'minicart-icon-color', 'type' => 'color', 'title' => __('Icon Color', 'porto'), 'default' => '#0088cc', 'validate' => 'color'), array('id' => 'minicart-item-color', 'type' => 'color', 'title' => __('Item Color', 'porto'), 'default' => '#0088cc', 'validate' => 'color'), array('id' => 'minicart-border-color', 'type' => 'color', 'title' => __('Border Color', 'porto'), 'desc' => __('when mini cart type is 2', 'porto'), 'default' => 'transparent', 'validate' => 'color'), array('id' => 'minicart-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'desc' => __('when mini cart type is 2', 'porto'), 'default' => 'transparent', 'validate' => 'color'), array('id' => 'minicart-popup-border-color', 'type' => 'color', 'title' => __('Popup Border Color', 'porto'), 'default' => '#0088cc', 'validate' => 'color'), array('id' => '1', 'type' => 'info', 'title' => __('In Sticky Header (if header type is like 1, 4, 9, 13, 14)', 'porto'), 'notice' => false), array('id' => 'sticky-minicart-icon-color', 'type' => 'color', 'title' => __('Icon Color', 'porto'), 'default' => '#0088cc', 'validate' => 'color'), array('id' => 'sticky-minicart-item-color', 'type' => 'color', 'title' => __('Item Color', 'porto'), 'default' => '#0088cc', 'validate' => 'color'), array('id' => 'sticky-minicart-border-color', 'type' => 'color', 'title' => __('Border Color', 'porto'), 'desc' => __('when mini cart type is 2', 'porto'), 'default' => 'transparent', 'validate' => 'color'), array('id' => 'sticky-minicart-bg-color', 'type' => 'color', 'title' => __('Background Color', 'porto'), 'desc' => __('when mini cart type is 2', 'porto'), 'default' => 'transparent', 'validate' => 'color'), array('id' => 'sticky-minicart-popup-border-color', 'type' => 'color', 'title' => __('Popup Border Color', 'porto'), 'default' => '#0088cc', 'validate' => 'color')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Shop', 'porto'), 'fields' => array(array('id' => 'wishlist-color', 'type' => 'color', 'title' => __('Wishlist Color', 'porto'), 'default' => '#e36159', 'validate' => 'color'), array('id' => 'wishlist-color-inverse', 'type' => 'color', 'title' => __('Wishlist Inverse Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'quickview-color', 'type' => 'color', 'title' => __('Quick View Color', 'porto'), 'default' => '#2baab1', 'validate' => 'color'), array('id' => 'quickview-color-inverse', 'type' => 'color', 'title' => __('Quick View Inverse Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'hot-color', 'type' => 'color', 'title' => __('Hot Bg Color', 'porto'), 'default' => '#62b959', 'validate' => 'color'), array('id' => 'hot-color-inverse', 'type' => 'color', 'title' => __('Hot Text Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color'), array('id' => 'sale-color', 'type' => 'color', 'title' => __('Sale Bg Color', 'porto'), 'default' => '#e27c7c', 'validate' => 'color'), array('id' => 'sale-color-inverse', 'type' => 'color', 'title' => __('Sale Text Color', 'porto'), 'default' => '#ffffff', 'validate' => 'color')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Custom CSS', 'porto'), 'fields' => array(array('id' => 'css-code', 'type' => 'ace_editor', 'title' => __('CSS Code', 'porto'), 'subtitle' => __('Paste your CSS code here.', 'porto'), 'mode' => 'css', 'theme' => 'monokai', 'default' => "")));
     // Header Settings
     $this->sections[] = array('icon' => 'el-icon-website', 'icon_class' => 'icon', 'title' => __('Header', 'porto'), 'fields' => array(array('id' => 'show-header-top', 'type' => 'switch', 'title' => __('Show Header Top', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'change-header-logo', 'type' => 'switch', 'title' => __('Change Logo Size in Sticky Header', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'welcome-msg', 'type' => 'textarea', 'title' => __('Welcome Message', 'porto'), 'default' => ""), array('id' => 'header-contact-info', 'type' => 'textarea', 'title' => __('Contact Info', 'porto'), 'default' => "<ul class=\"nav nav-pills nav-top\">\r\n\t<li>\r\n\t\t<a href=\"#\" target=\"_blank\"><i class=\"fa fa-angle-right\"></i>About Us</a> \r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#\" target=\"_blank\"><i class=\"fa fa-angle-right\"></i>Contact Us</a> \r\n\t</li>\r\n\t<li class=\"phone\">\r\n\t\t<span><i class=\"fa fa-phone\"></i>(123) 456-7890</span>\r\n\t</li>\r\n</ul>\r\n"), array('id' => 'header-copyright', 'type' => 'textarea', 'title' => __('Side Navigation Copyright (Header Type: Side)', 'porto'), 'default' => __('&copy; Copyright 2015. All Rights Reserved.', 'porto')), array('id' => 'show-header-tooltip', 'type' => 'switch', 'title' => __('Show Tooltip', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'header-tooltip', 'type' => 'textarea', 'title' => __('Tooltip Content', 'porto'), 'required' => array('show-header-tooltip', 'equals', true))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Header Type', 'porto'), 'fields' => array(array('id' => 'header-type', 'type' => 'image_select', 'full_width' => true, 'title' => __('Header Type', 'porto'), 'options' => $porto_header_type, 'default' => '10')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('View, Currency Switcher', 'porto'), 'fields' => array(array('id' => 'wpml-switcher', 'type' => 'switch', 'title' => __('Show WPML Language Switcher', 'porto'), 'desc' => __('Show wpml language switcher instead of view switcher menu.', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'wcml-switcher', 'type' => 'switch', 'title' => __('Show WPML Currency Switcher', 'porto'), 'desc' => __('Show wpml currency switcher instead of currency switcher menu.', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => "switcher-effect", 'type' => 'button_set', 'title' => __('Popup Effect', 'porto'), 'options' => array('' => __('None', 'porto'), 'effect-down' => __('Drop Down', 'porto'), 'effect-fadein-up' => __('Fade In Up', 'porto'), 'effect-fadein-down' => __('Fade In Down', 'porto'), 'effect-fadein' => __('Fade In', 'porto')), 'default' => 'effect-down')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Social Links', 'porto'), 'fields' => array(array('id' => 'show-header-socials', 'type' => 'switch', 'title' => __('Show Social Links', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'header-socials-nofollow', 'type' => 'switch', 'title' => __('Add rel="nofollow" to social links', 'porto'), 'required' => array('show-header-socials', 'equals', true), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => "header-social-facebook", 'type' => 'text', 'title' => __('Facebook', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-twitter", 'type' => 'text', 'title' => __('Twitter', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-rss", 'type' => 'text', 'title' => __('RSS', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-pinterest", 'type' => 'text', 'title' => __('Pinterest', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-youtube", 'type' => 'text', 'title' => __('Youtube', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-instagram", 'type' => 'text', 'title' => __('Instagram', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-skype", 'type' => 'text', 'title' => __('Skype', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-linkedin", 'type' => 'text', 'title' => __('LinkedIn', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-googleplus", 'type' => 'text', 'title' => __('Google Plus', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-vk", 'type' => 'text', 'title' => __('VK', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-xing", 'type' => 'text', 'title' => __('Xing', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-tumblr", 'type' => 'text', 'title' => __('Tumblr', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-reddit", 'type' => 'text', 'title' => __('Reddit', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-vimeo", 'type' => 'text', 'title' => __('Vimeo', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-telegram", 'type' => 'text', 'title' => __('Telegram', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-yelp", 'type' => 'text', 'title' => __('Yelp', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-flickr", 'type' => 'text', 'title' => __('Flickr', 'porto'), 'required' => array('show-header-socials', 'equals', true)), array('id' => "header-social-whatsapp", 'type' => 'text', 'title' => __('WhatsApp', 'porto'), 'required' => array('show-header-socials', 'equals', true))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Mini Cart', 'porto'), 'fields' => array(array('id' => 'show-minicart', 'type' => 'switch', 'title' => __('Show Mini Cart', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'minicart-type', 'type' => 'image_select', 'title' => __('Minicart Type', 'porto'), 'required' => array('show-minicart', 'equals', true), 'options' => array('' => array('alt' => __('Minicart Type 1', 'porto'), 'img' => porto_options_uri . '/minicarts/minicart_01.png'), 'minicart-box' => array('alt' => __('Minicart Type 2', 'porto'), 'img' => porto_options_uri . '/minicarts/minicart_02.png'), 'minicart-inline' => array('alt' => __('Minicart Type 3', 'porto'), 'img' => porto_options_uri . '/minicarts/minicart_03.png')), 'default' => 'minicart-inline'), array('id' => 'minicart-icon', 'type' => 'image_select', 'title' => __('Minicart Icon', 'porto'), 'required' => array('show-minicart', 'equals', true), 'options' => array('' => array('alt' => __('Minicart Icon 1', 'porto'), 'img' => porto_options_uri . '/minicarts/minicart_icon_01.png'), 'minicart-icon2' => array('alt' => __('Minicart Icon 2', 'porto'), 'img' => porto_options_uri . '/minicarts/minicart_icon_02.png'), 'minicart-icon3' => array('alt' => __('Minicart Icon 3', 'porto'), 'img' => porto_options_uri . '/minicarts/minicart_icon_03.png'), 'minicart-icon4' => array('alt' => __('Minicart Icon 4', 'porto'), 'img' => porto_options_uri . '/minicarts/minicart_icon_04.png')), 'default' => ''), array('id' => "minicart-effect", 'type' => 'button_set', 'title' => __('Popup Effect', 'porto'), 'options' => array('' => __('None', 'porto'), 'effect-fadein-up' => __('Fade In Up', 'porto'), 'effect-fadein-down' => __('Fade In Down', 'porto'), 'effect-fadein' => __('Fade In', 'porto')), 'default' => 'effect-fadein-up')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Search Form', 'porto'), 'fields' => array(array('id' => 'show-searchform', 'type' => 'switch', 'title' => __('Show Search Form', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'search-size', 'type' => 'button_set', 'title' => __('Search Form Size', 'porto'), 'required' => array('show-searchform', 'equals', true), 'options' => array('' => __('Large', 'porto'), 'search-md' => __('Medium', 'porto'), 'search-sm' => __('Small', 'porto')), 'default' => 'search-sm'), array('id' => 'search-type', 'type' => 'button_set', 'title' => __('Search Content Type', 'porto'), 'required' => array('show-searchform', 'equals', true), 'options' => array('all' => __('All', 'porto'), 'post' => __('Post', 'porto'), 'product' => __('Product', 'porto'), 'portfolio' => __('Portfolio', 'porto')), 'default' => 'all'), array('id' => 'search-cats', 'type' => 'switch', 'title' => __('Show Categories', 'porto'), 'required' => array('search-type', 'equals', array('post', 'product')), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto'))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Sticky Header', 'porto'), 'fields' => array(array('id' => 'enable-sticky-header', 'type' => 'switch', 'title' => __('Enable Sticky Header', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'enable-sticky-header-tablet', 'type' => 'switch', 'title' => __('Enable on Tablet (width < 992px)', 'porto'), 'required' => array('enable-sticky-header', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'enable-sticky-header-mobile', 'type' => 'switch', 'title' => __('Enable on Mobile (width <= 480)', 'porto'), 'required' => array('enable-sticky-header-tablet', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => '1', 'type' => 'info', 'title' => __('If header type is like 1, 4, 9, 13, 14', 'porto'), 'notice' => false), array('id' => 'show-sticky-logo', 'type' => 'switch', 'title' => __('Show Logo', 'porto'), 'required' => array('enable-sticky-header', 'equals', true), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'show-sticky-searchform', 'type' => 'switch', 'title' => __('Show Search Form', 'porto'), 'required' => array('enable-sticky-header', 'equals', true), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'show-sticky-minicart', 'type' => 'switch', 'title' => __('Show Mini Cart', 'porto'), 'required' => array('enable-sticky-header', 'equals', true), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'show-sticky-menu-custom-content', 'type' => 'switch', 'title' => __('Show Menu Custom Content', 'porto'), 'required' => array('enable-sticky-header', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto'))));
     // Menu Settings
     $this->sections[] = array('icon' => 'el-icon-website', 'icon_class' => 'icon', 'title' => __('Menu', 'porto'), 'fields' => array(array('id' => 'menu-arrow', 'type' => 'switch', 'title' => __('Show Menu Arrow', 'porto'), 'desc' => __('If menu item have sub menus, show menu arrow.', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => "menu-sidebar-title", 'type' => 'text', 'title' => __('Sidebar Menu Title', 'porto'), 'default' => __('All Department', 'porto')), array('id' => "menu-sidebar-toggle", 'type' => 'switch', 'title' => __('Toggle Sidebar Menu', 'porto'), 'required' => array('menu-sidebar', 'equals', true), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => "menu-login-pos", 'type' => 'button_set', 'title' => __('Display Login & Register / Logout Link', 'porto'), 'options' => array('' => __('None', 'porto'), 'top_nav' => __('In Top Navigation', 'porto'), 'main_menu' => __('In Main Menu', 'porto')), 'default' => ''), array('id' => "menu-enable-register", 'type' => 'switch', 'title' => __('Show Register Link', 'porto'), 'required' => array('menu-login-pos', 'equals', array('top_nav', 'main_menu')), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => "menu-effect", 'type' => 'button_set', 'title' => __('Popup Effect', 'porto'), 'options' => array('' => __('None', 'porto'), 'effect-down' => __('Drop Down', 'porto'), 'effect-fadein-up' => __('Fade In Up', 'porto'), 'effect-fadein-down' => __('Fade In Down', 'porto'), 'effect-fadein' => __('Fade In', 'porto')), 'default' => 'effect-down'), array('id' => "menu-sub-effect", 'type' => 'button_set', 'title' => __('Popup Sub Effect', 'porto'), 'options' => array('' => __('None', 'porto'), 'subeffect-down' => __('Drop Down', 'porto'), 'subeffect-fadein-left' => __('Fade In Left', 'porto'), 'subeffect-fadein-right' => __('Fade In Right', 'porto'), 'subeffect-fadein-up' => __('Fade In Up', 'porto'), 'subeffect-fadein-down' => __('Fade In Down', 'porto'), 'subeffect-fadein' => __('Fade In', 'porto')), 'default' => 'subeffect-fadein-left'), array('id' => '1', 'type' => 'info', 'title' => __('If header type is like 1, 4, 13, 14', 'porto'), 'notice' => false), array('id' => 'menu-align', 'type' => 'button_set', 'title' => __('Main Menu Align', 'porto'), 'options' => array('' => __('Left', 'porto'), 'centered' => __('Center', 'porto')), 'default' => ''), array('id' => 'menu-sidebar', 'type' => 'switch', 'title' => __('Show Main Menu in Sidebar', 'porto'), 'desc' => __('If the layout of a page is left sidebar or right sidebar, the main menu shows in the sidebar.', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => "menu-sidebar-home", 'type' => 'switch', 'title' => __('Show Main Menu in Sidebar only on Home', 'porto'), 'required' => array('menu-sidebar', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => '1', 'type' => 'info', 'title' => __('If header type is 9', 'porto'), 'notice' => false), array('id' => "menu-title", 'type' => 'text', 'title' => __('Main Menu Title', 'porto'), 'default' => __('All Department', 'porto')), array('id' => "menu-toggle-onhome", 'type' => 'switch', 'title' => __('Toggle on home page', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => '1', 'type' => 'info', 'title' => __('If header type is like 1, 4, 9, 13, 14', 'porto'), 'notice' => false), array('id' => 'menu-block', 'type' => 'textarea', 'title' => __('Menu Custom Content', 'porto'), 'desc' => __('example: &lt;span&gt;Custom Message&lt;/span&gt;&lt;a href="#"&gt;Special Offer!&lt;/a&gt;&lt;a href="#"&gt;Buy this Theme!&lt;em class="tip hot"&gt;HOT&lt;i class="tip-arrow"&gt;&lt;/i&gt;&lt;/em&gt;&lt;/a&gt;', 'porto'), 'default' => '')));
     // Breadcrumbs Settings
     $this->sections[] = array('icon' => 'el-icon-website', 'icon_class' => 'icon', 'title' => __('Breadcrumbs', 'porto'), 'fields' => array(array('id' => 'show-breadcrumbs', 'type' => 'switch', 'title' => __('Show Breadcrumbs', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'show-pagetitle', 'type' => 'switch', 'title' => __('Show Page Title', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'breadcrumbs-prefix', 'type' => 'text', 'title' => __('Breadcrumbs Prefix', 'porto'), 'required' => array('show-breadcrumbs', 'equals', '1')), array('id' => 'breadcrumbs-blog-link', 'type' => 'switch', 'title' => __('Show Blog Link', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'breadcrumbs-archives-link', 'type' => 'switch', 'title' => __('Show Custom Post Type Archives Link', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'breadcrumbs-categories', 'type' => 'switch', 'title' => __('Show Categories Link', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto'))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Breadcrumbs Type', 'porto'), 'fields' => array(array('id' => 'breadcrumbs-type', 'type' => 'image_select', 'full_width' => true, 'title' => __('Breadcrumbs Type', 'porto'), 'options' => $porto_breadcrumbs_type, 'default' => '1')));
     // Footer Settings
     $this->sections[] = array('icon' => 'el-icon-website', 'icon_class' => 'icon', 'title' => __('Footer', 'porto'), 'fields' => array(array('id' => 'footer-logo', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Footer Logo', 'porto'), 'default' => array('url' => porto_uri . '/images/logo/logo_footer.png')), array('id' => "footer-ribbon", 'type' => 'text', 'title' => __('Ribbon Text', 'porto'), 'default' => ''), array('id' => "footer-copyright", 'type' => 'textarea', 'title' => __('Copyright', 'porto'), 'default' => __('&copy; Copyright 2015. All Rights Reserved.', 'porto')), array('id' => "footer-copyright-pos", 'type' => 'button_set', 'title' => __('Copyright Position', 'porto'), 'options' => array('left' => __('Left', 'porto'), 'right' => __('Right', 'porto')), 'default' => 'left'), array('id' => 'footer-payments', 'type' => 'switch', 'title' => __('Show Payments Logos', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'footer-payments-image', 'type' => 'media', 'url' => true, 'readonly' => false, 'title' => __('Payments Image', 'porto'), 'required' => array('footer-payments', 'equals', '1'), 'default' => array('url' => porto_uri . '/images/payments.png')), array('id' => 'footer-payments-link', 'type' => 'text', 'title' => __('Payments Link URL', 'porto'), 'required' => array('footer-payments', 'equals', '1'), 'default' => ''), array('id' => 'show-footer-tooltip', 'type' => 'switch', 'title' => __('Show Tooltip', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'footer-tooltip', 'type' => 'textarea', 'title' => __('Tooltip Content', 'porto'), 'required' => array('show-footer-tooltip', 'equals', true))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Footer Type', 'porto'), 'fields' => array(array('id' => 'footer-type', 'type' => 'image_select', 'full_width' => true, 'title' => __('Footer Type', 'porto'), 'options' => $porto_footer_type, 'default' => '1')));
     // Page
     $this->sections[] = array('icon' => 'el-icon-bookmark', 'icon_class' => 'icon', 'title' => __('Page', 'porto'), 'fields' => array(array('id' => 'page-comment', 'type' => 'switch', 'title' => __('Show Comments', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'page-zoom', 'type' => 'switch', 'title' => __('Slideshow Zoom Effect', 'porto'), 'default' => true, 'on' => __('Enable', 'porto'), 'off' => __('Disable', 'porto')), array('id' => 'page-share', 'type' => 'switch', 'title' => __('Show Social Share Links', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto'))));
     // Blog
     $this->sections[] = array('icon' => 'el-icon-file', 'icon_class' => 'icon', 'title' => __('Post', 'porto'), 'fields' => array(array('id' => 'post-format', 'type' => 'switch', 'title' => __('Show Post Format', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'hot-label', 'type' => 'text', 'title' => __('"HOT" Text', 'porto'), 'desc' => __('sticky post label', 'porto'), 'default' => ''), array('id' => 'post-zoom', 'type' => 'switch', 'title' => __('Slideshow Zoom Effect', 'porto'), 'default' => true, 'on' => __('Enable', 'porto'), 'off' => __('Disable', 'porto')), array('id' => 'post-metas', 'type' => 'button_set', 'title' => __('Post Meta', 'porto'), 'multi' => true, 'options' => array('date' => __('Date', 'porto'), 'author' => __('Author', 'porto'), 'cats' => __('Categories', 'porto'), 'tags' => __('Tags', 'porto'), 'comments' => __('Comments', 'porto'), '-' => 'None'), 'default' => array('date', 'author', 'cats', 'tags', 'comments', '-'))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Blog & Post Archives', 'porto'), 'fields' => array(array('id' => 'post-archive-layout', 'type' => 'image_select', 'title' => __('Page Layout', 'porto'), 'options' => $page_layouts, 'default' => 'right-sidebar'), array('id' => 'post-layout', 'type' => 'button_set', 'title' => __('Post Layout', 'porto'), 'options' => $porto_post_archive_layouts, 'default' => 'large'), array('id' => 'grid-columns', 'type' => 'button_set', 'title' => __('Grid Columns', 'porto'), 'required' => array('post-layout', 'equals', 'grid'), 'options' => array('2' => '2', '3' => '3', '4' => '4'), 'default' => '3'), array('id' => 'blog-infinite', 'type' => 'switch', 'title' => __('Enable Infinite Scroll', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'blog-excerpt', 'type' => 'switch', 'title' => __('Show Excerpt', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'blog-excerpt-length', 'type' => 'text', 'required' => array('blog-excerpt', 'equals', true), 'title' => __('Excerpt Length', 'porto'), 'desc' => __('The number of words', 'porto'), 'default' => '80'), array('id' => 'blog-excerpt-type', 'type' => 'button_set', 'required' => array('blog-excerpt', 'equals', true), 'title' => __('Excerpt Type', 'porto'), 'options' => array('text' => __('Text', 'porto'), 'html' => __('HTML', 'porto')), 'default' => 'text')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Blog', 'porto'), 'fields' => array(array('id' => 'blog-title', 'type' => 'text', 'title' => __('Page Title', 'porto'), 'default' => 'Blog'), array('id' => 'blog-banner_pos', 'type' => 'select', 'title' => __('Blog Banner Position', 'porto'), 'options' => $porto_banner_pos, 'default' => ""), array('id' => 'blog-footer_view', 'type' => 'select', 'title' => __('Blog Footer View', 'porto'), 'options' => $porto_footer_view, 'default' => ""), array('id' => 'blog-banner_type', 'type' => 'select', 'title' => __('Blog Banner Type', 'porto'), 'options' => $porto_banner_type, 'default' => ""), array('id' => 'blog-master_slider', 'type' => 'select', 'required' => array('blog-banner_type', 'equals', 'master_slider'), 'title' => __('Master Slider', 'porto'), 'options' => $porto_master_sliders, 'default' => ""), array('id' => 'blog-rev_slider', 'type' => 'select', 'required' => array('blog-banner_type', 'equals', 'rev_slider'), 'title' => __('Revolution Slider', 'porto'), 'options' => $porto_rev_sliders, 'default' => ""), array('id' => 'blog-banner_block', 'type' => 'editor', 'required' => array('blog-banner_type', 'equals', 'banner_block'), 'title' => __('Banner Block', 'porto'), 'desc' => __('You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.', 'porto')), array('id' => 'blog-content_top', 'type' => 'text', 'title' => __('Content Top', 'porto'), 'desc' => __('You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.', 'porto')), array('id' => 'blog-content_inner_top', 'type' => 'text', 'title' => __('Content Inner Top', 'porto'), 'desc' => __('You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.', 'porto')), array('id' => 'blog-content_inner_bottom', 'type' => 'text', 'title' => __('Content Inner Bottom', 'porto'), 'desc' => __('You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.', 'porto')), array('id' => 'blog-content_bottom', 'type' => 'text', 'title' => __('Content Bottom', 'porto'), 'desc' => __('You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.', 'porto'))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Single Post', 'porto'), 'fields' => array(array('id' => 'post-single-layout', 'type' => 'image_select', 'title' => __('Page Layout', 'porto'), 'options' => $page_layouts, 'default' => 'right-sidebar'), array('id' => 'post-content-layout', 'type' => 'button_set', 'title' => __('Post Layout', 'porto'), 'options' => $porto_post_single_layouts, 'default' => 'large'), array('id' => 'post-share', 'type' => 'switch', 'title' => __('Show Social Share Links', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'post-author', 'type' => 'switch', 'title' => __('Show Author Info', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'post-comments', 'type' => 'switch', 'title' => __('Show Comments', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'post-related', 'type' => 'switch', 'title' => __('Show Related Posts', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'post-related-image-size', 'type' => 'dimensions', 'title' => __('Related Posts Image Size', 'porto'), 'desc' => __('Please regenerate all the thumbnails in <strong>Tools > Regen.Thumbnails</strong> after save changes.', 'porto'), 'default' => array('width' => '450', 'height' => '231')), array('id' => 'post-related-style', 'type' => 'button_set', 'title' => __('Related Posts Style', 'porto'), 'options' => array('' => __('With Read More Link', 'porto'), 'style-2' => __('With Post Meta', 'porto'), 'style-3' => __('With Read More Button Link', 'porto'), 'style-4' => __('With Side Image', 'porto')), 'default' => ''), array('id' => 'post-related-btn-style', 'type' => 'button_set', 'title' => __('Related Posts Button Style', 'porto'), 'required' => array('post-related-style', 'equals', 'style-3'), 'options' => array('' => __('Normal', 'porto'), 'btn-borders' => __('Borders', 'porto')), 'default' => ''), array('id' => 'post-related-btn-size', 'type' => 'button_set', 'title' => __('Related Posts Button Color', 'porto'), 'required' => array('post-related-style', 'equals', 'style-3'), 'options' => array('' => __('Normal', 'porto'), 'btn-sm' => __('Small', 'porto'), 'btn-xs' => __('Extra Small', 'porto')), 'default' => ''), array('id' => 'post-related-btn-color', 'type' => 'button_set', 'title' => __('Related Posts Button Color', 'porto'), 'required' => array('post-related-style', 'equals', 'style-3'), 'options' => array('btn-default' => __('Default', 'porto'), 'btn-primary' => __('Primary', 'porto'), 'btn-secondary' => __('Secondary', 'porto'), 'btn-tertiary' => __('Tertiary', 'porto'), 'btn-quaternary' => __('Quaternary', 'porto'), 'btn-dark' => __('Dark', 'porto'), 'btn-light' => __('Light', 'porto')), 'default' => 'btn-default'), array('id' => 'post-related-count', 'type' => 'text', 'required' => array('post-related', 'equals', true), 'title' => __('Related Posts Count', 'porto'), 'desc' => __('If you want to show all the related posts, you should input "-1".', 'porto'), 'default' => '10'), array('id' => 'post-related-orderby', 'type' => 'button_set', 'required' => array('post-related', 'equals', true), 'title' => __('Related Posts Order by', 'porto'), 'options' => array('none' => __('None', 'porto'), 'rand' => __('Random', 'porto'), 'date' => __('Date', 'porto'), 'ID' => __('ID', 'porto'), 'modified' => __('Modified Date', 'porto'), 'comment_count' => __('Comment Count', 'porto')), 'default' => 'rand')));
     // Portfolio
     $this->sections[] = array('icon' => 'el-icon-picture', 'icon_class' => 'icon', 'title' => __('Portfolio', 'porto'), 'fields' => array(array('id' => 'enable-portfolio', 'type' => 'switch', 'title' => __('Portfolio Content Type', 'porto'), 'default' => true, 'on' => __('Enable', 'porto'), 'off' => __('Disable', 'porto')), array('id' => "portfolio-slug-name", 'type' => 'text', 'title' => __('Slug Name', 'porto'), 'description' => __('You should click <strong>"Save Changes"</strong> in <strong>Settings > Permalinks</strong> after save changes.', 'porto')), array('id' => "portfolio-name", 'type' => 'text', 'title' => __('Name', 'porto')), array('id' => "portfolio-singular-name", 'type' => 'text', 'title' => __('Singular Name', 'porto')), array('id' => "portfolio-cat-slug-name", 'type' => 'text', 'title' => __('Category Slug Name', 'porto'), 'description' => __('You should click <strong>"Save Changes"</strong> in <strong>Settings > Permalinks</strong> after save changes.', 'porto')), array('id' => "portfolio-skill-slug-name", 'type' => 'text', 'title' => __('Skill Slug Name', 'porto'), 'description' => __('You should click <strong>"Save Changes"</strong> in <strong>Settings > Permalinks</strong> after save changes.', 'porto')), array('id' => 'portfolio-zoom', 'type' => 'switch', 'title' => __('Slideshow Zoom Effect', 'porto'), 'default' => true, 'on' => __('Enable', 'porto'), 'off' => __('Disable', 'porto')), array('id' => 'portfolio-metas', 'type' => 'button_set', 'title' => __('Portfolio Meta', 'porto'), 'multi' => true, 'options' => array('like' => __('Like', 'porto'), 'date' => __('Date', 'porto'), 'cats' => __('Categories', 'porto'), 'skills' => __('Skills', 'porto'), 'client' => __('Client', 'porto'), '-' => 'None'), 'default' => array('like', 'date', 'cats', 'skills', 'client', '-'))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Portfolio Archives', 'porto'), 'fields' => array(array('id' => 'portfolio-title', 'type' => 'text', 'title' => __('Page Title', 'porto'), 'default' => 'Our <strong>Projects</strong>'), array('id' => 'portfolio-archive-layout', 'type' => 'image_select', 'title' => __('Page Layout', 'porto'), 'options' => $page_layouts, 'default' => 'fullwidth'), array('id' => 'portfolio-archive-sidebar', 'type' => 'select', 'title' => __('Select Sidebar', 'porto'), 'required' => array('portfolio-archive-layout', 'equals', $sidebars), 'data' => 'sidebars'), array('id' => 'portfolio-infinite', 'type' => 'switch', 'title' => __('Enable Infinite Scroll', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'portfolio-cat-orderby', 'type' => 'button_set', 'title' => __('Sort Categories Order By', 'porto'), 'options' => $porto_categories_orderby, 'default' => 'name'), array('id' => 'portfolio-cat-order', 'type' => 'button_set', 'title' => __('Sort Order for Categories', 'porto'), 'options' => $porto_categories_order, 'default' => 'asc'), array('id' => 'portfolio-layout', 'type' => 'button_set', 'title' => __('Portfolio Layout', 'porto'), 'options' => $porto_portfolio_archive_layouts, 'default' => 'grid'), array('id' => 'portfolio-grid-columns', 'type' => 'button_set', 'title' => __('Grid Columns', 'porto'), 'required' => array('portfolio-layout', 'equals', 'grid'), "desc" => __("Select the columns in <strong>grid mode</strong>.", 'porto'), 'options' => array("2" => __("2 Columns", 'porto'), "3" => __("3 Columns", 'porto'), "4" => __("4 Columns", 'porto'), "5" => __("5 Columns", 'porto'), "6" => __("6 Columns", 'porto')), 'default' => '4'), array('id' => 'portfolio-grid-view', 'type' => 'button_set', "title" => __("Grid View Type", 'porto'), 'required' => array('portfolio-layout', 'equals', 'grid'), "desc" => __("Select the view type in <strong>grid mode</strong>.", 'porto'), 'options' => array("default" => __("Default", 'porto'), "full" => __("Full Width", 'porto')), 'default' => 'default'), array('id' => 'portfolio-external-link', 'type' => 'switch', 'title' => __('Show External Link', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'portfolio-excerpt', 'type' => 'switch', 'title' => __('Show Excerpt', 'porto'), 'desc' => __('If yes, will be show the excerpt. If no, will be show the content.', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'portfolio-excerpt-length', 'type' => 'text', 'required' => array('portfolio-excerpt', 'equals', true), 'title' => __('Excerpt Length', 'porto'), 'desc' => __('The number of words', 'porto'), 'default' => '80')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Single Portfolio', 'porto'), 'fields' => array(array('id' => 'single-portfolio-title', 'type' => 'text', 'title' => __('Page Title', 'porto'), 'default' => 'Single Project'), array('id' => 'portfolio-single-layout', 'type' => 'image_select', 'title' => __('Page Layout', 'porto'), 'options' => $page_layouts, 'default' => 'fullwidth'), array('id' => 'portfolio-single-sidebar', 'type' => 'select', 'title' => __('Select Sidebar', 'porto'), 'required' => array('portfolio-single-layout', 'equals', $sidebars), 'data' => 'sidebars'), array('id' => 'portfolio-page-nav', 'type' => 'switch', 'title' => __('Show List & Prev/Next Navigation', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'portfolio-content-layout', 'type' => 'button_set', 'title' => __('Portfolio Layout', 'porto'), 'options' => $porto_portfolio_single_layouts, 'default' => 'medium'), array('id' => 'portfolio-share', 'type' => 'switch', 'title' => __('Show Social Share Links', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'portfolio-author', 'type' => 'switch', 'title' => __('Show Author Info', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'portfolio-comments', 'type' => 'switch', 'title' => __('Show Comments', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'portfolio-related', 'type' => 'switch', 'title' => __('Show Related Portfolios', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'portfolio-related-style', 'type' => 'button_set', 'title' => __('Related Portfolio Style', 'porto'), 'options' => array('' => __('With Space', 'porto'), 'full' => __('Without Space', 'porto')), 'default' => ''), array('id' => 'portfolio-related-count', 'type' => 'text', 'required' => array('portfolio-related', 'equals', true), 'title' => __('Related Portfolios Count', 'porto'), 'desc' => __('If you want to show all the related portfolios, you should input "-1".', 'porto'), 'default' => '10'), array('id' => 'portfolio-related-orderby', 'type' => 'button_set', 'required' => array('portfolio-related', 'equals', true), 'title' => __('Related Portfolios Order by', 'porto'), 'options' => array('none' => __('None', 'porto'), 'rand' => __('Random', 'porto'), 'date' => __('Date', 'porto'), 'ID' => __('ID', 'porto'), 'modified' => __('Modified Date', 'porto'), 'comment_count' => __('Comment Count', 'porto')), 'default' => 'rand')));
     // Member
     $this->sections[] = array('icon' => 'el-icon-user', 'icon_class' => 'icon', 'title' => __('Member', 'porto'), 'fields' => array(array('id' => 'enable-member', 'type' => 'switch', 'title' => __('Member Content Type', 'porto'), 'default' => true, 'on' => __('Enable', 'porto'), 'off' => __('Disable', 'porto')), array('id' => "member-slug-name", 'type' => 'text', 'title' => __('Slug Name', 'porto'), 'description' => __('You should click <strong>"Save Changes"</strong> in <strong>Settings > Permalinks</strong> after save changes.', 'porto')), array('id' => "member-name", 'type' => 'text', 'title' => __('Name', 'porto')), array('id' => "member-singular-name", 'type' => 'text', 'title' => __('Singular Name', 'porto')), array('id' => "member-cat-slug-name", 'type' => 'text', 'title' => __('Category Slug Name', 'porto'), 'description' => __('You should click <strong>"Save Changes"</strong> in <strong>Settings > Permalinks</strong> after save changes.', 'porto')), array('id' => 'member-zoom', 'type' => 'switch', 'title' => __('Slideshow Zoom Effect', 'porto'), 'default' => true, 'on' => __('Enable', 'porto'), 'off' => __('Disable', 'porto')), array('id' => 'member-social-target', 'type' => 'switch', 'title' => __('Show Social Page in Blank Page', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto'))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Member Archives', 'porto'), 'fields' => array(array('id' => 'member-title', 'type' => 'text', 'title' => __('Page Title', 'porto'), 'default' => 'Meet the <strong>Team</strong>'), array('id' => 'member-archive-layout', 'type' => 'image_select', 'title' => __('Page Layout', 'porto'), 'options' => $page_layouts, 'default' => 'fullwidth'), array('id' => 'member-archive-sidebar', 'type' => 'select', 'title' => __('Select Sidebar', 'porto'), 'required' => array('member-archive-layout', 'equals', $sidebars), 'data' => 'sidebars'), array('id' => 'member-infinite', 'type' => 'switch', 'title' => __('Enable Infinite Scroll', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'member-cat-orderby', 'type' => 'button_set', 'title' => __('Sort Categories Order By', 'porto'), 'options' => $porto_categories_orderby, 'default' => 'name'), array('id' => 'member-cat-order', 'type' => 'button_set', 'title' => __('Sort Order for Categories', 'porto'), 'options' => $porto_categories_order, 'default' => 'asc'), array('id' => 'member-view-type', 'type' => 'button_set', 'title' => __('View Type', 'porto'), 'default' => '', 'options' => array("" => __("Type 1", 'porto'), "2" => __("Type 2", 'porto'))), array('id' => 'member-external-link', 'type' => 'switch', 'title' => __('Show External Link', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'member-overview', 'type' => 'switch', 'title' => __('Show Overview', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'member-excerpt', 'type' => 'switch', 'title' => __('Show Overview Excerpt', 'porto'), 'required' => array('member-overview', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'member-excerpt-length', 'type' => 'text', 'required' => array('member-excerpt', 'equals', true), 'title' => __('Excerpt Length', 'porto'), 'desc' => __('The number of words', 'porto'), 'default' => '15')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Single Member', 'porto'), 'fields' => array(array('id' => 'member-single-layout', 'type' => 'image_select', 'title' => __('Page Layout', 'porto'), 'options' => $page_layouts, 'default' => 'fullwidth'), array('id' => 'member-single-sidebar', 'type' => 'select', 'title' => __('Select Sidebar', 'porto'), 'required' => array('member-single-layout', 'equals', $sidebars), 'data' => 'sidebars'), array('id' => 'member-related', 'type' => 'switch', 'title' => __('Show Related Members', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'member-related-count', 'type' => 'text', 'required' => array('member-related', 'equals', true), 'title' => __('Related Members Count', 'porto'), 'desc' => __('If you want to show all the related members, you should input "-1".', 'porto'), 'default' => '10'), array('id' => 'member-related-orderby', 'type' => 'button_set', 'required' => array('member-related', 'equals', true), 'title' => __('Related Members Order by', 'porto'), 'options' => array('none' => __('None', 'porto'), 'rand' => __('Random', 'porto'), 'date' => __('Date', 'porto'), 'ID' => __('ID', 'porto'), 'modified' => __('Modified Date', 'porto')), 'default' => 'rand')));
     // FAQ
     $this->sections[] = array('icon' => 'el-icon-question', 'icon_class' => 'icon', 'title' => __('FAQ', 'porto'), 'fields' => array(array('id' => 'enable-faq', 'type' => 'switch', 'title' => __('FAQ Content Type', 'porto'), 'default' => true, 'on' => __('Enable', 'porto'), 'off' => __('Disable', 'porto')), array('id' => "faq-slug-name", 'type' => 'text', 'title' => __('Slug Name', 'porto'), 'description' => __('You should click <strong>"Save Changes"</strong> in <strong>Settings > Permalinks</strong> after save changes.', 'porto')), array('id' => "faq-name", 'type' => 'text', 'title' => __('Name', 'porto')), array('id' => "faq-singular-name", 'type' => 'text', 'title' => __('Singular Name', 'porto')), array('id' => "faq-cat-slug-name", 'type' => 'text', 'title' => __('Category Slug Name', 'porto'), 'description' => __('You should click <strong>"Save Changes"</strong> in <strong>Settings > Permalinks</strong> after save changes.', 'porto')), array('id' => 'faq-title', 'type' => 'text', 'title' => __('Page Title', 'porto'), 'default' => 'Frequently Asked <strong>Questions</strong>'), array('id' => 'faq-cat-orderby', 'type' => 'button_set', 'title' => __('Sort Categories Order By', 'porto'), 'options' => $porto_categories_orderby, 'default' => 'name'), array('id' => 'faq-cat-order', 'type' => 'button_set', 'title' => __('Sort Order for Categories', 'porto'), 'options' => $porto_categories_order, 'default' => 'asc'), array('id' => 'faq-archive-layout', 'type' => 'image_select', 'title' => __('Page Layout', 'porto'), 'options' => $page_layouts, 'default' => 'fullwidth'), array('id' => 'faq-archive-sidebar', 'type' => 'select', 'title' => __('Select Sidebar', 'porto'), 'required' => array('faq-archive-layout', 'equals', $sidebars), 'data' => 'sidebars'), array('id' => 'faq-infinite', 'type' => 'switch', 'title' => __('Enable Infinite Scroll', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto'))));
     // 404
     $this->sections[] = array('icon' => 'el-icon-error', 'icon_class' => 'icon', 'title' => __('404 Error', 'porto'), 'fields' => array(array('id' => 'error-block', 'type' => 'text', 'title' => __('404 Error Links Block', 'porto'), 'desc' => __('Input static block slug name', 'porto'), 'default' => 'error-404')));
     // Woocommerce
     $this->sections[] = array('icon' => 'el-icon-shopping-cart', 'icon_class' => 'icon', 'title' => __('Woocommerce', 'porto'), 'fields' => array(array('id' => 'woo-show-rating', 'type' => 'switch', 'title' => __('Show Rating in Woocommerce Products Widget', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto'))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Product Archives', 'porto'), 'fields' => array(array('id' => 'product-archive-layout', 'type' => 'image_select', 'title' => __('Page Layout', 'porto'), 'options' => $page_layouts, 'default' => 'left-sidebar'), array('id' => 'category-ajax', 'type' => 'switch', 'title' => __('Enable Ajax Filter', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'category-item', 'type' => 'text', 'title' => __('Products per Page', 'porto'), 'desc' => __('Comma separated list of product counts.', 'porto'), 'default' => '12,24,36'), array('id' => 'category-view-mode', 'type' => 'button_set', 'title' => __('View Mode', 'porto'), 'options' => porto_ct_category_view_mode(), 'default' => ''), array('id' => 'category-mobile-filter', 'type' => 'switch', 'title' => __('Show Filter Panel on Mobile', 'porto'), 'desc' => __('Show filter panel for mobile category view with sidebar.', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'shop-product-cols', 'type' => 'button_set', 'title' => __('Shop Page Product Columns', 'porto'), 'options' => porto_ct_product_columns(), 'default' => '3'), array('id' => 'product-cols', 'type' => 'button_set', 'title' => __('Category Product Columns', 'porto'), 'options' => porto_ct_product_columns(), 'default' => '4'), array('id' => 'cat-view-type', 'type' => 'button_set', 'title' => __('Category View Type', 'porto'), 'default' => '', 'options' => array("" => __("Type 1", 'porto'), "2" => __("Type 2", 'porto'))), array('id' => 'category-image-hover', 'type' => 'switch', 'title' => __('Enable Image Hover Effect', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-stock', 'type' => 'switch', 'title' => __('Show "Out of stock" Status', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => '1', 'type' => 'info', 'title' => __('Add Links Options', 'porto'), 'notice' => false), array('id' => 'category-addlinks-convert', 'type' => 'switch', 'title' => __('Change "A" Tag to "SPAN" Tag', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'category-addlinks-pos', 'type' => 'button_set', 'title' => __('Add Links Position', 'porto'), 'desc' => __('Select position of add to cart, add to wishlist, quickview.', 'porto'), 'options' => array('outimage' => __('Out of Image', 'porto'), 'onimage' => __('On Image', 'porto'), 'wq_onimage' => __('Wishlist, Quick View On Image', 'porto')), 'default' => 'outimage'), array('id' => 'category-hover', 'type' => 'switch', 'title' => __('Enable Hover Effect', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-wishlist', 'type' => 'switch', 'title' => __('Show Wishlist', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-quickview', 'type' => 'switch', 'title' => __('Show Quick View', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-quickview-label', 'type' => 'text', 'required' => array('product-quickview', 'equals', true), 'title' => __('"Quick View" Text', 'porto'), 'default' => '')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Single Product', 'porto'), 'fields' => array(array('id' => 'product-single-layout', 'type' => 'image_select', 'title' => __('Page Layout', 'porto'), 'options' => $page_layouts, 'default' => 'right-sidebar'), array('id' => 'product-nav', 'type' => 'switch', 'title' => __('Show Prev/Next Product', 'porto'), 'desc' => __('Will be show in breadcrumbs', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-short-desc', 'type' => 'switch', 'title' => __('Show Short Description', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => "product-custom-tabs-count", 'type' => 'text', 'title' => __('Custom Tabs Count', 'porto'), 'default' => '2'), array('id' => 'product-tabs', 'type' => 'button_set', 'title' => __('Tabs Type', 'porto'), 'options' => array('default' => __('Horizontal', 'porto'), 'vertical' => __('Vertical', 'porto'), 'accordion' => __('Accordion', 'porto')), 'default' => 'default'), array('id' => 'product-tabs-pos', 'type' => 'button_set', 'title' => __('Tabs Position', 'porto'), 'options' => array('' => __('Default', 'porto'), 'below' => __('Below Price & Short Description', 'porto')), 'default' => ''), array('id' => 'product-metas', 'type' => 'button_set', 'title' => __('Product Meta', 'porto'), 'multi' => true, 'options' => array('sku' => __('SKU', 'porto'), 'cats' => __('Categories', 'porto'), 'tags' => __('Tags', 'porto'), '-' => 'None'), 'default' => array('sku', 'cats', 'tags', '-')), array('id' => "product-tab-title", 'type' => 'text', 'title' => __('Global Product Custom Tab Title', 'porto'), 'default' => ''), array('id' => "product-tab-block", 'type' => 'text', 'title' => __('Global Product Custom Tab Block', 'porto'), 'desc' => __('Input block slug name', 'porto'), 'default' => ''), array('id' => 'product-related', 'type' => 'switch', 'title' => __('Show Related Products', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-related-count', 'type' => 'text', 'required' => array('product-related', 'equals', true), 'title' => __('Related Products Count', 'porto'), 'default' => '10'), array('id' => 'product-related-cols', 'type' => 'button_set', 'required' => array('product-related', 'equals', true), 'title' => __('Related Product Columns', 'porto'), 'options' => porto_ct_related_product_columns(), 'default' => '4'), array('id' => 'product-upsells', 'type' => 'switch', 'title' => __('Show Up Sells', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-upsells-count', 'type' => 'text', 'required' => array('product-upsells', 'equals', true), 'title' => __('Up Sells Count', 'porto'), 'default' => '10'), array('id' => 'product-upsells-cols', 'type' => 'button_set', 'required' => array('product-upsells', 'equals', true), 'title' => __('Up Sells Product Columns', 'porto'), 'options' => porto_ct_related_product_columns(), 'default' => '4'), array('id' => 'product-hot', 'type' => 'switch', 'title' => __('Show "Hot" Label', 'porto'), 'desc' => __('Will be show in the featured product.', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-hot-label', 'type' => 'text', 'required' => array('product-hot', 'equals', true), 'title' => __('"Hot" Text', 'porto'), 'default' => ''), array('id' => 'product-sale', 'type' => 'switch', 'title' => __('Show "Sale" Label', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-sale-label', 'type' => 'text', 'required' => array('product-sale', 'equals', true), 'title' => __('"Sale" Text', 'porto'), 'default' => ''), array('id' => 'product-sale-percent', 'type' => 'switch', 'required' => array('product-sale', 'equals', true), 'title' => __('Show Saved Sale Price Percentage', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-share', 'type' => 'switch', 'title' => __('Show Social Share Links', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto'))));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Product Image & Zoom', 'porto'), 'fields' => array(array('id' => 'product-thumbs', 'type' => 'switch', 'title' => __('Show Thumbnails', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-zoom', 'type' => 'switch', 'title' => __('Enable Image Zoom', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-image-popup', 'type' => 'switch', 'title' => __('Enable Image Popup', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'zoom-type', 'type' => 'button_set', 'title' => __('Zoom Type', 'porto'), 'options' => array('inner' => __('Inner', 'porto'), 'lens' => __('Lens', 'porto')), 'default' => 'inner'), array('id' => 'zoom-scroll', 'type' => 'switch', 'required' => array('zoom-type', 'equals', array('lens')), 'title' => __('Scroll Zoom', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'zoom-lens-size', 'type' => 'text', 'required' => array('zoom-type', 'equals', array('lens')), 'title' => __('Lens Size', 'porto'), 'default' => '200'), array('id' => 'zoom-lens-shape', 'type' => 'button_set', 'required' => array('zoom-type', 'equals', array('lens')), 'title' => __('Lens Shape', 'porto'), 'options' => array('round' => __('Round', 'porto'), 'square' => __('Square', 'porto')), 'default' => 'square'), array('id' => 'zoom-contain-lens', 'type' => 'switch', 'required' => array('zoom-type', 'equals', array('lens')), 'title' => __('Contain Lens Zoom', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'zoom-lens-border', 'type' => 'text', 'required' => array('zoom-type', 'equals', array('lens')), 'title' => __('Lens Border', 'porto'), 'default' => true), array('id' => 'zoom-border', 'type' => 'text', 'required' => array('zoom-type', 'equals', array('lens')), 'title' => __('Border Size', 'porto'), 'default' => '4'), array('id' => 'zoom-border-color', 'type' => 'color', 'required' => array('zoom-type', 'equals', array('lens')), 'title' => __('Border Color', 'porto'), 'default' => '#888888')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Cart Page', 'porto'), 'fields' => array(array('id' => 'product-crosssell', 'type' => 'switch', 'title' => __('Show Cross Sells', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'product-crosssell-count', 'type' => 'text', 'required' => array('product-crosssell', 'equals', true), 'title' => __('Cross Sells Count', 'porto'), 'default' => '8')));
     $this->sections[] = array('icon_class' => 'icon', 'subsection' => true, 'title' => __('Catalog Mode', 'porto'), 'fields' => array(array('id' => 'catalog-enable', 'type' => 'switch', 'title' => __('Enable Catalog Mode', 'porto'), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'catalog-price', 'type' => 'switch', 'title' => __('Show Price', 'porto'), 'default' => false, 'required' => array('catalog-enable', 'equals', true), 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'catalog-cart', 'type' => 'switch', 'title' => __('Show Add Cart Button', 'porto'), 'default' => false, 'required' => array('catalog-enable', 'equals', true), 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'catalog-readmore', 'type' => 'switch', 'title' => __('Show Read More Button', 'porto'), 'default' => false, 'required' => array('catalog-cart', 'equals', false), 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'catalog-readmore-target', 'type' => 'button_set', 'title' => __('Read More Button Target', 'porto'), 'required' => array('catalog-readmore', 'equals', true), 'options' => array('' => __('Self', 'porto'), '_blank' => __('Blank', 'porto')), 'default' => ''), array('id' => 'catalog-readmore-label', 'type' => 'text', 'required' => array('catalog-readmore', 'equals', true), 'title' => __('Read More Button Label', 'porto'), 'default' => 'Read More'), array('id' => 'catalog-review', 'type' => 'switch', 'title' => __('Show Reviews', 'porto'), 'default' => false, 'required' => array('catalog-enable', 'equals', true), 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'catalog-admin', 'type' => 'switch', 'title' => __('Enable also for administrators', 'porto'), 'default' => true, 'required' => array('catalog-enable', 'equals', true), 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto'))));
     // BBPress & BuddyPress
     $this->sections[] = array('icon' => 'el-icon-book', 'icon_class' => 'icon', 'title' => __('BBPress & BuddyPress', 'porto'), 'fields' => array(array('id' => 'bb-layout', 'type' => 'image_select', 'title' => __('Page Layout', 'porto'), 'options' => $page_layouts, 'default' => 'fullwidth'), array('id' => 'bb-sidebar', 'type' => 'select', 'title' => __('Select Sidebar', 'porto'), 'required' => array('bb-layout', 'equals', $sidebars), 'data' => 'sidebars')));
     // Social Share
     $this->sections[] = array('icon' => 'el-icon-share-alt', 'icon_class' => 'icon', 'title' => __('Social Share', 'porto'), 'fields' => array(array('id' => 'share-enable', 'type' => 'switch', 'title' => __('Show Social Links', 'porto'), 'desc' => __('Show social links in post and product pages', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-nofollow', 'type' => 'switch', 'title' => __('Add rel="nofollow" to social links', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-facebook', 'type' => 'switch', 'title' => __('Enable Facebook Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-twitter', 'type' => 'switch', 'title' => __('Enable Twitter Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-linkedin', 'type' => 'switch', 'title' => __('Enable LinkedIn Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-googleplus', 'type' => 'switch', 'title' => __('Enable Google + Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-pinterest', 'type' => 'switch', 'title' => __('Enable Pinterest Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-email', 'type' => 'switch', 'title' => __('Enable Email Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-vk', 'type' => 'switch', 'title' => __('Enable VK Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-xing', 'type' => 'switch', 'title' => __('Enable Xing Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-tumblr', 'type' => 'switch', 'title' => __('Enable Tumblr Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-reddit', 'type' => 'switch', 'title' => __('Enable Reddit Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'share-whatsapp', 'type' => 'switch', 'title' => __('Enable WhatsApp Share', 'porto'), 'required' => array('share-enable', 'equals', true), 'default' => false, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto'))));
     // Slider Config
     $this->sections[] = array('icon' => 'el-icon-picture', 'icon_class' => 'icon', 'title' => __('Slider Config', 'porto'), 'fields' => array(array('id' => 'slider-autoplay', 'type' => 'switch', 'title' => __('Auto Play', 'porto'), 'default' => true, 'on' => __('Yes', 'porto'), 'off' => __('No', 'porto')), array('id' => 'slider-speed', 'type' => 'text', 'title' => __('Play Speed', 'porto'), 'required' => array('slider-autoplay', 'equals', true), 'desc' => __('unit: millisecond', 'porto'), 'default' => 5000)));
 }