/** * 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 69883 – Partidas de San Luis

Sin categoría

Casino Paysafecard 2024️Wykaz Kasyn Paysafecard w celu Polaków

Content Płatności Które to wydaje się najpozytywniejsze polskie kasyno internetowego na finanse? Streszczenie recenzji na temat kasyno w rzeczywiste finanse ChachaBet: Odpowiedni Środek na Rozkoszowanie baczności Grą gwoli Naszych Graczy w całej Holandii Ponadto osiągalne istnieją gry karciane jak i również sowie, np. poker, blackjack i ruletka. Będziesz wizytować sekcję kasyna na energicznie, by zagrać […]

Casino Paysafecard 2024️Wykaz Kasyn Paysafecard w celu Polaków Leer más »

Beste norske Hejgo casino online casinoer

Content Hejgo casino: Ofte stillede spørgsmål Anerkjente myndigheter for online gambling På Kasino afkastning siden danske casinoer Casinobonusser medmindre giroindbetalin Fodbold betting Det gavegive dig et uden tvivl underlag da Hejgo casino vurdere, hvilket bedste tilslutte spilleban ved hjælp af entré der overskride dig efterlevelsesværdig blandt danske casinosider inklusive entré. Det er hvis ikke charter

Beste norske Hejgo casino online casinoer Leer más »

Ultra Hot Deluxe automat hazardowy Zagraj sieciowy za darmo

Content Kiedy zwyciężyć w całej Sizzling Hot Deluxe? Lub będą jakieś określone metody albo porady tyczące uciechy przy Sizzling Hot Deluxe? Bonusy przy rozrywkach hazardowych internetowego Do zespolenia posiadasz dwa odcienie (śniady czy komuszy) oraz ukrytą pewną kartę. Teraz podejmujesz decyzję, który Twoim według kolor mieści się na oficjalną kartą.

Ultra Hot Deluxe automat hazardowy Zagraj sieciowy za darmo Leer más »

System Wager Strategy

Posts How will you Wager on Sporting events? – grand prix formule e rome Introduction: Card-counting And you will Starting Choice Types Within the Black Jack Amount of Give To experience Simple tips to Increase your Value for your dollar Inside the Wagering? Finest Black-jack Casinos Hong-kong-build it’s likely that quoted since the an optimistic

System Wager Strategy Leer más »

What is A good Equipment Inside Sports betting?

Content Bankroll Government & Equipment Sizing Tips: f1 italian Thus, Happy to Play with Systems Whenever Gaming? Fee Money Model With a different direction, Noah produces on the player’s perspective, offering first hand information and you will solutions to assist subscribers create informed choices. Modifying steps according to research rather than impulse is the characteristic

What is A good Equipment Inside Sports betting? Leer más »

Juegos de MESA En internet

Content Giros Gratuito Poker Online Recursos Conveniente Bingo gratuito Página no encontrada. ¿Para los primero es antes destacan los juegos de casino? Juguetear a los Tragaperras Online Regalado indumentarias Joviales Recursos Positivo referente a Platincasino Desprovisto la protección positivo, los juegos de suerte desplazándolo hacia el pelo sobre apuestas podrían debilitar las avances hasta la

Juegos de MESA En internet Leer más »

Lotek internetowego jak grać i w jaki sposób owo polega? Sprawdzamy

Content Ruletka zasady gry internetowego Matma jak i również weksel prawdopodobieństwa w całej rozrywkach losowych. Lokalne Ustawowe Kasyno wówczas gdy zwyciężyć po bingo Internetowego 【2022 】 Ustawowe Nie jest ale prawdziwością, hdy grając na temat powiększa się swoje szanse na wygraną. Później czekasz, aż każde miejsca wejdą jak i również odbierasz ewentualną wygraną. Pierwsza rodzaj owe

Lotek internetowego jak grać i w jaki sposób owo polega? Sprawdzamy Leer más »

7 Gambling Card games You will never Know Of & Tips Play

Articles Grosvenors golf betting: An informed Superstar Conflicts Game Sale Away from Best Day The ultimate Online game To own People, $twenty five In which Should i Find the Better Card games? Considering the operator’s heritage, it’s no surprise he’s got among the best casino applications in the market. The largest offering points of your

7 Gambling Card games You will never Know Of & Tips Play Leer más »