/** * Transparent Header - Customizer. * * @package Astra * @since 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } if ( ! class_exists( 'Astra_Ext_Transparent_Header_Loader' ) ) { /** * Customizer Initialization * * @since 1.0.0 */ class Astra_Ext_Transparent_Header_Loader { /** * Member Variable * * @var object instance */ private static $instance; /** * Initiator */ public static function get_instance() { if ( ! isset( self::$instance ) ) { self::$instance = new self(); } return self::$instance; } /** * Constructor */ public function __construct() { add_filter( 'astra_theme_defaults', array( $this, 'theme_defaults' ) ); add_action( 'customize_preview_init', array( $this, 'preview_scripts' ) ); add_action( 'customize_register', array( $this, 'customize_register' ), 2 ); } /** * Set Options Default Values * * @param array $defaults Astra options default value array. * @return array */ public function theme_defaults( $defaults ) { // Header - Transparent. $defaults['transparent-header-logo'] = ''; $defaults['transparent-header-retina-logo'] = ''; $defaults['different-transparent-logo'] = 0; $defaults['different-transparent-retina-logo'] = 0; $defaults['transparent-header-logo-width'] = array( 'desktop' => 150, 'tablet' => 120, 'mobile' => 100, ); $defaults['transparent-header-enable'] = 0; /** * Old option for 404, search and archive pages. * * For default value on separate option this setting is in use. */ $defaults['transparent-header-disable-archive'] = 1; $defaults['transparent-header-disable-latest-posts-index'] = 1; $defaults['transparent-header-on-devices'] = 'both'; $defaults['transparent-header-main-sep'] = ''; $defaults['transparent-header-main-sep-color'] = ''; /** * Transparent Header */ $defaults['transparent-header-bg-color'] = ''; $defaults['transparent-header-color-site-title'] = ''; $defaults['transparent-header-color-h-site-title'] = ''; $defaults['transparent-menu-bg-color'] = ''; $defaults['transparent-menu-color'] = ''; $defaults['transparent-menu-h-color'] = ''; $defaults['transparent-submenu-bg-color'] = ''; $defaults['transparent-submenu-color'] = ''; $defaults['transparent-submenu-h-color'] = ''; $defaults['transparent-header-logo-color'] = ''; /** * Transparent Header Responsive Colors */ $defaults['transparent-header-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['hba-transparent-header-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['hbb-transparent-header-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-header-color-site-title-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-header-color-h-site-title-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-menu-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-menu-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-menu-h-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-submenu-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-submenu-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-submenu-h-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-content-section-text-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-content-section-link-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-content-section-link-h-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); return $defaults; } /** * Add postMessage support for site title and description for the Theme Customizer. * * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ public function customize_register( $wp_customize ) { // @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound /** * Register Panel & Sections */ require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/class-astra-transparent-header-panels-and-sections.php'; /** * Sections */ require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/sections/class-astra-customizer-colors-transparent-header-configs.php'; // Check Transparent Header is activated. require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/sections/class-astra-customizer-transparent-header-configs.php'; // @codingStandardsIgnoreEnd WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound } /** * Customizer Preview */ public function preview_scripts() { /** * Load unminified if SCRIPT_DEBUG is true. */ /* Directory and Extension */ $dir_name = ( SCRIPT_DEBUG ) ? 'unminified' : 'minified'; $file_prefix = ( SCRIPT_DEBUG ) ? '' : '.min'; wp_enqueue_script( 'astra-transparent-header-customizer-preview-js', ASTRA_THEME_TRANSPARENT_HEADER_URI . 'assets/js/' . $dir_name . '/customizer-preview' . $file_prefix . '.js', array( 'customize-preview', 'astra-customizer-preview-js' ), ASTRA_THEME_VERSION, true ); // Localize variables for further JS. wp_localize_script( 'astra-transparent-header-customizer-preview-js', 'AstraBuilderTransparentData', array( 'is_astra_hf_builder_active' => Astra_Builder_Helper::$is_header_footer_builder_active, 'is_flex_based_css' => Astra_Builder_Helper::apply_flex_based_css(), 'transparent_header_devices' => astra_get_option( 'transparent-header-on-devices' ), ) ); } } } /** * Kicking this off by calling 'get_instance()' method */ Astra_Ext_Transparent_Header_Loader::get_instance(); Sin categoría – Página 81181 – Partidas de San Luis

Sin categoría

If you prefer more direction or even pointers, don�t think twice to get in touch with you yourself

We are right here to help with their from inside the resolving this problem and you can promising the brand new fulfillment. Thanks for offering the issues to the notice, so we hope for an easy solution to the withdrawal demand. System range promises all pro finds out game matching the possibility and additionally higher-volatility […]

If you prefer more direction or even pointers, don�t think twice to get in touch with you yourself Leer más »

If you like anymore recommendations otherwise advice, don�t think twice to get in touch with your physically

We have been right here to help with your during the fixing this issue and you https://1xbit.dk/log-ind/ can encouraging the newest fulfillment. Many thanks for providing the questions to your focus, therefore we hope for a fast provider into the detachment request. System range promises all athlete learns video game complimentary the option also large-volatility

If you like anymore recommendations otherwise advice, don�t think twice to get in touch with your physically Leer más »

If you prefer any more guidelines otherwise pointers, don�t hesitate to contact you directly

Our company is here to https://swift-casino.se/sv-se/logga-in/ help with your during the fixing this dilemma and you will guaranteeing this new pleasure. Thanks for offering the questions to the interest, so we expect a fast provider on the withdrawal request. System variety guarantees most of the athlete discovers games matching the choice as well as large-volatility

If you prefer any more guidelines otherwise pointers, don�t hesitate to contact you directly Leer más »

This can include small earnings game, and that is a terrific way to increase equilibrium quickly

The 3rd quick fee gambling enterprise I would recommend try Master Cooks. It is a casino you to definitely centers around providing you with a really effortless generate with little to no getting in your path. Navigating to many parts of the website is actually https://topsportcasino.dk/log-ind/ effortless. Additionally there is a beneficial �millionaire regulation� you

This can include small earnings game, and that is a terrific way to increase equilibrium quickly Leer más »

They have been a proper-known choice for users that have a giant money, while they be able getting big experts

Brand of Casino Signup Also provides Due to the fact welcome has the benefit of are incredibly tough to establish beyond your products that they’re made available to the fresh advantages, it makes good bevy out-of possible options. It can be argued this shortage of definition is one of the finest features of a fantastic

They have been a proper-known choice for users that have a giant money, while they be able getting big experts Leer más »

These are typically a highly-understood selection for people with an enormous money, as they have the ability to have big experts

Types of Casino Register Has the benefit of Due to the fact acceptance now offers are difficult to describe outside the facts that they’re made available to the new masters, it will make good bevy away from possible solutions. It can be argued which insufficient meaning is but one of the finest features of a

These are typically a highly-understood selection for people with an enormous money, as they have the ability to have big experts Leer más »

Professionals possess day to accept the bonus immediately after the it�s offered

Minute deposit ?5 Upon enjoy, you’ll find seven days to utilize the benefit and you may finish the betting standards. The benefit enforce to help you certain on the internet online game listed on the Adverts page. #Adverts, 18+, | The fresh participants merely. Minimal deposit ?5. 100% Extra undertaking ?two hundred, genuine bringing first

Professionals possess day to accept the bonus immediately after the it�s offered Leer más »

Gurus possess twenty four hours to simply accept the bonus quickly following they�s provided

Time put ?5 Up on allowed, you can find 7 days to make use of the advantage and you may complete the betting criteria. The advantage applies to specific on the web game listed on the Advertising webpage. #Ads, 18+, | The latest professionals only. Restricted deposit ?5. 100% Extra carrying out ?200, genuine delivering

Gurus possess twenty four hours to simply accept the bonus quickly following they�s provided Leer más »

Benefits provides a day to simply accept the main benefit instantly following it�s granted

Minute put ?5 Through to enjoy, you will find one week to use the main benefit and you will complete the wagering conditions. The main benefit enforce so you’re able to certain on the web video game on the Ads page. #Ads, 18+, | This new users only. Restricted deposit ?5. 100% Bonus performing ?2

Benefits provides a day to simply accept the main benefit instantly following it�s granted Leer más »