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

Sin categoría

Волнительный азарт и olimp casino официальный сайт — новая эра краш-игр

Волнительный азарт и olimp casino официальный сайт — новая эра краш-игр Уникальный игровой процесс краш-игр на платформе Olimp Casino Проверенная честность и надежность игрового процесса Стратегии игры в краш-игры на Olimp Casino Дополнительные возможности и преимущества Olimp Casino Перспективы развития краш-игр и роль Olimp Casino Волнительный азарт и olimp casino официальный сайт — новая эра

Волнительный азарт и olimp casino официальный сайт — новая эра краш-игр Leer más »

Candy Spinz: Quick‑Fire Gaming für den unterwegs Spieler

Candy Spinz hat eine Nische für diejenigen geschaffen, die sofortige Spannung ohne die Verpflichtung von Marathon-Sessions suchen. Die lebendige Oberfläche der Plattform, gepaart mit einer kuratierten Auswahl an High‑Volatility Slots und Instant‑Win‑Games, macht sie zum Anlaufpunkt für kurze, intensive Spielmomente. Warum Candy Spinz bei schnelllebigen Gamern beliebt ist Wenn Sie jemals einen schnellen Adrenalinkick wollten,

Candy Spinz: Quick‑Fire Gaming für den unterwegs Spieler Leer más »

Avia Masters Game : L’expérience de crash à grande vitesse qui secoue le ciel du gaming

Le Avia Masters game est rapidement devenu le titre incontournable pour les joueurs en quête de parties adrenaline‑pumping qui se terminent avant que leur café ne refroidisse. Avec son thème aéronautique, ses avions rouge vif et son interface mobile fluide, le jeu vous invite à tester vos nerfs lors de rafales qui ressemblent plus à

Avia Masters Game : L’expérience de crash à grande vitesse qui secoue le ciel du gaming Leer más »

Chicken Road Gambling Computerspiel bei Inout Games Demo gebührenfrei spielen

Ein Hühner-Protagonist ist verlockend animiert unter anderem reagiert ausdrucksvoll unter 5 vor 12-Unfälle ferner erfolgreiche Überquerungen. Unser Fahrzeuge werden vielfältig unter anderem ausführlich, bei schnittigen Sportwagen bis außer betrieb nach schwerfälligen Lkw, jedes unter einsatz von seinem einen einzigartigen Design. Welches dynamische Multiplikatorsystem steht sekundär in Wechselbeziehung qua ein Zweck zur Selektion das Risikostufe.

Chicken Road Gambling Computerspiel bei Inout Games Demo gebührenfrei spielen Leer más »

Wachstumshormone im Bodybuilding: Chancen und Risiken

Wachstumshormone spielen eine bedeutende Rolle im Bodybuilding, insbesondere wenn es um Muskelaufbau und Regeneration geht. Diese Hormone sind entscheidend für das Wachstum von Körperzellen und die Steigerung der Muskelmasse. Doch der Einsatz von Wachstumshormonen weckt nicht nur Interesse, sondern wirft auch zahlreiche Fragen zu den Chancen und Risiken auf. Hier finden Sie eine ausführliche Analyse

Wachstumshormone im Bodybuilding: Chancen und Risiken Leer más »

Zbrusu nová Noemova archa Hrajte nyní zcela zdarma! Stahování není nutné.

Můžete si potenciálně užít přístavy, kasinový poker, blackjack, https://royalgames.casino/cs/promo-code/ ruletu a mnoho dalšího, abyste získali intenzivní smysl – to vše a také velkolepost Atlantic Townu. Hra nabízí seriózním sázkařům možnost užít si starožitné kasinové hry z pohodlí svých mobilních telefonů. Existují možnosti hrát zdarma nebo platit za účast v soutěžích.

Zbrusu nová Noemova archa Hrajte nyní zcela zdarma! Stahování není nutné. Leer más »

Výherní automat Phoenix Sunshine zdarma Užijte si internetové kasinové automaty bez stahování

Guvernér Ducey včera večer uzavřel legalizaci sportovních https://spybets.io/cs/login/ sázek podle zákonů na ceremoniálu v Read Museum ve Phoenixu. Všichni kandidáti vybraní pro sázkové licence budou odhaleni Arizonskou společností ze sázek do 27. srpna. Dalších pět uchazečů je v tuto chvíli neznámých. Co se týče kmenových aplikací, existuje půl tuctu fotbalových týmů a míst se zveřejněnými

Výherní automat Phoenix Sunshine zdarma Užijte si internetové kasinové automaty bez stahování Leer más »

Výherní automat Pharaohs Fortune 100 procent zdarma Užijte si internetové kasinové automaty bez stahování

Obsah Co přesně jsou ikony v rámci Faraon's Chance? Potěšte se z Pharaohs Fortune 100 procent zdarma Recenze Pharaohs Options Kdo pomáhá s tvorbou online hry Pharaoh's Chance? Komentář ke hře Pharaoh's Chance To pomáhá odhadnout, kdy https://spybets.io/cs/ zájem vrcholil – třeba v době, kdy se na internetu objevují velké výhry, marketingové strategie nebo vysoké

Výherní automat Pharaohs Fortune 100 procent zdarma Užijte si internetové kasinové automaty bez stahování Leer más »

Ovocná videohra Hrajte nyní na Y8 com

Blogy Které jsou nejlepší ovocné hry, které můžete mít v mobilním telefonu? Skvělí basketbaloví účastníci, sv. 1 Zdarma zatočení trendy čerstvého ovoce – Probuďte se, abyste získali 2x více čerstvého ovoce než Thora Renomované dopisy Proč jsou online ovocné servery tak okouzlující? Nejvýznamnějším čerstvým ovocem, kterého lze dosáhnout, je vodní meloun a cílem hry je

Ovocná videohra Hrajte nyní na Y8 com Leer más »