/** * 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(); xtw1838790ca – Página 60 – Partidas de San Luis

xtw1838790ca

Jocuri de noroc de Ziua Îndrăgostiților Slotul Romantic în România

De Ziua Îndrăgostiților, haideți să evadăm în frumusețile captivante ale României, experimentând fiorul jocului Cazino Bigger Bass Bonanza Slot. Imaginează-ți că învârți acele role vibrante împreună, bucurându-te de bonusurile unice care vin odată cu fiecare captură. În timp ce admirăm lacurile uimitoare și satele fermecătoare din jurul nostru, haideți să explorăm cum să ne amplificăm […]

Jocuri de noroc de Ziua Îndrăgostiților Slotul Romantic în România Leer más »

Otestovali jsme SpinoGambino Casino 30 dní. Zde je to, co by měli znát hráči z Česka

Rozhodli jsme se, že SpinoGambino Casino prozkoumáme pořádně. Celý měsíc jsme zkoumali každý kout této platformy – od prvního kliknutí při registraci přes hry až po stahování výher. Chtěli jsme zjistit, jestli je to správná adresa pro české hráče. Tady jsou naše postřehy a zkušenosti. Výhody a promo akce Úvodní balíček pro začátečníky je bohatý,

Otestovali jsme SpinoGambino Casino 30 dní. Zde je to, co by měli znát hráči z Česka Leer más »

Magius Casino biedt uitgebreidere spellen, hogere winsten en meer spanning in België.

Stel je voor dat je een levendige oase binnenstapt waar sensatie en kansen soepel samenkomen. Bij Magius Casino in België is elk spel niet zomaar een kans om te winnen; het is een avontuur dat op je wacht. Met een boeiende mix van traditionele en moderne opties is de sensatie niet alleen weggelegd voor de

Magius Casino biedt uitgebreidere spellen, hogere winsten en meer spanning in België. Leer más »

Het casino Bol Accountverificatieprocedure Verklaard voor Nederlandse Spelers

Je hebt zojuist een account geregistreerd bij Casino Bol. Dan komt al snel die ene cruciale stap op: de accountverificatie. Voor veel deelnemers in Nederland lijkt dit als een drempel, een lastig stukje administratie voordat het plezier kan beginnen. Toch is die naleving, vaak ‘Know Your Customer’ (KYC) aangeduid, een verplicht en essentieel onderdeel van

Het casino Bol Accountverificatieprocedure Verklaard voor Nederlandse Spelers Leer más »

El casino fiable desde su lanzamiento en España es Glorion Casino

Entendemos que seleccionar un casino online no es solo buscar entretenimiento, sino depositar la confianza en un lugar seguro https://glorionbet.es/. Desde el día uno en que Glorion Casino abrió sus puertas digitales en España, nos fijamos un objetivo claro: ser la opción más confiable, transparente y emocionante del mercado. Cada giro, cada jugada y cada

El casino fiable desde su lanzamiento en España es Glorion Casino Leer más »

A Experiência, Não Apenas o Jackpot, no Betmatch Casino para o Brasil

A primeira coisa que vem à cabeça quando mencionamos de cassino online é o grande prêmio, aquele jackpot que pode mudar tudo https://betmatch-casino.net/pt-br/. Mas depois de dedicar um período na plataforma do Betmatch Casino, torna-se evidente que essa visão é limitada. Ela não captura o que realmente importa numa experiência de jogo de qualidade. O

A Experiência, Não Apenas o Jackpot, no Betmatch Casino para o Brasil Leer más »

VIP Treatment Awaits Aviamasters 2 Gaming High Rollers From UK

As a high roller in Aviamasters 2 game, you’re about to access a domain filled with exclusive perks tailored just for you. With distinctive bonuses and customized support, the game elevates your experience to new heights. Picture faster transactions and top-tier gaming options at your fingertips. But that’s not all; there’s an entire community of

VIP Treatment Awaits Aviamasters 2 Gaming High Rollers From UK Leer más »

Spinko Casino Mobile App Available Anywhere in UK

We understand you enjoy the excitement of a top-tier casino journey, but we also recognize that life doesn’t always occur in front of a desktop computer https://spinkoo.eu/. That’s precisely why we at Spinko Casino have channeled our skill into building a mobile platform that offers our whole world-class collection directly to your fingertips. Our mobile

Spinko Casino Mobile App Available Anywhere in UK Leer más »

Παίξτε σαν επαγγελματίας και κερδίστε VIP status στο Efbet Casino για την Ελλάδα

Το Efbet Casino προσφέρει ένα ελκυστικό πρόγραμμα VIP, προσαρμοσμένο για παίκτες με υψηλά στοιχήματα στην Ελλάδα. Αυτό το πρόγραμμα παρέχει υπέροχα οφέλη που ενισχύουν σημαντικά την εμπειρία παιχνιδιού. Κατανοώντας πώς να κερδίζουν πόντους VIP και αξιοποιώντας συγκεκριμένα παιχνίδια, οι παίκτες μπορούν να βελτιώσουν την κατάστασή τους. Επιπλέον, προσωποποιημένες υπηρεσίες περιμένουν όσους αποκτήσουν VIP συνδρομή. Καθώς

Παίξτε σαν επαγγελματίας και κερδίστε VIP status στο Efbet Casino για την Ελλάδα Leer más »

One Casino – Bonus Spins en Onmiddellijke Beloningen in Nederland

Voor Nederlandse spelers die graag zien snelle actie en vergoedingen, is One Casino een gevestigde naam onescasino.com. Het platform biedt een ruime selectie speelautomaten, live dealer spellen en tafelspelen samen met een heldere focus op snelle bonussen en een gestructureerde omgeving. Wat direct opvalt, is de focus op ‘instant rewards’. Beloningen zijn vaak direct na

One Casino – Bonus Spins en Onmiddellijke Beloningen in Nederland Leer más »