Файловый менеджер - Редактировать - /home/avadvi5/public_html/wp-content/themes/tophub-child/inc/default-setting.php
Ðазад
<?php /** * Class for the Custom Theme * * @package code4rest */ namespace Code4rest\Default_Setting; use Code4rest\Theme_Customizer; use function Code4rest\code4rest; use Code4rest_Blocks_Frontend; use Code4rest\Component_Interface; use Code4rest\Templating_Component_Interface; use Code4rest\Code4rest_CSS; use LearnDash_Settings_Section; use function Code4rest\get_webfont_url; use function Code4rest\print_webfont_preload; use function add_action; use function add_filter; use function wp_enqueue_style; use function wp_register_style; use function wp_style_add_data; use function get_theme_file_uri; use function get_theme_file_path; use function wp_styles; use function esc_attr; use function esc_url; use function wp_style_is; use function _doing_it_wrong; use function wp_print_styles; use function post_password_required; use function is_singular; use function comments_open; use function get_comments_number; use function apply_filters; use function add_query_arg; use function wp_add_inline_style; /** * Main plugin class */ class Custom_Theme { /** * Instance Control * * @var null */ private static $instance = null; /** * Holds theme array sections. * * @var the theme settings sections. */ private $update_options = array(); /** * Holds default palette values * * @var values of the theme settings. */ protected static $default_palette = null; /** * Instance Control. */ public static function get_instance() { if ( is_null( self::$instance ) ) { self::$instance = new self(); } return self::$instance; } /** * Throw error on object clone. * * The whole idea of the singleton design pattern is that there is a single * object therefore, we don't want the object to be cloned. * * @return void */ public function __clone() { // Cloning instances of the class is forbidden. _doing_it_wrong( __FUNCTION__, esc_html__( 'Cloning instances of the class is Forbidden', 'code4rest' ), '1.0' ); } /** * Disable un-serializing of the class. * * @return void */ public function __wakeup() { // Unserializing instances of the class is forbidden. _doing_it_wrong( __FUNCTION__, esc_html__( 'Unserializing instances of the class is forbidden', 'code4rest' ), '1.0' ); } /** * Constructor function. */ public function __construct() { add_filter( 'code4rest_theme_options_defaults', array( $this, 'add_option_defaults' ), 10 ); add_filter( 'code4rest_global_palette_defaults', array( $this, 'add_color_option_defaults' ), 50 ); add_filter( 'code4rest_addons_theme_options_defaults', array( $this, 'add_addon_option_defaults' ), 10 ); add_filter( 'code4rest_dynamic_css', array( $this, 'child_dynamic_css' ), 30 ); } public function child_dynamic_css( $css ) { $generated_css = $this->generate_child_css(); if ( ! empty( $generated_css ) ) { $css .= "\n/* Base Pro Header CSS */\n" . $generated_css; } return $css; } public function generate_child_css () { $css = new Code4rest_CSS(); $css->set_selector( '.primary-sidebar.widget-area .widget-title, .widget_block h2,.widget_block .widgettitle,.widget_block .widgettitle,.primary-sidebar h2' ); $css->render_font( code4rest()->option( 'sidebar_widget_title' ), $css ); return $css->css_output(); } /** * set child theme Default color. */ public function add_color_option_defaults( $defaults ) { if ( is_null( self::$default_palette ) ) { self::$default_palette = '{"palette":[{"color":"#ffffff","slug":"palette1","name":"Palette Color 1"}, {"color":"#34B31B","slug":"palette2","name":"Palette Color 2"}, {"color":"#9BAC3E","slug":"palette3","name":"Palette Color 3"}, {"color":"#36922C","slug":"palette4","name":"Palette Color 4"}, {"color":"#0F1418","slug":"palette5","name":"Palette Color 5"}, {"color":"#e5e5e5","slug":"palette6","name":"Palette Color 6"}, {"color":"#070D12","slug":"palette7","name":"Palette Color 7"}, {"color":"#070D12","slug":"palette8","name":"Palette Color 8"}, {"color":"#ffffff","slug":"palette9","name":"Palette Color 9"}], "second-palette":[{"color":"#2B6CB0","slug":"palette1","name":"Palette Color 1"},{"color":"#215387","slug":"palette2","name":"Palette Color 2"},{"color":"#1A202C","slug":"palette3","name":"Palette Color 3"},{"color":"#2D3748","slug":"palette4","name":"Palette Color 4"},{"color":"#4A5568","slug":"palette5","name":"Palette Color 5"},{"color":"#718096","slug":"palette6","name":"Palette Color 6"},{"color":"#EDF2F7","slug":"palette7","name":"Palette Color 7"},{"color":"#F7FAFC","slug":"palette8","name":"Palette Color 8"},{"color":"#ffffff","slug":"palette9","name":"Palette Color 9"}], "third-palette":[{"color":"#2B6CB0","slug":"palette1","name":"Palette Color 1"},{"color":"#215387","slug":"palette2","name":"Palette Color 2"},{"color":"#1A202C","slug":"palette3","name":"Palette Color 3"},{"color":"#2D3748","slug":"palette4","name":"Palette Color 4"},{"color":"#4A5568","slug":"palette5","name":"Palette Color 5"},{"color":"#718096","slug":"palette6","name":"Palette Color 6"},{"color":"#EDF2F7","slug":"palette7","name":"Palette Color 7"},{"color":"#F7FAFC","slug":"palette8","name":"Palette Color 8"},{"color":"#ffffff","slug":"palette9","name":"Palette Color 9"}],"active":"palette"}'; } return self::$default_palette; } public function add_option_defaults( $defaults ) { $update_options = array( 'content_width' => array( 'size' => 1348, 'unit' => 'px', ), 'content_narrow_width' => array( 'size' => 1200, 'unit' => 'px', ), 'boxed_shadow' => array( 'color' => 'rgba(0,0,0,0.05)', 'hOffset' => 0, 'vOffset' => 0, 'blur' => 0, 'spread' => 0, 'inset' => false, ), 'boxed_border_radius' => array( 'size' => array( '0', '0', '0', '0' ), 'unit' => 'px', 'locked' => true, ), 'boxed_grid_shadow' => array( 'color' => 'rgba(0,0,0,0)', 'hOffset' => 0, 'vOffset' => 0, 'blur' => 0, 'spread' => 0, 'inset' => false, ), 'boxed_grid_border_radius' => array( 'size' => array( '0', '0', '0', '0' ), 'unit' => 'px', 'locked' => true, ), 'content_background' => array( 'desktop' => array( 'color' => 'palette8', ), ), 'content_spacing' => array( 'size' => array( 'mobile' => 4, 'tablet' => 6, 'desktop' => 9.3, ), 'unit' => array( 'mobile' => 'em', 'tablet' => 'em', 'desktop' => 'em', ), ), // Sidebar. 'sidebar_widget_title' => array( 'size' => array( 'desktop' => 24, ), 'lineHeight' => array( 'desktop' => 1.5, ), 'letterSpacing' => array( 'desktop' => 0, ), 'family' => 'inherit', 'google' => false, 'weight' => '500', 'variant' => '500', 'color' => 'palette1', 'transform' => 'uppercase' ), 'sidebar_widget_content' => array( 'size' => array( 'desktop' => '16', ), 'lineHeight' => array( 'desktop' => '0', ), 'letterSpacing' => array( 'desktop' => 0, ), 'family' => 'inherit', 'google' => false, 'weight' => '400', 'variant' => '400', 'color' => 'palette1', 'transform' => 'capitalize' ), 'sidebar_link_colors' => array( 'color' => 'palette1', 'hover' => 'palette2', ), 'sidebar_sticky' => true, 'sidebar_sticky_last_widget' => false, // Links. // Scroll To Top. 'scroll_up_icon' => 'arrow-up', 'scroll_up_color' => array( 'color' => 'palette9', 'hover' => '', ), 'scroll_up_border_colors' => array( 'color' => '', 'hover' => '', ), 'scroll_up_border' => array( 'width' => '', 'unit' => 'px', 'style' => 'solid', 'color' => 'palette6', ), 'scroll_up_radius' => array( 'size' => array( 0, 0, 0, 0 ), 'unit' => 'px', 'locked' => true, ), 'scroll_up_icon_size' => array( 'size' => array( 'mobile' => '', 'tablet' => '', 'desktop' => 1.25, ), 'unit' => array( 'mobile' => 'em', 'tablet' => 'em', 'desktop' => 'em', ), ), 'scroll_up_bottom_offset' => array( 'size' => array( 'mobile' => '', 'tablet' => '', 'desktop' => 30, ), ), 'scroll_up_visiblity' => array( 'desktop' => true, 'tablet' => true, 'mobile' => true, ), // Buttons. 'buttons_border' => array( 'desktop' => array( 'width' => '0', 'unit' => 'px', 'style' => 'solid', 'color' => 'palette2', ), ), 'buttons_border_radius' => array( 'size' => array( 'mobile' => '0', 'tablet' => '0', 'desktop' => '0', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), 'buttons_typography' => array( 'size' => array( 'desktop' => '14', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '500', 'variant' => '500', 'transform' => 'capitalize', ), 'buttons_padding' => array( 'size' => array( 'desktop' => array( '15', '50', '15', '50' ), ), 'unit' => array( 'desktop' => 'px', ), 'locked' => array( 'desktop' => false, ), ), 'buttons_shadow' => array( 'color' => 'rgba(0,0,0,0)', 'hOffset' => 0, 'vOffset' => 0, 'blur' => 0, 'spread' => 0, 'inset' => false, ), 'buttons_shadow_hover' => array( 'color' => 'rgba(0,0,0,0)', 'hOffset' => 0, 'vOffset' => 0, 'blur' => 0, 'spread' => 0, 'inset' => false, ), 'buttons_background' => array( 'color' => '', 'hover' => '', ), 'buttons_border_colors' => array( 'color' => 'palette2', 'hover' => '', ), // Typography. 'font_rendering' => false, 'base_font' => array( 'size' => array( 'desktop' => 16, ), 'lineHeight' => array( 'desktop' => 1.6, ), 'letterSpacing' => array( 'desktop' => 0, ), 'family' => 'DM Sans, sans-serif', 'google' => false, 'weight' => '400', 'variant' => '400', 'color' => 'palette1', 'transform' => 'capitalize', ), 'load_base_italic' => false, 'google_subsets' => array(), 'load_fonts_local' => false, 'preload_fonts_local' => true, 'heading_font' => array( 'family' => 'inherit', ), 'h1_font' => array( 'size' => array( 'desktop' => 45, ), 'lineHeight' => array( 'desktop' => 1.5, ), 'letterSpacing' => array( 'desktop' => '', ), 'family' => 'oswald, sans-serif', 'google' => false, 'weight' => '700', 'variant' => '700', 'color' => 'palette1', 'transform' => 'uppercase', ), 'h2_font' => array( 'size' => array( 'desktop' => 40, ), 'lineHeight' => array( 'desktop' => 1.5, ), 'letterSpacing' => array( 'desktop' => '', ), 'family' => 'oswald, sans-serif', 'google' => false, 'weight' => '700', 'variant' => '700', 'color' => 'palette1', 'transform' => 'uppercase', ), 'h3_font' => array( 'size' => array( 'desktop' => 24, ), 'lineHeight' => array( 'desktop' => 1.5, ), 'letterSpacing' => array( 'desktop' => 'uppercase', ), 'family' => 'oswald, sans-serif', 'google' => false, 'weight' => '500', 'variant' => '500', 'color' => 'palette1', 'transform' => 'uppercase', ), 'h4_font' => array( 'size' => array( 'desktop' => 16, ), 'lineHeight' => array( 'desktop' => 1.5, ), 'family' => 'DM Sans, sans-serif', 'google' => false, 'weight' => '400', 'variant' => '400', 'color' => 'palette3', 'transform' => 'capitalize', ), 'h5_font' => array( 'size' => array( 'desktop' => 15, ), 'lineHeight' => array( 'desktop' => 1.5, ), 'family' => 'DM Sans, sans-serif', 'google' => false, 'weight' => '400', 'variant' => '400', 'color' => 'palette1', 'transform' => 'capitalize', ), 'h6_font' => array( 'size' => array( 'desktop' => 14, ), 'lineHeight' => array( 'desktop' => 1.5, ), 'family' => 'DM Sans, sans-serif', 'google' => false, 'weight' => '400', 'variant' => '400', 'color' => 'palette1', 'transform' => 'capitalize', ), 'title_above_font' => array( 'size' => array( 'desktop' => '70', 'tablet' => '60', 'mobile' => '30', ), 'lineHeight' => array( 'desktop' => '80', 'tablet' => '70', 'mobile' => '40', ), 'lineType' => 'px', 'letterSpacing' => array( 'desktop' => '0', ), 'family' => 'inherit', 'google' => false, 'weight' => '700', 'variant' => '700', 'transform' => 'uppercase', 'color' => 'palette1', ), 'title_above_breadcrumb_font' => array( 'size' => array( 'desktop' => '16', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '400', 'variant' => '400', 'color' => 'palette1', ), 'google_subsets' => array( 'latin-ext' => false, 'cyrillic' => false, 'cyrillic-ext' => false, 'greek' => false, 'greek-ext' => false, 'vietnamese' => false, 'arabic' => false, 'khmer' => false, 'chinese' => false, 'chinese-simplified' => false, 'tamil' => false, 'bengali' => false, 'devanagari' => false, 'hebrew' => false, 'korean' => false, 'thai' => false, 'telugu' => false, ), 'header_mobile_switch' => array( 'size' => '', 'unit' => 'px', ), // Header. 'header_desktop_items' => array( 'top' => array( 'top_left' => array(), 'top_left_center' => array(), 'top_center' => array(), 'top_right_center' => array(), 'top_right' => array(), ), 'main' => array( 'main_left' => array( 'logo' ), 'main_left_center' => array(), 'main_center' => array( 'navigation' ), 'main_right_center' => array(), 'main_right' => array( 'button' ), ), 'bottom' => array( 'bottom_left' => array(), 'bottom_left_center' => array(), 'bottom_center' => array(), 'bottom_right_center' => array(), 'bottom_right' => array(), ), ), 'header_wrap_background' => array( 'desktop' => array( 'color' => 'palette3', ), ), // Header Main. 'header_main_height' => array( 'size' => array( 'mobile' => '70', 'tablet' => '70', 'desktop' => '90', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), 'header_main_layout' => array( 'mobile' => '', 'tablet' => '', 'desktop' => 'standard', ), 'header_main_background' => array( 'desktop' => array( 'color' => 'palette5', ), ), 'header_top_bottom_border' => array( 'desktop' => array( 'width' => '0', 'unit' => 'px', 'style' => 'solid', 'color' => '#2b2b2b', ), ), 'header_main_bottom_border' => array( 'desktop' => array( 'width' => '0', 'unit' => 'px', 'style' => 'solid', 'color' => '#D6CDCB', ), ), 'header_main_padding' => array( 'size' => array( 'tablet' => array( '', '20', '', '20' ), 'desktop' => array( '', '', '', '' ), ), 'unit' => array( 'tablet' => 'px', 'desktop' => 'px', ), 'locked' => array( 'tablet' => false, 'desktop' => false, ), ), // Header Top. 'header_top_height' => array( 'size' => array( 'mobile' => '', 'tablet' => 45, 'desktop' => 50, ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), 'header_top_background' => array( 'desktop' => array( 'color' => 'palette2', ), ), 'header_top_padding' => array( 'size' => array( 'mobile' => array( '10', '0', '', '0' ), 'tablet' => array( '', '30', '', '30' ), 'desktop' => array( '', '50', '', '50' ), ), 'unit' => array( 'tablet' => 'px', 'desktop' => 'px', ), 'locked' => array( 'tablet' => false, 'desktop' => false, ), ), 'header_top_bottom_border' => array( 'width' => 0, 'unit' => 'px', 'style' => 'solid', 'color' => 'currentColor', ), // Header Bottom. 'header_bottom_background' => array( 'desktop' => array( 'color' => '#fff', ), ), 'header_bottom_layout' => array( 'mobile' => '', 'tablet' => '', 'desktop' => 'fullwidth', ), 'header_bottom_height' => array( 'size' => array( 'mobile' => '', 'tablet' => '', 'desktop' => 0, ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => '90px', ), ), // Mobile Header. 'mobile_button_label' => __( 'Get A Quote', 'code4rest' ), 'mobile_button_style' => 'filled', 'mobile_button_size' => 'medium', 'mobile_button_visibility' => 'all', 'mobile_button_typography' => array( 'size' => array( 'desktop' => '15', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'DM Sans, sans-serif', 'google' => false, 'weight' => '400', 'variant' => '400', ), 'mobile_button_color' => array( 'color' => '', 'hover' => '', ), 'mobile_button_background' => array( 'color' => '', 'hover' => '', ), 'mobile_button_radius' => array( 'size' => array( '0', '0', '0', '0' ), 'unit' => 'px', 'locked' => true, ), 'header_mobile_items' => array( 'popup' => array( 'popup_content' => array( 'mobile-navigation' ), ), 'top' => array( 'top_left' => array(), 'top_center' => array(), 'top_right' => array(), ), 'main' => array( 'main_left' => array( 'mobile-logo' ), 'main_center' => array(), 'main_right' => array( 'popup-toggle' ), ), 'bottom' => array( 'bottom_left' => array(), 'bottom_center' => array(), 'bottom_right' => array(), ), ), // Logo. 'logo_width' => array( 'size' => array( 'mobile' => '130', 'tablet' => '150', 'desktop' => '175', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), 'header_logo_padding' => array( 'size' => array( 'desktop' => array( '', '', '', '' ), ), 'unit' => array( 'desktop' => 'px', ), 'locked' => array( 'desktop' => false, ), ), // Navigation. 'primary_navigation_typography' => array( 'size' => array( 'desktop' => '16', ), 'lineHeight' => array( 'desktop' => '', ), 'letterSpacing' => array( 'desktop' => '0', ), 'family' => 'DM sans, sans-serif', 'google' => false, 'weight' => '500', 'variant' => '500', 'transform' => 'capitalize', ), 'primary_navigation_style' => 'fullheight', 'primary_navigation_color' => array( 'color' => 'palette9', 'hover' => 'palette9', 'active' => 'palette9', ), 'primary_navigation_spacing' => array( 'size' => 2.5, 'unit' => 'em', ), // Secondary Navigation. 'secondary_navigation_spacing' => array( 'size' => 1.60, 'unit' => 'em', ), 'secondary_navigation_color' => array( 'color' => 'palette9', 'hover' => 'palette9', 'active' => 'palette9', ), 'secondary_navigation_typography' => array( 'size' => array( 'desktop' => '15', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'DM Sans, sans-serif', 'google' => false, 'weight' => '400', 'variant' => '400', 'transform' => 'capitalize', ), 'secondary_navigation_vertical_spacing' => array( 'size' => 0, 'unit' => 'em', ), // Dropdown. 'dropdown_navigation_color' => array( 'color' => 'palette9', 'hover' => 'palette9', 'active' => 'palette9', ), 'dropdown_navigation_background' => array( 'color' => 'palette3', 'hover' => 'palette4', 'active' => 'palette4', ), 'dropdown_navigation_typography' => array( 'size' => array( 'desktop' => 16, ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '500', 'variant' => '500', 'transform' => 'capitalize', ), 'dropdown_navigation_divider' => array( 'width' => 1, 'unit' => 'px', 'style' => 'solid', 'color' => '#b4c550', ), 'dropdown_navigation_vertical_spacing' => array( 'size' => 1.07, 'unit' => 'em', ), // Mobile Trigger. 'mobile_trigger_color' => array( 'color' => 'palette1', 'hover' => 'palette2', ), 'mobile_trigger_padding' => array( 'size' => array( '0', '0', '0', '0' ), 'unit' => 'em', 'locked' => false, ), // Mobile Navigation. 'mobile_navigation_color' => array( 'color' => 'palette9', 'hover' => 'palette2', 'active' => 'palette2', ), 'mobile_navigation_typography' => array( 'size' => array( 'desktop' => 16, ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '500', 'variant' => '500', 'transform' => 'capitalize' ), // Header Popup. 'header_popup_close_color' => array( 'color' => 'palette9', 'hover' => 'palette2', ), 'header_popup_background' => array( 'desktop' => array( 'color' => 'palette5', ), 'tablet' => array( 'color' => 'palette5', ), 'mobile' => array( 'color' => 'palette5', ), ), // Header HTML. 'header_html_content' => __( 'Follow Us : ' , 'code4rest' ), 'header_html_typography' => array( 'size' => array( 'desktop' => '16', ), 'lineHeight' => array( 'desktop' => '', ), 'letterSpacing' => array( 'desktop' => '', ), 'family' => 'jost', 'google' => false, 'weight' => '400', 'variant' => '400', 'color' => 'palette1', 'transform' => 'capitalize', ), 'header_html_margin' => array( 'size' => array( '', '', '', '' ), 'unit' => 'px', 'locked' => false, ), // HTML2 'header_html2_content' => __( '10 West 32nd Street, UK', 'code4rest-pro' ), 'header_html2_wpautop' => true, 'header_html2_typography' => array( 'size' => array( 'desktop' => '12', ), 'lineHeight' => array( 'desktop' => '', ), 'letterSpacing' => array( 'desktop' => 0.1, ), 'family' => 'inherit', 'google' => false, 'weight' => '500', 'variant' => '500', 'color' => 'palette7', 'transform' => 'uppercase', ), 'header_html2_link_style' => 'normal', 'header_html2_link_color' => array( 'color' => '', 'hover' => '', ), 'header_html2_margin' => array( 'size' => array( '', '', '', '30' ), 'unit' => 'px', 'locked' => false, ), // Mobile HTML. // HTML3 // Mobile HTML. 'header_mobile_contact_margin' => array( 'size' => array( '', '25', '', '' ), 'unit' => 'px', 'locked' => false, ), // Header Button. 'header_button_label' => __( 'Contact Us' , 'code4rest' ), 'header_button_link' => 'contact-us', 'header_button_style' => 'filled', 'header_button_size' => 'custom', 'header_button_visibility' => 'all', 'header_button_padding' => array( 'size' => array( '13', '32', '13', '32' ), 'unit' => 'px', 'locked' => false, ), 'header_button_typography' => array( 'size' => array( 'desktop' => '16', ), 'lineHeight' => array( 'desktop' => '', ), 'letterSpacing' => array( 'desktop' => 0, ), 'family' => 'DM sans, sans-serif', 'google' => false, 'weight' => '700', 'variant' => '700', 'transform' => 'capitalize', ), 'header_button_radius' => array( 'size' => array( '', '', '', '' ), 'unit' => 'px', 'locked' => true, ), 'header_button_shadow' => array( 'color' => 'rgba(0,0,0,0)', 'hOffset' => 0, 'vOffset' => 0, 'blur' => 0, 'spread' => 0, 'inset' => false, ), 'header_button_shadow_hover' => array( 'color' => 'rgba(0,0,0,0)', 'hOffset' => 0, 'vOffset' => 0, 'blur' => 0, 'spread' => 0, 'inset' => false, ), 'header_button_margin' => array( 'size' => array( '', '', '', '' ), 'unit' => 'px', 'locked' => false, ), 'header_button_color' => array( 'color' => 'palette9', 'hover' => 'palette9', ), 'header_button_background' => array( 'color' => 'palette2', 'hover' => 'palette1', ), 'header_button_border_colors' => array( 'color' => 'palette2', 'hover' => '', ), 'header_button_border' => array( 'width' => '0', 'unit' => 'px', 'style' => 'solid', 'color' => 'palette2' ), // Header Social. 'header_social_items' => array( 'items' => array( array( 'id' => 'facebook', 'enabled' => true, 'source' => 'icon', 'url' => '', 'imageid' => '', 'width' => 24, 'icon' => 'facebookAlt2', 'label' => 'facebook', ), array( 'id' => 'twitter', 'enabled' => true, 'source' => 'icon', 'url' => '', 'imageid' => '', 'width' => 24, 'icon' => 'twitter', 'label' => 'twitter', ), array( 'id' => 'instagram', 'enabled' => true, 'source' => 'icon', 'url' => '', 'imageid' => '', 'width' => 24, 'icon' => 'instagramAlt', 'label' => 'instagram', ), ), ), 'header_social_style' => 'outline', 'header_social_show_label' => false, 'header_social_item_spacing' => array( 'size' => 0.33, 'unit' => 'em', ), 'header_social_icon_size' => array( 'size' => 18, 'unit' => 'px', ), 'header_social_brand' => '', 'header_social_color' => array( 'color' => 'palette9', 'hover' => 'palette9', ), 'header_social_background' => array( 'color' => '', 'hover' => '', ), 'header_social_border_colors' => array( 'color' => '', 'hover' => '', ), 'header_social_border' => array( 'width' => 2, 'unit' => 'px', 'style' => 'none', ), 'header_social_border_radius' => array( 'size' => 3, 'unit' => 'px', ), 'header_social_typography' => array( 'size' => array( 'desktop' => '16', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'Jost', 'google' => false, 'weight' => '400', 'variant' => '400', 'transform' => 'uppercase', ), 'header_social_margin' => array( 'size' => array( '', '', '', '' ), 'unit' => 'px', 'locked' => false, ), // Mobile Header Social. // Header Search. 'header_search_color' => array( 'color' => 'palette1', 'hover' => 'palette9', ), 'header_search_margin' => array( 'size' => array( '', '', '', '' ), 'unit' => 'em', 'locked' => false, ), 'header_search_padding' => array( 'size' => array( '18', '18', '18', '18' ), 'unit' => 'px', 'locked' => false, ), 'header_search_background' => array( 'color' => '#ffecec', 'hover' => 'palette2', ), // Mobile Header Button. 'mobile_button_shadow' => array( 'color' => 'rgba(0,0,0,0)', 'hOffset' => 0, 'vOffset' => 0, 'blur' => 0, 'spread' => 0, 'inset' => false, ), 'mobile_button_shadow_hover' => array( 'color' => 'rgba(0,0,0,0.1)', 'hOffset' => 0, 'vOffset' => 0, 'blur' => 0, 'spread' => 0, 'inset' => false, ), // Mobile Header HTML. 'mobile_html_content' => __( 'Mon - Sat 8:00 17:30, Sunday - CLOSED', 'code4rest' ), 'mobile_html_typography' => array( 'size' => array( 'desktop' => '15', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '400', 'variant' => '400', 'color' => 'palette9', 'transform' => 'capitalize', ), 'mobile_html_link_color' => array( 'color' => '', 'hover' => '', ), 'mobile_html_margin' => array( 'size' => array( '', '', '', '25' ), 'unit' => 'px', 'locked' => false, ), 'mobile_html_link_style' => 'normal', 'mobile_html_wpautop' => true, // Transparent Header. 'transparent_header_enable' => true, 'transparent_header_device' => array( 'desktop' => true, 'mobile' => false, ), // Sticky Header. 'mobile_header_sticky' => 'main', 'mobile_header_sticky_shrink' => true, 'mobile_header_reveal_scroll_up' => false, 'mobile_header_sticky_main_shrink' => array( 'size' => 70, 'unit' => 'px', ), 'header_sticky' => 'main', 'header_sticky_custom_logo' => true, 'header_reveal_scroll_up' => false, 'header_sticky_shrink' => true, 'header_sticky_background' => array( 'desktop' => array( 'color' => 'palette8', ), ), 'header_sticky_main_shrink' => array( 'size' => 70, 'unit' => 'px', ), 'header_sticky_bottom_border' => array( 'desktop' => array( 'width' => '1', 'unit' => 'px', 'style' => 'solid', 'color' => 'palette6', ), ), 'header_sticky_navigation_color' => array( 'color' => 'palette9', 'hover' => '', 'active' => '', ), 'header_sticky_button_color' => array( 'color' => 'palette9', 'hover' => 'palette9', 'background' => 'linear-gradient(to right, #36922C 0%, #9BAC3E 100%)', 'backgroundHover' => 'linear-gradient(to left, #36922C 0%, #9BAC3E 100%)', 'border' => 'palette6', 'borderHover' => '', ), 'header_sticky_logo_width' => array( 'size' => array( 'mobile' => '130', 'tablet' => '150', 'desktop' => '175', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), 'header_sticky_social_color' => array( 'color' => 'palette1', 'hover' => '', 'background' => '', 'backgroundHover' => '', 'border' => '', 'borderHover' => '', ), // Footer. 'footer_items' => array( 'top' => array( 'top_1' => array(), 'top_2' => array(), 'top_3' => array(), 'top_4' => array(), 'top_5' => array(), ), 'middle' => array( 'middle_1' => array( 'footer-widget1', 'footer-social' ), 'middle_2' => array( 'footer-widget2' ), 'middle_3' => array( 'footer-widget3' ), 'middle_4' => array( 'footer-widget4' ), 'middle_5' => array(), ), 'bottom' => array( 'bottom_1' => array( 'footer-html' ), 'bottom_2' => array(), 'bottom_3' => array(), 'bottom_4' => array(), 'bottom_5' => array(), ), ), 'footer_wrap_background' => array( 'desktop' => array( 'color' => '', ), ), // Footer Top. 'footer_top_column_spacing' => array( 'size' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '90', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), 'footer_top_widget_spacing' => array( 'size' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '0', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), 'footer_top_top_spacing' => array( 'size' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '7.1', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'em', ), ), 'footer_top_bottom_spacing' => array( 'size' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '50', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), 'footer_top_columns' => '1', 'footer_top_layout' => array( 'mobile' => 'row', 'tablet' => '', 'desktop' => 'right-golden', ), 'footer_top_background' => array( 'desktop' => array( 'color' => '', ), ), 'footer_top_widget_title' => array( 'size' => array( 'desktop' => '20', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'transform' => 'capitalize', 'google' => false, 'weight' => '500', 'variant' => '500', 'color' => 'palette9', ), 'footer_top_widget_content' => array( 'size' => array( 'desktop' => '15', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '400', 'variant' => '400', 'color' => '#cccccc', ), 'footer_top_link_colors' => array( 'color' => '#cccccc', 'hover' => '#cccccc', ), // Footer Middle. 'footer_middle_height' => array( 'size' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), 'footer_middle_top_spacing' => array( 'size' => array( 'mobile' => '30', 'tablet' => '50', 'desktop' => '60', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), 'footer_middle_bottom_spacing' => array( 'size' => array( 'mobile' => '30', 'tablet' => '50', 'desktop' => '60', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), 'footer_middle_column_spacing' => array( 'size' => array( 'mobile' => '20', 'tablet' => '50', 'desktop' => '3.13', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'em', ), ), 'footer_middle_columns' => '4', 'footer_middle_background' => array( 'desktop' => array( 'color' => '', ), ), 'footer_middle_bottom_border' => array(), 'footer_middle_column_border' => array( 'desktop' => array( 'width' => 0, 'unit' => 'px', 'style' => 'solid', 'color' => 'palette1', 'transform' => 'capitalize', ), ), 'footer_middle_widget_title' => array( 'size' => array( 'desktop' => '24', ), 'lineHeight' => array( 'desktop' => '', ), 'letterSpacing' => array( 'desktop' => '0', ), 'family' => 'oswald', 'transform' => 'capitalize', 'google' => false, 'weight' => '500', 'variant' => '500', 'color' => 'palette1', ), 'footer_middle_widget_content' => array( 'size' => array( 'desktop' => '16', ), 'lineHeight' => array( 'desktop' => '2', ), 'letterSpacing' => array( 'desktop' => 0, ), 'family' => 'inherit', 'google' => false, 'weight' => '400', 'variant' => '400', 'color' => 'palette1', 'transform' => 'capitalize', ), 'footer_middle_link_colors' => array( 'color' => 'palette1', 'hover' => 'palette8', ), 'footer_middle_widget_spacing' => array( 'size' => array( 'mobile' => '0', 'tablet' => '10', 'desktop' => '20', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), 'footer_middle_layout' => array( 'mobile' => 'row', 'tablet' => 'two-grid', 'desktop' => 'left-forty', ), 'footer_middle_direction' => array( 'mobile' => '', 'tablet' => '', 'desktop' => 'column', ), 'footer_middle_link_style' => 'noline', 'footer_middle_top_border' => array( 'desktop' => array( 'width' => 0, 'unit' => 'px', 'style' => 'solid', 'color' => 'palette1', 'transform' => 'capitalize', ), ), 'footer_middle_contain' => array( 'mobile' => '', 'tablet' => '', 'desktop' => 'standard', ), // Footer Bottom. 'footer_bottom_columns' => '1', 'footer_bottom_layout' => array( 'mobile' => 'row', 'tablet' => '', 'desktop' => 'left-golden', ), 'footer_bottom_background' => array( 'desktop' => array( 'color' => '', ), ), 'footer_bottom_contain' => array( 'mobile' => '', 'tablet' => '', 'desktop' => 'contained', ), 'footer_bottom_widget_title' => array( 'size' => array( 'desktop' => '15', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'transform' => 'capitalize', 'google' => false, 'weight' => '500', 'variant' => '500', 'color' => 'palette9', ), 'footer_bottom_top_border' => array( 'desktop' => array( 'width' => 1, 'unit' => 'px', 'style' => 'solid', 'color' => '#e5e5e542', ), ), 'footer_bottom_widget_content' => array( 'size' => array( 'desktop' => '16', ), 'lineHeight' => array( 'desktop' => '', ), 'letterSpacing' => array( 'desktop' => '0', ), 'family' => 'inherit', 'google' => false, 'weight' => '400', 'variant' => '400', 'color' => 'palette7', ), 'footer_bottom_widget_content_color' => array( 'color' => 'palette7', 'hover' => '', ), 'footer_bottom_top_spacing' => array( 'size' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), 'footer_bottom_bottom_spacing' => array( 'size' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), 'footer_bottom_height' => array( 'size' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '88', ), ), // Footer Navigation. 'footer_navigation_typography' => array( 'size' => array( 'desktop' => '15', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '400', 'variant' => '400', 'transform' => 'capitalize' ), 'footer_navigation_spacing' => array( 'size' => 3.5, 'unit' => 'em', ), 'footer_navigation_vertical_spacing' => array( 'size' => 0, 'unit' => 'em', ), 'footer_navigation_stretch' => false, 'footer_navigation_style' => 'standard', 'footer_navigation_color' => array( 'color' => 'palette4', 'hover' => 'palette2', 'active' => 'palette4', ), 'footer_navigation_background' => array( 'color' => '', 'hover' => '', 'active' => '', ), 'footer_navigation_align' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '', ), // Footer Social. 'footer_social_align' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '', ), 'footer_social_items' => array( 'items' => array( array( 'id' => 'facebook', 'enabled' => true, 'source' => 'icon', 'url' => '', 'imageid' => '', 'width' => 24, 'icon' => 'facebookAlt2', 'label' => 'Facebook', ), array( 'id' => 'twitter', 'enabled' => true, 'source' => 'icon', 'url' => '', 'imageid' => '', 'width' => 24, 'icon' => 'twitter', 'label' => 'Twitter', ), array( 'id' => 'instagram', 'enabled' => true, 'source' => 'icon', 'url' => '', 'imageid' => '', 'width' => 24, 'icon' => 'instagramAlt', 'label' => 'Instagram', ), array( 'id' => 'youtube', 'enabled' => true, 'source' => 'icon', 'url' => '', 'imageid' => '', 'width' => 24, 'icon' => 'youtube', 'label' => 'youtube', ), ), ), 'footer_social_style' => 'outline', 'footer_social_show_label' => false, 'footer_social_item_spacing' => array( 'size' => 0, 'unit' => 'em', ), 'footer_social_icon_size' => array( 'size' => 20, 'unit' => 'px', ), 'footer_social_brand' => '', 'footer_social_color' => array( 'color' => 'palette9', 'hover' => 'palette8', ), 'footer_social_background' => array( 'color' => '', 'hover' => '', ), 'footer_social_margin' => array( 'size' => array( '', '', '', '' ), 'unit' => 'px', 'locked' => false, ), 'footer_social_border_colors' => array( 'color' => '', 'hover' => '', ), 'footer_social_border' => array( 'width' => 0, 'unit' => 'px', 'style' => 'solid', 'color' => '' ), 'footer_social_border_radius' => array( 'size' => 50, 'unit' => 'px', ), 'footer_social_vertical_align' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '', ), // Footer Widget 1. 'footer_widget1_align' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '', ), 'footer_widget1_vertical_align' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '', ), // Footer Widget 2. 'footer_widget2_align' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '', ), 'footer_widget2_vertical_align' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '', ), // Footer Widget 3. 'footer_widget3_align' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '', ), 'footer_widget3_vertical_align' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '', ), // Footer Widget 4. 'footer_widget4_align' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '', ), 'footer_widget4_vertical_align' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '', ), // Footer Widget 5. // Footer Widget 6. 'footer_widget6_vertical_align' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '', ), // Footer HTML. 'footer_html_content' => '{copyright} {year} - All Rights Reserved | Created By Code4rest', 'footer_html_typography' => array( 'size' => array( 'desktop' => '16', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '400', 'variant' => '400', 'color' => 'palette6', ), 'footer_html_link_color' => array( 'color' => '', 'hover' => '', ), 'footer_html_link_style' => 'normal', 'footer_html_margin' => array( 'size' => array( '', '', '','' ), 'unit' => 'em', 'locked' => true, ), 'footer_html_align' => array( 'mobile' => '', 'tablet' => 'center', 'desktop' => '', ), 'footer_html_vertical_align' => array( 'mobile' => '', 'tablet' => '', 'desktop' => 'middle', ), // Comments. // 404. // Page Layout. 'page_title_meta_font' => array( 'size' => array( 'desktop' => '15', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '400', 'variant' => '400', ), 'page_title_font' => array( 'size' => array( 'desktop' => '70', 'tablet' => '60', 'mobile' => '35', ), 'lineHeight' => array( 'desktop' => '80', 'tablet' => '70', 'mobile' => '45', ), 'lineType' => 'px', 'family' => 'inherit', 'google' => false, 'weight' => '700', 'variant' => '700', 'color' => 'palette1', 'transform' => 'uppercase' ), 'page_title_breadcrumb_color' => array( 'color' => 'palette1', 'hover' => 'palette2', ), 'page_layout' => 'normal', 'page_title_background' => array( 'desktop' => array( 'color' => '#F2E7E5', ), ), 'page_title_breadcrumb_font' => array( 'size' => array( 'desktop' => '16', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '400', 'variant' => '400', 'color' => '', ), 'page_title_height' => array( 'size' => array( 'mobile' => '200', 'tablet' => '300', 'desktop' => 400, ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), // Post Layout. 'post_content_style' => 'boxed', 'post_comments' => true, 'post_title_font' => array( 'size' => array( 'desktop' => '62', 'tablet' => '50', 'mobile' => '26', ), 'lineHeight' => array( 'desktop' => '72', 'tablet' => '60', 'mobile' => '36', ), 'lineType' => 'px', 'letterSpacing' => array( 'desktop' => '0', ), 'family' => 'inherit', 'google' => false, 'variant' => '700', 'weight' => '700', 'color' => 'palette1', 'transform' => 'uppercase' ), 'post_title_excerpt_font' => array( 'size' => array( 'desktop' => '15', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '500', 'variant' => '500', ), 'post_title_element_meta' => array( 'id' => 'meta', 'enabled' => true, 'divider' => 'vline', 'author' => true, 'authorLink' => true, 'authorImage' => true, 'authorImageSize' => 25, 'authorEnableLabel' => true, 'authorLabel' => '', 'date' => true, 'dateTime' => false, 'dateEnableLabel' => false, 'dateLabel' => '', 'dateUpdated' => false, 'dateUpdatedTime' => false, 'dateUpdatedDifferent' => false, 'dateUpdatedEnableLabel' => false, 'dateUpdatedLabel' => '', 'categories' => false, 'categoriesEnableLabel' => false, 'categoriesLabel' => '', 'comments' => true, 'commentsCondition' => false, ), 'post_title_align' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '', ), 'post_related_background' => '', 'post_tags' => true, 'post_author_box' => false, 'post_author_box_style' => 'normal', 'post_author_box_link' => true, 'post_feature' => true, 'post_feature_position' => 'behind', 'post_feature_caption' => false, 'post_feature_ratio' => '1-2', 'post_feature_width' => 'full', 'post_background' => '', 'post_content_background' => '', 'post_title' => true, 'post_title_layout' => 'normal', 'post_title_category_font' => array( 'size' => array( 'desktop' => '16', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '400', 'variant' => '400', 'color' => 'palette2', 'transform' => 'capitalize' ), 'post_title_category_color' => array( 'color' => 'palette8', 'hover' => '', ), // enable_preload css style sheets. 'breadcrumb_home_icon' => true, // Post Archive. 'post_archive_title_color' => array( 'color' => 'palette1', ), 'post_archive_layout' => 'left', 'post_archive_content_style' => 'unboxed', 'post_archive_columns' => '2', 'post_archive_item_image_placement' => 'beside', 'post_archive_item_vertical_alignment' => 'center', 'post_archive_sidebar_id' => 'sidebar-primary', 'post_archive_elements' => array( 'feature', 'categories', 'meta', 'title', 'excerpt', 'readmore' ), 'post_archive_element_categories' => array( 'enabled' => false, 'style' => 'normal', 'divider' => 'vline', ), 'post_archive_title_height' => array( 'size' => array( 'mobile' => '200', 'tablet' => '300', 'desktop' => '400', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), 'post_archive_element_title' => array( 'enabled' => true, ), 'post_archive_element_meta' => array( 'id' => 'meta', 'enabled' => true, 'divider' => 'vline', 'author' => false, 'authorLink' => false, 'authorImage' => false, 'authorImageSize' => 25, 'authorEnableLabel' => true, 'authorLabel' => '', 'date' => true, 'dateTime' => false, 'dateEnableLabel' => false, 'dateLabel' => '', 'dateUpdated' => false, 'dateUpdatedTime' => false, 'dateUpdatedDifferent' => false, 'dateUpdatedEnableLabel' => false, 'dateUpdatedLabel' => '', 'categories' => false, 'categoriesEnableLabel' => false, 'categoriesLabel' => '', 'comments' => false, 'commentsCondition' => false, ), 'post_archive_element_feature' => array( 'enabled' => true, 'ratio' => '1-2', 'size' => 'medium_large', 'imageLink' => true, ), 'post_archive_element_excerpt' => array( 'enabled' => true, 'words' => 15, 'fullContent' => false, ), 'post_archive_item_meta_font' => array( 'size' => array( 'desktop' => '16', ), 'lineHeight' => array( 'desktop' => '', ), 'letterSpacing' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '700', 'variant' => '700', 'transform' => 'uppercase', ), 'post_archive_item_title_font' => array( 'size' => array( 'desktop' => '24', ), 'lineHeight' => array( 'desktop' => '1.6', ), 'letterSpacing' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '500', 'variant' => '500', 'color' => 'palette2', 'transform' => 'uppercase', ), 'post_archive_item_category_font' => array( 'size' => array( 'desktop' => '16', ), 'lineHeight' => array( 'desktop' => '', ), 'letterSpacing' => array( 'desktop' => '0.1', ), 'family' => 'jost', 'google' => false, 'variant' => '500', 'weight' => '500', ), 'post_archive_item_meta_color' => array( 'color' => 'palette9', 'hover' => 'palette2', ), 'post_archive_title_breadcrumb_color' => array( 'color' => 'palette1', 'hover' => 'palette2', ), 'post_archive_title_overlay_color' => array( 'color' => 'palette3', ), // Search Results. 'search_archive_title' => true, 'search_archive_title_layout' => 'above', 'search_archive_title_inner_layout' => 'standard', 'search_archive_title_height' => array( 'size' => array( 'mobile' => '200', 'tablet' => '300', 'desktop' => '400', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), ), 'search_archive_title_background' => array( 'desktop' => array( 'color' => 'palette1', ), ), 'search_archive_title_align' => array( 'mobile' => '', 'tablet' => '', 'desktop' => 'center', ), 'search_archive_title_overlay_color' => array( 'color' => '', ), 'search_archive_title_breadcrumb_color' => array( 'color' => '', 'hover' => '', ), 'search_archive_title_color' => array( 'color' => 'palette9', ), 'search_archive_description_color' => array( 'color' => '', 'hover' => '', ), 'search_archive_layout' => 'normal', 'search_archive_content_style' => 'unboxed', 'search_archive_columns' => '3', 'search_archive_item_image_placement' => 'above', 'search_archive_sidebar_id' => 'sidebar-primary', 'search_archive_elements' => array( 'feature', 'categories', 'title', 'meta', 'excerpt', 'readmore' ), 'search_archive_element_categories' => array( 'enabled' => true, 'style' => 'normal', 'divider' => 'vline', ), 'search_archive_element_title' => array( 'enabled' => true, ), 'search_archive_element_meta' => array( 'id' => 'meta', 'enabled' => true, 'divider' => 'dot', 'author' => true, 'authorLink' => true, 'authorImage' => false, 'authorImageSize' => 25, 'authorEnableLabel' => true, 'authorLabel' => '', 'date' => true, 'dateTime' => false, 'dateEnableLabel' => false, 'dateLabel' => '', 'dateUpdated' => false, 'dateUpdatedTime' => false, 'dateUpdatedDifferent' => false, 'dateUpdatedEnableLabel' => false, 'dateUpdatedLabel' => '', 'categories' => false, 'categoriesEnableLabel' => false, 'categoriesLabel' => '', 'comments' => false, 'commentsCondition' => false, ), 'search_archive_element_feature' => array( 'enabled' => true, 'ratio' => 'inherit', 'size' => 'medium_large', ), 'search_archive_element_excerpt' => array( 'enabled' => true, 'words' => 16, 'fullContent' => false, ), 'search_archive_element_readmore' => array( 'enabled' => true, 'label' => '', ), 'search_archive_item_title_font' => array( 'size' => array( 'desktop' => '24', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '500', 'variant' => '500', 'transform' => 'uppercase', ), 'search_archive_item_category_color' => array( 'color' => '', 'hover' => '', ), 'search_archive_item_category_font' => array( 'size' => array( 'desktop' => '13', ), 'lineHeight' => array( 'desktop' => '', ), 'letterSpacing' => array( 'desktop' => '0', ), 'family' => 'inter', 'google' => false, 'weight' => '400', 'variant' => '400', 'transform' => 'capitalize', ), 'search_archive_item_meta_color' => array( 'color' => 'palette2', 'hover' => '', ), 'search_archive_item_meta_font' => array( 'size' => array( 'desktop' => '13', ), 'lineHeight' => array( 'desktop' => '', ), 'letterSpacing' => array( 'desktop' => '0.2', ), 'family' => 'inherit', 'google' => false, 'weight' => '400', 'variant' => '400', 'transform' => 'uppercase', ), 'search_archive_background' => '', 'search_archive_content_background' => '', 'search_archive_column_layout' => 'grid', // Product Archive Controls. 'product_archive_layout' => 'narrow', 'product_archive_title_font' => array( 'size' => array( 'desktop' => '26', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '500', 'variant' => '500', 'color' => 'palette1', ), // Archive Product Button. // Product Controls. 'custom_quantity' => true, 'product_layout' => 'narrow', 'product_content_elements' => array( 'category', 'title', 'rating', 'price', 'excerpt', 'add_to_cart', 'extras', 'payments', 'product_meta', 'share' ), 'product_content_element_category' => array( 'enabled' => true, ), 'product_content_element_title' => array( 'enabled' => true, ), 'product_content_element_rating' => array( 'enabled' => true, ), 'product_content_element_price' => array( 'enabled' => true, 'show_shipping' => true, 'shipping_statement' => __( '& Free Shipping', 'code4rest' ), ), 'product_content_element_excerpt' => array( 'enabled' => true, ), 'product_content_element_add_to_cart' => array( 'enabled' => true, 'button_size' => 'medium-large', ), 'product_content_element_extras' => array( 'enabled' => true, 'title' => __( 'Free shipping on orders over $50!', 'code4rest' ), 'feature_1' => __( 'Satisfaction Guaranteed', 'code4rest' ), 'feature_2' => __( 'No Hassle Refunds', 'code4rest' ), 'feature_3' => __( 'Secure Payments', 'code4rest' ), 'feature_4' => '', 'feature_5' => '', 'feature_1_icon' => 'checkbox_alt', 'feature_2_icon' => 'checkbox_alt', 'feature_3_icon' => 'checkbox_alt', 'feature_4_icon' => 'checkbox_alt', 'feature_5_icon' => 'checkbox_alt', ), 'product_content_element_payments' => array( 'enabled' => true, 'title' => __( 'GUARANTEED SAFE CHECKOUT', 'code4rest' ), 'visa' => true, 'mastercard' => true, 'amex' => true, 'discover' => true, 'paypal' => true, 'applepay' => true, 'stripe' => true, 'card_color' => 'inherit', 'custom_enable_01' => false, 'custom_img_01' => '', 'custom_id_01' => '', 'custom_enable_02' => false, 'custom_img_02' => '', 'custom_id_02' => '', 'custom_enable_03' => false, 'custom_img_03' => '', 'custom_id_03' => '', 'custom_enable_04' => false, 'custom_img_04' => '', 'custom_id_04' => '', 'custom_enable_05' => false, 'custom_img_05' => '', 'custom_id_05' => '', ), 'product_title_font' => array( 'size' => array( 'desktop' => '55', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '600', 'variant' => '600', 'color' => 'palette1', ), 'product_title_breadcrumb_font' => array( 'size' => array( 'desktop' => '15', ), 'lineHeight' => array( 'desktop' => '1.5', ), 'family' => 'inherit', 'google' => false, 'weight' => '400', 'variant' => '400', 'color' => 'palette1', ), // Store Notice: // Woo Account // Heroic Knowledge Base. // Header Cart. 'header_cart_style' => 'dropdown', 'header_cart_icon' => '', 'header_cart_icon_size' => array( 'size' => '0', 'unit' => 'px', ), 'header_cart_color' => array( 'color' => 'palette1', 'hover' => 'palette1', ), 'header_cart_background' => array( 'color' => '', 'hover' => '', ), 'header_cart_total_color' => array( 'color' => 'palette9', 'hover' => 'palette9', ), 'header_cart_total_background' => array( 'color' => 'palette2', 'hover' => 'palette2', ), 'header_cart_typography' => array( 'size' => array( 'desktop' => '13', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '600', 'variant' => '600', 'transform' => 'uppercase', ), 'header_cart_padding' => array( 'size' => array( '' , '', '', '' ), 'unit' => 'em', 'locked' => false, ), // Mobile Header Cart. 'header_mobile_cart_label' => '', 'header_mobile_cart_show_total' => false, 'header_mobile_cart_style' => 'link', 'header_mobile_cart_popup_side' => 'right', 'header_mobile_cart_icon' => 'shopping-bag', 'header_mobile_cart_icon_size' => array( 'size' => '', 'unit' => 'em', ), 'header_mobile_cart_color' => array( 'color' => '', 'hover' => '', ), 'header_mobile_cart_background' => array( 'color' => '', 'hover' => '', ), 'header_mobile_cart_total_color' => array( 'color' => '', 'hover' => '', ), 'header_mobile_cart_total_background' => array( 'color' => '', 'hover' => '', ), 'header_mobile_cart_typography' => array( 'size' => array( 'desktop' => '', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '', 'variant' => '', ), 'header_mobile_cart_padding' => array( 'size' => array( '', '', '', '' ), 'unit' => 'em', 'locked' => false, ), // LifterLMS Course // LifterLMS Lesson // LifterLMS Quiz // LifterLMS Quiz // LifterLMS Archive // LifterLMS Member Archive // Dashboard Layout // Learn Dash Course Grid. // Learn Dash Course Archive. // Learn Dash Course // Learndash Lessons. // Learndash Quiz. // Learndash Topics. // Learn Dash Groups // Learn Dash essays // Learndash Assignment. // MISC // ----------- PRO ----------- // Header Mobile Divider. 'header_mobile_divider_border' => array( 'width' => 1, 'unit' => 'px', 'style' => 'solid', 'color' => 'palette6', ), 'header_mobile_divider_height' => array( 'size' => 20, 'unit' => 'px', ), 'header_mobile_divider_margin' => array( 'size' => array( '', '5', '', '5' ), 'unit' => 'px', 'locked' => false, ), 'transparent_header_mobile_divider_color' => array( 'color' => '', ), // Header Mobile Divider 2. 'header_mobile_divider2_border' => array( 'width' => 1, 'unit' => 'px', 'style' => 'solid', 'color' => 'palette6', ), 'header_mobile_divider2_height' => array( 'size' => 20, 'unit' => 'px', ), 'header_mobile_divider2_margin' => array( 'size' => array( '', '5', '', '5' ), 'unit' => 'px', 'locked' => false, ), 'transparent_header_mobile_divider2_color' => array( 'color' => '', ), // pro Header Search Bar. 'header_search_bar_width' => array( 'size' => '284', 'unit' => 'px', ), 'header_search_bar_border' => array( 'width' => '0', 'unit' => '', 'style' => '', 'color' => '', ), 'header_search_bar_color' => array( 'color' => 'palette9', 'hover' => 'palette9', ), 'header_search_bar_background' => array( 'color' => 'transparent', 'hover' => '', ), 'header_search_bar_typography' => array( 'size' => array( 'desktop' => '15', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '400', 'variant' => '400', 'color' => 'palette9', ), 'header_search_bar_margin' => array( 'size' => array( '', '', '', '' ), 'unit' => 'em', 'locked' => true, ), // pro Mobile HTML. 'header_account_preview' => 'in', 'header_account_icon' => 'account', 'header_account_link' => '', 'header_account_action' => 'link', 'header_account_dropdown_direction' => 'right', 'header_account_modal_registration' => true, 'header_account_modal_registration_link' => '', 'header_account_label' => __( 'Login', 'code4rest-pro' ), 'header_account_icon_size' => array( 'size' => '1.2', 'unit' => 'em', ), 'header_account_color' => array( 'color' => '', 'hover' => '', ), 'header_account_background' => array( 'color' => '', 'hover' => '', ), 'header_account_radius' => array( 'size' => array( '', '', '', '' ), 'unit' => 'px', 'locked' => true, ), 'header_account_typography' => array( 'size' => array( 'desktop' => '', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '', 'variant' => '', 'color' => '', ), 'header_account_padding' => array( 'size' => array( '0.6', '0', '0.6', '0' ), 'unit' => 'em', 'locked' => true, ), 'header_account_margin' => array( 'size' => array( '', '', '', '' ), 'unit' => 'px', 'locked' => false, ), 'header_account_in_icon' => 'account', 'header_account_in_link' => '', 'header_account_in_action' => 'link', 'header_account_in_dropdown_source' => 'navigation', 'header_account_in_dropdown_direction' => 'right', 'header_account_in_style' => 'label', 'header_account_in_label' => __( 'Account', 'code4rest-pro' ), 'header_account_in_icon_size' => array( 'size' => '23', 'unit' => 'px', ), 'header_account_in_typography' => array( 'size' => array( 'desktop' => '13', ), 'lineHeight' => array( 'desktop' => '', ), 'family' => 'inherit', 'google' => false, 'weight' => '600', 'variant' => '600', 'color' => 'palette1', 'transform' => 'uppercase', ), 'header_account_in_margin' => array( 'size' => array( '', '', '', '' ), 'unit' => 'px', 'locked' => false, ), // pro Widget Toggle. 'header_toggle_widget_icon_size' => array( 'size' => 25, 'unit' => 'px', ), 'header_toggle_widget_color' => array( 'color' => 'palette9', 'hover' => 'palette9', ), 'header_toggle_widget_background' => array( 'color' => 'palette1', 'hover' => '', ), 'header_toggle_widget_layout' => 'fullwidth', 'header_toggle_widget_padding' => array( 'size' => array( 2.7, 3.9, 2.7, 3.9 ), 'unit' => 'em', 'locked' => false, ), // pro Header Divider. 'header_divider_height' => array( 'size' => 22, 'unit' => 'px', ), 'header_divider_margin' => array( 'size' => array( '0', '30', '0', '30' ), 'unit' => 'px', 'locked' => false, ), 'header_divider_border' => array( 'width' => 1, 'unit' => 'px', 'style' => 'solid', 'color' => '#f04a4a', ), // pro Header Divider2. 'header_divider2_border' => array( 'width' => 1, 'unit' => 'px', 'style' => 'solid', 'color' => 'palette6', ), 'header_divider2_height' => array( 'size' => 20, 'unit' => 'px', ), 'header_divider2_margin' => array( 'size' => array( '', '5', '', '5' ), 'unit' => 'px', 'locked' => false, ), 'transparent_header_divider2_color' => array( 'color' => '', ), // pro Header contact 'header_contact_items' => array( 'items' => array( array( 'id' => 'location', 'enabled' => true, 'source' => 'icon', 'url' => '', 'imageid' => '', 'width' => 15, 'link' => '', 'icon' => 'locationAlt', 'label' => '12,street,chicago,newyork city.', ), ), ), 'header_contact_color' => array( 'color' => 'palette2', 'hover' => 'palette2', ), 'header_contact_item_spacing'=> array( 'size' => 32, 'unit' => 'px', ), 'header_contact_icon_size' => array( 'size' => 15, 'unit' => 'px', ), 'header_contact_typography' => array( 'size' => array( 'mobile' => '', 'tablet' => '', 'desktop' => '15', ), 'unit' => array( 'mobile' => 'px', 'tablet' => 'px', 'desktop' => 'px', ), 'lineheight' => array( 'mobile' => 1.2, 'tablet' => 1.2, 'desktop' => 1.2, ), 'unit' => array( 'mobile' => 'em', 'tablet' => 'em', 'desktop' => 'em', ), 'letterSpacing' => array( 'desktop' => '', ), 'family' => 'raleway, sans-serif', 'google' => false, 'weight' => '600', 'variant' => '600', 'transform' => 'capitalize', 'color' => 'palette9', ), 'header_contact_margin' => array( 'size' => array( '', '', '', '' ), 'unit' => 'px', 'locked' => false, ), // pro Header Mobile Contact. 'header_mobile_contact_items' => array( 'items' => array( array( 'id' => 'phone', 'enabled' => true, 'source' => 'icon', 'url' => '', 'imageid' => '', 'width' => 18, 'link' => '', 'icon' => 'phone', 'label' => '+1800-234-67899', ), ), ), ); $defaults = array_merge( $defaults, $update_options ); return $defaults; } } Custom_Theme::get_instance();
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка