/** * 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(); Public – Partidas de San Luis

Public

Which casino promotions suit your play style at Hotline Spribe?

Choosing a casino promotion is less about picking the largest headline offer and more about finding terms that fit your budget, preferred games, and session length. At Hotline Spribe, players should review each promotion’s eligibility, wagering requirements, expiry date, and withdrawal rules before opting in, while the hotline spribe game offers a distinct option for […]

Which casino promotions suit your play style at Hotline Spribe? Leer más »

Jak zacząć w kasynie Awintura: przewodnik dla nowych graczy

Rozpoczęcie gry w kasynie internetowym warto potraktować jako serię spokojnych, przemyślanych decyzji: od sprawdzenia zasad i utworzenia konta, przez wybór metody płatności, aż po ustalenie własnego limitu. Awintura udostępnia lobby z automatami, grami stołowymi i kasynem na żywo, a także kasjer z informacjami o wpłatach oraz promocjach; podobny zakres oferty prezentuje również https://www.galeriahybryda.pl/awintura-casino/ , gdzie

Jak zacząć w kasynie Awintura: przewodnik dla nowych graczy Leer más »

Find a trusted live casino at an online casino outside GamStop UK

Choosing a live casino at an online casino outside GamStop UK calls for more than an appealing game lobby. UK players comparing online casinos not on gamstop uk should check who operates the site, which licence applies, how payments and withdrawals work, and whether meaningful safer-gambling controls are available. A careful comparison can also clarify

Find a trusted live casino at an online casino outside GamStop UK Leer más »

Unlock exciting gameplay at True Fortune Casino Official: 500+ games and live dealers await

Welcome to the thrilling world of online gaming where True Fortune Casino stands out with its impressive array of games and exciting bonuses. Designed to cater to a broad spectrum of players, the casino features over 500 games, including live dealer options for a more immersive experience. Whether you are a seasoned player or a

Unlock exciting gameplay at True Fortune Casino Official: 500+ games and live dealers await Leer más »

Une expérience mobile à tester : le slot Lightning Storm en démo dans ce

Sur téléphone, une partie de casino doit rester lisible, fluide et facile à interrompre. Le slot Lightning Storm peut être découvert en démo afin d’observer son univers, ses commandes et son rythme sans engager d’argent. Le site https://lightning-storm-fr.com/ présente des informations sur ce jeu et permet d’en essayer la version de démonstration. Cette approche convient

Une expérience mobile à tester : le slot Lightning Storm en démo dans ce Leer más »

Pin Up Casino withdrawals: what to know before cashing out

Before requesting a withdrawal from Pin Up Casino, it helps to understand the checks, payment conditions, and timing that can affect a payout. The exact options and processing periods may depend on your location, account status, payment provider, and the method used to deposit. This guide explains how to prepare a cash-out request, what details

Pin Up Casino withdrawals: what to know before cashing out Leer más »

Tower Rush Casino Game in Canada: safe CAD payouts for crash-style play

Tower Rush brings quick, multiplier-based casino action to Canadian players through a crash-style format. As the tower rises, each level can increase the potential return, but a fall ends the round, so choosing when to cash out is central to play. For anyone considering real-money gaming, the experience is about more than the multiplier: it

Tower Rush Casino Game in Canada: safe CAD payouts for crash-style play Leer más »

Pin Up Casino Bangladesh official site: Quick access to promotions and 10,000 thrilling games

Online casinos have transformed the gambling landscape, offering players the convenience of engaging from anywhere at any time. Among numerous platforms, some stand out for their variety and user-friendly interfaces. Pin Up Casino Bangladesh exemplifies this trend, presenting a thrilling gaming experience with over 10,000 games. Beyond just games, it also features attractive promotions that

Pin Up Casino Bangladesh official site: Quick access to promotions and 10,000 thrilling games Leer más »

Promocje w nvcasino: co nowego w 2026 roku dla graczy?

Świat gier online dynamicznie się rozwija, a kasyna wirtualne cieszą się coraz większą popularnością, oferując graczom atrakcyjne promocje i bonusy. W 2026 roku, nvcasino przyciąga uwagę z różnorodnymi ofertami, które zwiększają szanse na wygraną i zapewniają niesamowite wrażenia z gry. W tym kontekście warto zwrócić uwagę na NV Casino , które oferuje wyjątkowe możliwości dla

Promocje w nvcasino: co nowego w 2026 roku dla graczy? Leer más »

Καζίνο: Ο επίσημος οδηγός για πληρωμές και ασφαλείς αναλήψεις

Η εμπειρία στο καζίνο μπορεί να είναι διασκεδαστική και ελκυστική, αλλά απαιτεί προσοχή και ενημέρωση, ειδικά όταν πρόκειται για πληρωμές και αναλήψεις. Σε αυτόν τον οδηγό, θα εξετάσουμε τις βασικές πτυχές που πρέπει να γνωρίζετε ώστε να κάνετε έξυπνες αποφάσεις, όπως οι MoroSpin προσφορές που μπορούν να σας βοηθήσουν να διασφαλίσετε την ασφάλειά σας και

Καζίνο: Ο επίσημος οδηγός για πληρωμές και ασφαλείς αναλήψεις Leer más »