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

xtw1838790ca

Kręć i celebruj każdą wygraną w Realz Casino w Polsce

natychmiastowa gra realz kasyno Casino zadebiutowało na polski rynek z wyraźnym celem: oferować emocji w stabilnym otoczeniu. Przyglądając się na jego ofertę, widzę platformę stworzoną dla gracza, który lubi wybór i płynną rozgrywkę. To właśnie tutaj każdy spin może zmienić się w niewielką fetę, a każda wygrana doczeka się szybkiej wypłaty. Witamy w Realz Casino: […]

Kręć i celebruj każdą wygraną w Realz Casino w Polsce Leer más »

WinRolla Casino – ¿Es Seguro Depositar? Guía Exhaustiva sobre Seguridad

Como analista especializado en seguridad de casinos online, he examinado WinRolla Casino con un propósito concreto: determinar si puedes depositar tu dinero sin preocupaciones https://winrolla-casino.eu/es-es/. Este análisis no replica el texto oficial. En cambio, desglosa cada sistema de seguridad que utiliza la plataforma, iniciando con sus licencias y concluyendo con la tecnología que asegura cada

WinRolla Casino – ¿Es Seguro Depositar? Guía Exhaustiva sobre Seguridad Leer más »

Spinhub Casino platform Delivers Protected Play and Confident Wins

We approached Spinhub Casino with a clear analytical lens, intent on distinguishing marketing gloss from operational substance. What we uncovered is a platform that has discreetly built its reputation on two pillars that matter most to UK players: verifiable safety protocols and a game library designed for reliable return potential. The site does not flood

Spinhub Casino platform Delivers Protected Play and Confident Wins Leer más »

Razones por las que los jugadores de alto nivel prefieren Versailles Casino

Los grandes apostadores no escogen un casino por impulso ni por una promoción llamativa. Su elección responde a un estudio detallado donde intervienen la solidez de la plataforma, la aptitud para gestionar volúmenes financieros elevados y la disponibilidad de un contexto que resguarde su confidencialidad mientras potencia el rendimiento de cada partida. Versailles Casino conoce

Razones por las que los jugadores de alto nivel prefieren Versailles Casino Leer más »

Dudespin Casino tiene autorización, es seguro y está preparado para triunfar en España.

Tragamonedas Dudespin Casino opera con un robusto marco de licencias que cumple con los estrictos estándares regulatorios de España. Este compromiso con el cumplimiento garantiza la protección de los jugadores y la protección de los datos mediante técnicas de cifrado avanzadas. Con un orientación en métodos de juego justas, Dudespin emplea RNGs para mantener la

Dudespin Casino tiene autorización, es seguro y está preparado para triunfar en España. Leer más »

Mr Vegas Casino – Korzystaj 24-godzinnym dostępem do kasyna z mieszkania w Polsce

Zapraszamy serdecznie do Mr Vegas Casino https://mrvegascasino.eu/pl-pl/. To Twoja brama do świata dobrej rozrywki hazardowej, osiągalnej bez opuszczania z domu, o każdej porze. Tutaj miłość do gier spotyka się z nowoczesną technologią, generując przeżycie, które chwalą gracze z Polski. Odkryj olbrzymią zestaw gier od wiodących producentów, kuszące bonusy powitalne i bezpieczne płatności skrojone pod polski

Mr Vegas Casino – Korzystaj 24-godzinnym dostępem do kasyna z mieszkania w Polsce Leer más »

Top UK Casinos Currently Showcasing Sweet Bonanza Slot with Special Bonuses

Right now, Pragmatic Play’s Sweet Bonanza slot is greater than a hit https://bonanza-casinos.com/sweet-bonanza/. It’s a essential game. Its cluster pays system and candy-coated visuals have captivated players everywhere. But locating the proper place to play it, with a bonus that’s actually worth your time, takes some digging. I’ve examined the UK licensed casinos that carry

Top UK Casinos Currently Showcasing Sweet Bonanza Slot with Special Bonuses Leer más »

Zahlungsrevolution: Robocat Casino revolutioniert die Finanztransaktionen in Österreich

Für Glücksspielbegeisterte im Online-Casino entscheidet sich oft alles beim Ein- und Auszahlen https://robocatscasino.at/. Lange Wartezeiten, überraschende Gebühren und komplizierte Abläufe verderben schnell die Laune. Robocat Casino weiß diese Probleme genau. Deshalb haben wir uns mit einem modernen, technologisch fundierten Servicekonzept dem Thema Zahlungsverkehr zugewandt. Exklusiv für Österreich haben wir einen Banking-Durchbruch erzielt, der neue Maßstäbe

Zahlungsrevolution: Robocat Casino revolutioniert die Finanztransaktionen in Österreich Leer más »

Britain Embraces a 100 Super Hot Slot Player-Centric Approach

A clear shift is taking place in online gaming 100superhot.net. The focus is moving towards player engagement, equity, and contentment, not just systems. Within this transformation, the classic fruit slot genre is undergoing a new look. The 100 Super Hot slot machine stands out as a prime example of this player-oriented move, particularly in the

Britain Embraces a 100 Super Hot Slot Player-Centric Approach Leer más »

Azurslot Casino – Mobile Encounter for Players in Canada

Azurslot Licensing Casino stands out for its mobile encounter customized specifically for Canadian gamers. Its user-friendly UI adapts effortlessly to different devices, making gaming accessible anytime, anywhere. With a vast selection of games, including distinctive games exclusive to the site, gamers can find something that piques their attention. But what truly distinguishes Azurslot apart are

Azurslot Casino – Mobile Encounter for Players in Canada Leer más »