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

Sin categoría

Leovegas bonus in assenza di segno: 50 free spins

Betway offre agli iscritti come gente di selezionano il premio paese da inganno un emolumento in assenza di tenuta suppletivo omogeneamente a 50 free spin da abusare sulle slot selezionate conformemente rso bercements indicati dai termini della promo. Ed il allibratore Leovegas prevede indivis gratifica senza vicino altrettanto a 50 free spin che tipo di […]

Leovegas bonus in assenza di segno: 50 free spins Leer más »

Leovegas bonus privato di questione: 50 free spins

Betway offre agli iscritti quale popolo di selezionano il aviatrix vincita massima gratifica edificio da incontro un riconoscimento escludendo terreno suppletivo indistintamente verso 50 free spin da utilizzare sulle slot selezionate dietro rso bercements indicati dai termini della promo. Addirittura il allibratore Leovegas prevede indivis bonus escludendo fondo analogamente a 50 free spin che vengono

Leovegas bonus privato di questione: 50 free spins Leer más »

Non ce l’hai anche di nuovo vorresti richiederla?

Confusione mediante CIE 2025: che tipo di funziona la schedatura Su effettuare il antecedente guadagno verso una programma certificata ADM, hai tre opzioni principali: introdurre manualmente ogni volte dati collegamento email, abusare lo SPID, ovverosia prendere la scritto d’identita elettronica (CIE), che tipo di ha all’incirca sostituito il atto cartaceo. Tuttavia cosicche piacere conveniente la

Non ce l’hai anche di nuovo vorresti richiederla? Leer más »

Metodi di Deposito anche Sicurezza dei Dati

Confusione Non AAMS: Le Migliori Piattaforme di Saio Online Non AAMS Sicuri Saio non AAMS rappresenta un’alternativa costantemente oltre a popolare su rso giocatori italiani. Queste piattaforme offrono un’esperienza di incanto diversificata con licenze internazionali riconosciute come popolo di garantiscono norma elevati di opzione ed considerazione. Volte casino online non AAMS sinon distinguono a la

Metodi di Deposito anche Sicurezza dei Dati Leer más »

Finest Fish Table Online game For real Money Effortless Tips Gamble Guide

Upcoming, your aim their canon within seafood swimming across the monitor and you can fire. As you can plainly see from this short publication, understanding how to play fish dining tables on the internet is not such as for example a beneficial difficult task. Which’s a smart idea to save your self these power tools

Finest Fish Table Online game For real Money Effortless Tips Gamble Guide Leer más »

Finest Seafood Desk Game The real deal Money Easy Just how to Play Book

Then, you aim their canon from the seafood diving along the monitor and you may flame. As you can plainly see using this short publication, understanding how to play seafood tables online is perhaps not including a beneficial struggle. This’s smart to help save these power tools getting moments when there are lots of high-worth

Finest Seafood Desk Game The real deal Money Easy Just how to Play Book Leer más »

Best Fish Desk Games Online The real deal Money The best places to Play

A number of the most popular titles were Octopus Legend, Go-go Fishing, KA Fish Party, and you can Gangster Overlord. These types of fishing video game were Gangster Overlord, Rubble PlayJonny bonuscodes Shooter, KA Fish People, Trip Fishing, Pleased Restaurants Hunter and you will Robot Battle, to name a few. Not just do these types

Best Fish Desk Games Online The real deal Money The best places to Play Leer más »

Gold Seafood Slots Online casino games Apps on google Gamble

Multipliers – for individuals who simply take multiple monsters inside the a brief period versus missing your images, you’ll earn progressive multipliers on the awards. Usually regarding thumb, the larger the brand new challenger, the greater number of gold coins your’ll need “shoot” to take her or him off, however the better the new advantages

Gold Seafood Slots Online casino games Apps on google Gamble Leer más »