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

Sin categoría

Sincronización Multidispositivo: Desarrollo desplazándolo hacia el pelo Mañana de el Vivencia sobre Esparcimiento Unificada

Content ¿Todas las clasificaciones sobre tragamonedas en internet que puedes encontrar referente a Slotozilla? Wpłaty w epicstar casino: przewodnik po metodach frí­o invernal bezpieczeństwie Diferencias entre las tragamonedas 3D desplazándolo hacia el pelo los clásicas Las bonos sobre recibo resultan una de estas ofertas más profusamente atractivas que las casinos en internet De cualquier parte […]

Sincronización Multidispositivo: Desarrollo desplazándolo hacia el pelo Mañana de el Vivencia sobre Esparcimiento Unificada Leer más »

Tragaperras nuevas 2026 Tragamonedas gratuito de mayor novedosas

Content Juguetear tragamonedas regalado falto eximir referente a SlotJava.serí­a ¿Deben los slots nuevas mejores gráficos y estruendo? Tragaperras novedosas Las grados de software están explorando sobre cómo podrían ofrecer biografía a sus tragamonedas novedosas hacia la última ciencia VR. NetEnt inició esa tendencia cuando lanzó una versión VR sobre algunos de sus juegos de mayor

Tragaperras nuevas 2026 Tragamonedas gratuito de mayor novedosas Leer más »

2927+ Juegos de Casino Sin cargo Online así­ como Slots Regalado

Content Casinos joviales blackjack online en Chile Acerca de cómo Seleccionar los Mejores Juegos de Máquinas Tragaperras Gratuito Clases de tragaperras gratuito de juguetear en BeTagaperras.es Tragamonedas de video Serás absolutamente una leyenda mientras juegas en el caso de que nos lo olvidemos ayudarás en demás personajes a volumen cual avanza nuestro entretenimiento. Igual que

2927+ Juegos de Casino Sin cargo Online así­ como Slots Regalado Leer más »

How do i initiate to relax and play on the a good bona-fide currency harbors web site?

Pick the best updates � When you should calm down and you may play on the a bona fide money reputation site, prefer ports with high RTP. On these, you will statistically eliminate less cash ultimately. Choose the best playstyle � Your odds of successful in one spin disagree depending on the status you select.

How do i initiate to relax and play on the a good bona-fide currency harbors web site? Leer más »

How to initiate to relax and play regarding a bona fide currency slots web site?

Select the right status � When you should relax and play throughout the a bona-fide money reputation webpages, favor slots with a high RTP. On these, you will mathematically lose less of your budget in the course of time. Select the right playstyle � Your chances of winning in one spin differ according to the

How to initiate to relax and play regarding a bona fide currency slots web site? Leer más »

2927+ Juegos de Casino Sin cargo Online desplazándolo hacia el pelo Slots Gratuito

Content Casinos joviales blackjack online referente a Chile Cómo Designar los Más grandes Juegos sobre Máquinas Tragaperras Sin cargo Clases de tragaperras regalado para juguetear acerca de BeTagaperras.serí­a Tragamonedas de video Serás toda la historia mientras juegas o ayudarás a otras personajes a medida cual avanza nuestro juego. Como demasiadas diferentes industrias, el mercado para

2927+ Juegos de Casino Sin cargo Online desplazándolo hacia el pelo Slots Gratuito Leer más »

Los excelentes tragamonedas online del 2024

Content Casino Whamoo Casino Hazte Elemento acerca de España Clovers of… ¿Tengo que pagar impuestos por lo que gane acerca de las tragaperras? Preguntas Serios SLOT.COM Ademí¡s tenemos ingentes bonos sobre PokerStars Casino tanto para jugadores más igual que de jugadores existentes, y no ha transpirado en ocasiones se podrí¡ dar con promociones combinadas si

Los excelentes tragamonedas online del 2024 Leer más »

Las superiores tragamonedas online del 2024

Content Casino Whamoo Casino Hazte Falo sobre Argentina Clovers of… ¿Tengo que retribuir impuestos debido a que gane acerca de los tragaperras? Dudas Comprometidos SLOT.COM Además existe numerosos bonos referente a PokerStars Casino lo tanto para jugadores más igual que de jugadores existentes, así­ como en ocasiones se podrí¡ encontrar promociones combinadas si también juegas

Las superiores tragamonedas online del 2024 Leer más »

Inside modern point in time regarding playing, as long as need to set off hitting the this new harbors

Most readily useful Slot machines the real deal Currency Casino games (2026) Obviously, each legitimate betting website, there was https://coincasino-br.br.com/login/ a fraud web site. But not, should you decide a bit of research, you could potentially easily be on the right path to successful real cash which have toward-line casino ports. On line Slot machines

Inside modern point in time regarding playing, as long as need to set off hitting the this new harbors Leer más »

Contained in this modern point in time from betting, provided need certainly to set off showing up in the fresh new ports

Top Slots genuine Money Online casino games (2026) Without a doubt, for every legitimate betting webpages, you will find a scam site. not, should you a bit of research, you can rapidly get on your way in order to effective real money with into-range casino ports. On line Slot machines The real deal Money Your

Contained in this modern point in time from betting, provided need certainly to set off showing up in the fresh new ports Leer más »