array( array( 'title' => esc_html__( 'Global Layout', 'alpus' ), ), ), 'archive_product' => array( array( 'title' => esc_html__( 'Shop Page Layout', 'alpus' ), 'scheme' => array( 'all' => true, ), 'options' => array( 'left_sidebar' => 'shop-sidebar', 'ptb' => 'hide', 'show_breadcrumb' => 'yes', ), ), ), 'single_product' => array( array( 'title' => esc_html__( 'Single Product Layout', 'alpus' ), 'scheme' => array( 'all' => true, ), 'options' => array( 'right_sidebar' => 'product-sidebar', 'ptb' => 'hide', 'show_breadcrumb' => 'yes', ), ), ), 'archive_post' => array( array( 'title' => esc_html__( 'Blog Page Layout', 'alpus' ), 'scheme' => array( 'all' => true, ), 'options' => array( 'right_sidebar' => 'blog-sidebar', ), ), ), 'single_post' => array( array( 'title' => esc_html__( 'Single Post Layout', 'alpus' ), 'scheme' => array( 'all' => true, ), 'options' => array( 'right_sidebar' => 'blog-sidebar', ), ), ), 'error' => array( array( 'title' => esc_html__( '404 Page Layout', 'alpus' ), 'options' => array( 'wrap' => 'full', 'ptb' => 'hide', ), ), ), ); $alpus_option = array( // Navigator 'navigator_items' => array( 'custom_css_js' => array( esc_html__( 'Style / Additional CSS & Script', 'alpus' ), 'section' ), 'color' => array( esc_html__( 'Color', 'alpus' ), 'section' ), 'blog' => array( esc_html__( 'Blog', 'alpus' ), 'section' ), 'product_type' => array( esc_html__( 'Shop / Product Type', 'alpus' ), 'section' ), 'product_detail' => array( esc_html__( 'WooCommerce / Product Page', 'alpus' ), 'section' ), 'lazyload' => array( esc_html__( 'Advanced / Lazy Load', 'alpus' ), 'section' ), 'search' => array( esc_html__( 'Advanced / Search', 'alpus' ), 'section' ), ), // Conditions 'conditions' => $default_conditions, // General 'site_type' => 'full', 'site_width' => '1400', 'site_gap' => '20', 'content_bg' => array( 'background-color' => '#fff', ), 'site_bg' => array( 'background-color' => '#fff', ), 'container' => '1280', 'container_fluid' => '1820', // Colors 'primary_color' => '#08c', 'secondary_color' => '#f93', 'dark_color' => '#333', 'light_color' => '#ccc', 'white_color' => '#fff', // Typography 'typo_default' => array( 'font-family' => 'Poppins', 'variant' => '400', 'font-size' => '14px', 'line-height' => '1.6', 'letter-spacing' => '', 'color' => '#666', ), 'typo_heading' => array( 'font-family' => 'inherit', 'variant' => '600', 'line-height' => '1.2', 'letter-spacing' => '-0.025em', 'text-transform' => 'none', 'color' => '#333', ), 'typo_custom1' => array( 'font-family' => 'inherit', ), 'typo_custom2' => array( 'font-family' => 'inherit', ), 'typo_custom3' => array( 'font-family' => 'inherit', ), // Page Title Bar 'ptb_height' => '180', 'ptb_bg' => array( 'background-color' => '#eee', ), 'ptb_delimiter' => '>', 'typo_ptb_title' => array( 'font-family' => 'inherit', 'variant' => '600', 'font-size' => '34px', 'line-height' => '1.125', 'letter-spacing' => '-0.025em', 'text-transform' => 'capitalize', 'color' => '#333', ), 'typo_ptb_subtitle' => array( 'font-family' => 'inherit', 'variant' => '', 'font-size' => '18px', 'line-height' => '1.8', 'letter-spacing' => '', 'color' => '#666', ), 'typo_ptb_breadcrumb' => array( 'font-family' => 'inherit', 'font-size' => '13px', 'line-height' => '', 'letter-spacing' => '', 'text-transform' => '', 'color' => '#333', ), // Menu 'menu_labels' => '', 'mobile_menu_items' => array(), // Mobile Sticky Icon Bar 'mobile_bar_icons' => array( 'home', 'shop', 'account', 'cart', 'search' ), 'mobile_bar_menu_label' => esc_html__( 'Menu', 'alpus' ), 'mobile_bar_menu_icon' => ALPUS_ICON_PREFIX . '-icon-bars', 'mobile_bar_home_label' => esc_html__( 'Home', 'alpus' ), 'mobile_bar_home_icon' => ALPUS_ICON_PREFIX . '-icon-home', 'mobile_bar_shop_label' => esc_html__( 'Categories', 'alpus' ), 'mobile_bar_shop_icon' => ALPUS_ICON_PREFIX . '-icon-category', 'mobile_bar_wishlist_label' => esc_html__( 'Wishlist', 'alpus' ), 'mobile_bar_wishlist_icon' => ALPUS_ICON_PREFIX . '-icon-heart', 'mobile_bar_account_label' => esc_html__( 'Account', 'alpus' ), 'mobile_bar_account_icon' => ALPUS_ICON_PREFIX . '-icon-account', 'mobile_bar_cart_label' => esc_html__( 'Cart', 'alpus' ), 'mobile_bar_cart_icon' => ALPUS_ICON_PREFIX . '-icon-cart', 'mobile_bar_search_label' => esc_html__( 'Search', 'alpus' ), 'mobile_bar_search_icon' => ALPUS_ICON_PREFIX . '-icon-search', 'mobile_bar_top_label' => esc_html__( 'To Top', 'alpus' ), 'mobile_bar_top_icon' => ALPUS_ICON_PREFIX . '-icon-long-arrow-up', 'social_login' => true, // Single Product 'product_description_title' => esc_html__( 'Description', 'alpus' ), 'product_specification_title' => esc_html__( 'Specification', 'alpus' ), 'product_reviews_title' => esc_html__( 'Customer Reviews', 'alpus' ), 'show_buy_now_btn' => false, 'buy_now_text' => esc_html__( 'Buy Now', 'alpus' ), 'product_more_title' => esc_html__( 'More Products From This Vendor', 'alpus' ), // Shop Advanced 'new_product_period' => 7, 'hover_change' => true, 'prod_open_click_mob' => true, 'catalog_price' => true, 'catalog_cart' => false, 'catalog_review' => false, // Shop / Product Type 'product_type' => '', 'classic_hover' => '', 'quickview_type' => '', 'quickview_thumbs' => 'horizontal', // Features 'archive_ajax' => true, // Advanced / Lazyload 'skeleton_screen' => false, 'lazyload' => false, 'lazyload_bg' => '#f4f4f4', 'loading_animation' => false, // Advanced / Search 'live_search' => true, 'search_post_type' => '', 'sales_popup' => '', 'sales_popup_title' => esc_html__( 'Someone Purchased', 'alpus' ), 'sales_popup_count' => 5, 'sales_popup_start_delay' => 60, 'sales_popup_interval' => 60, 'sales_popup_category' => '', 'sales_popup_mobile' => true, 'custom_image_sizes' => array( 'size_name' => '', 'width' => '', 'height' => '', ), 'image_quality' => 82, 'big_image_threshold' => 2560, // optimize wizard 'font_face_display' => false, 'google_webfont' => false, 'lazyload_menu' => false, 'menu_last_time' => 0, 'mobile_disable_slider' => false, 'mobile_disable_animation' => false, 'preload_fonts' => array( 'alpus', 'fas', 'fab' ), 'resource_disable_gutenberg' => false, 'resource_disable_wc_blocks' => false, 'resource_disable_elementor' => false, 'resource_disable_emojis' => false, 'resource_disable_jq_migrate' => false, 'resource_disable_rev' => false, 'resource_jquery_footer' => false, 'resource_merge_stylesheets' => false, 'resource_critical_css' => false, 'resource_template_builders' => '', 'resource_async_js' => true, 'resource_split_tasks' => true, 'resource_after_load' => true, // Custom CSS & JS 'custom_css' => '', 'custom_js' => '', 'is_maintenance' => false, 'maintenance_page' => '', // layouts 'layout_default_wrap' => 'container', 'archive_layout_right_sidebar' => 'blog-sidebar', 'single_layout_right_sidebar' => 'blog-sidebar', 'shop_layout_left_sidebar' => 'shop-sidebar', 'error_layout_wrap' => 'full', 'error_layout_ptb' => 'hide', ); $alpus_option['menu_labels'] = json_encode( array( 'new' => get_theme_mod( 'primary_color', $alpus_option['primary_color'] ), 'hot' => get_theme_mod( 'secondary_color', $alpus_option['secondary_color'] ), ) ); $social_shares = alpus_get_social_shares(); foreach ( $social_shares as $key => $data ) { $alpus_option[ 'social_addr_' . $key ] = ''; } /** * Filters default values of theme options. * * @since 1.0 */ $alpus_option = apply_filters( 'alpus_theme_option_default_values', $alpus_option ); /** * Fires after setting default options. * * Here you can change default options, add or remove. * * @since 1.0 */ do_action( 'alpus_after_default_options' );