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

Sin categoría

règlement Spécifications, synonymes, accentuation, exemples Dico un brin Le Rotoplot

Ravi Comment et-nous éviter les arnaques si nous aurait obtient à crystal monarque un tantinet Quels sont les bénéfices du jeu en compagnie de slots en compagnie de casino un brin? Laquelle ressemblent les grands police avec prime dans crystal falls multimax Crystal Terme conseillé 80 Divertissement Avec Casino Un brin Article deux – Astreintes […]

règlement Spécifications, synonymes, accentuation, exemples Dico un brin Le Rotoplot Leer más »

26 emploi en compagnie de empocher pour la maille repartez avec 17 d’emblée

Content Guerre-éclair : L’mariage en Blackjack sauf que du Pupille Une des raison pour laquelle des casinos un brin sug nt-ceux-ci des tours non payants? Apostrophez un bonus de espaces gratis à l’exclusion de annales et de archive Jemlit.com : Les bouteilles mystères aux différents attestations pourboire À faire Stage de l’or & Aciers Chérot

26 emploi en compagnie de empocher pour la maille repartez avec 17 d’emblée Leer más »

Top dix attention salle de jeu un brin monnaie effectif avec incertain

Aisé Betclic : s des crédits accordées Méthodes des crédits modernes Casinos un peu de recul diapositive : Top sept en france dans 2026 Les ecellents casinos un brin à l’exclusion de contrôle / KYC – Numéro rapide Donner votre casino avec le recul direct : 3 avantages Unique comme Hé Nos deposits sont instantanés

Top dix attention salle de jeu un brin monnaie effectif avec incertain Leer más »

Casino quelque peu prime en compagnie de opportune sans nul conserve, checklist des arguments

Content Prime sans nul classe ou avec conserve : ce qui réveille assez Découvrir Mien Bonus De Bienvenue Avec Salle de jeu Tours sans frais D’excellents gaming live avec les titres chercheurs approuvés Betsoft , ! Yggdrazil Antérieurement cet’écrit : votre dont’un crit sans avoir í annales chamboule vraiment Comparatif des jeux en compagnie de

Casino quelque peu prime en compagnie de opportune sans nul conserve, checklist des arguments Leer más »

We discover commission for advertising the brand new brands noted on these pages

We utilized my personal Diamonds to get Speeds up, increasing my personal gameplay and you may helping me personally profit much more 100 % free Sweeps Coins. Highest 5 Local casino differentiates itself from other sweepstakes gambling enterprises having Expensive diamonds, and therefore can’t be purchased however, attained because of leaderboard pressures, sweeps play, otherwise

We discover commission for advertising the brand new brands noted on these pages Leer más »

Prepare for a thrilling gaming sense during the Juwa Gambling enterprise!

For each and every online game has its novel laws and you will gameplay aspects, it is therefore crucial that you devote some time to explore the choices. The working platform also offers a user-amicable program, safe deals, and a wide selection of online game, it is therefore a fantastic choice to own JUWA enthusiasts.

Prepare for a thrilling gaming sense during the Juwa Gambling enterprise! Leer más »

At the VegasSlotsOnline, we do not just price gambling enterprises-i make you trust to tackle

In most cases, earnings out of bonuses is actually credited to your account while the incentive currency Have the best no deposit bonuses which can be on the market from the very best British web based casinos. Keep reading to discover the best no deposit bonuses at best gambling enterprises in the uk. When you

At the VegasSlotsOnline, we do not just price gambling enterprises-i make you trust to tackle Leer más »

We had been also very pleased to your receptive and you can professional buyers support

How big is the advantage alone wouldn’t flow the fresh needle and you can while new to the industry of internet casino, you’ll end up completely aware that small print extremely condition the grade of the brand new casino added bonus. I always sample the standard of all the the fresh new casinos’ customer support

We had been also very pleased to your receptive and you can professional buyers support Leer más »