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

Sin categoría

No deposit Bingo Websites goldbet app December 2024 Totally free British Also offers

Articles Goldbet app | Totally free Revolves to the Bass Baggin’ from the Extreme Loony Bingo Which is the Best On the internet Roulette Extra? Particular no deposit incentives may need unique no-deposit bonus rules. As with every other casino incentives, no-deposit incentive rules commonly hidden or difficult to find. There are him or her […]

No deposit Bingo Websites goldbet app December 2024 Totally free British Also offers Leer más »

Better play regal casino united kingdom Online gambling Sites & Casinos in the 2024 Online game & Activities

With the instructions and casino recommendations, there are the major 10 casinos in the Europe with just a just click here. Euro ‘s the currency of your own most of European countries, however, certain countries have various other national currencies, and these are usually accepted.

Better play regal casino united kingdom Online gambling Sites & Casinos in the 2024 Online game & Activities Leer más »

Get the best The fresh No deposit Added ice hockey slot game bonus Codes to possess Uk Gambling enterprises within the 2024

Content Bingo Online game | ice hockey slot game An informed Kind of Online game Available in 10 No-deposit Gambling enterprises The brand new promo password can be cause an alternative provide that is provided so you can not one person otherwise however, those who understand password. In addition to just having an enjoyable daily

Get the best The fresh No deposit Added ice hockey slot game bonus Codes to possess Uk Gambling enterprises within the 2024 Leer más »

No-deposit Cellular Gambling enterprise Bonuses 2024 Totally free Spins & Potato chips betzoid evolution slot com

Content Best local casino programs for real profit 2024 – evolution slot No-deposit Incentives and no Betting Criteria Cellular Casino Acceptance Extra No-deposit To fulfill the fresh high needs nowadays’s cellular-savvy United states bettors, of many gambling establishment software invest in incentives and you can promotions personal to help you cellular app profiles. You might

No-deposit Cellular Gambling enterprise Bonuses 2024 Totally free Spins & Potato chips betzoid evolution slot com Leer más »

Bonos Desprovisto Tanque en Argentina 2026 ¡Reclamalo Gratis!

Asegúrate de elegir una contraseña cual podrí­a llegar a ser fiable y sola. Es fundamental en caso de que quieres acceder en las bonos sin tanque. Registrarte desplazándolo hacia el pelo repasar tu perfil en un casino en internet serí­a un procedimiento relativamente agradable. Sin poder arrinconar hacen de ganancias, vas a cumplir a los

Bonos Desprovisto Tanque en Argentina 2026 ¡Reclamalo Gratis! Leer más »

Casino Bono Carente Depósito Giros Gratuito así­ como Promociones 2026

Las bonos referente a competente podrían existir restricciones al momento arrinconar las ganancias. Sin comenzar a utilizar expresado bono, se puede leer las términos y características, para ni. Levante es otro tipo de bono casino falto depósito Chile ordinario desplazándolo hacia el pelo conocido dentro de las jugadores. Durante mayoría sobre situaciones, los casinos que

Casino Bono Carente Depósito Giros Gratuito así­ como Promociones 2026 Leer más »

Casino Bono Desprovisto Depósito Giros Gratis desplazándolo hacia el pelo Promociones 2026

Los bonos sobre eficaz pueden tener restricciones en la spinia.io/es/iniciar-sesion hora de apartar los ganancias. Suin comenzar a usar proverbio bono, es conveniente atender los palabras y no ha transpirado modos, por si acaso. Oriente serí­a otro tipo de bono casino desprovisto tanque Portugal común así­ como acreditado dentro de las jugadores. Durante mayoridad de

Casino Bono Desprovisto Depósito Giros Gratis desplazándolo hacia el pelo Promociones 2026 Leer más »

Mejores Bonos Falto Tanque referente a México 2026

La DGOJ deja bonos falto tanque todo el tiempo que nuestro cirujano cumpla con el pasar del tiempo los límites y esencia establecidos para defender en el jugador. Quizás os interesen diferentes clasificaciones sobre bonos sobre casino. De beneficiarse al máximum las bonos falto tanque referente a casinos así­ como convertir su ocasií³n referente a

Mejores Bonos Falto Tanque referente a México 2026 Leer más »

Slots Gratuito: + 4000 Tragamonedas Falto Soltar

Las 25 giros sin cargo desprovisto depósito poseen múltiples beneficios para los jugadores, especialmente de aquellos que son cero millas acerca de las casinos en línea. Por ejemplo, podrás encontrarse una treintena momentos para seguir con los instalaciones de envite sobre un bono sobre casino sin depósito. Explora una listado para los casinos desplazándolo hacia

Slots Gratuito: + 4000 Tragamonedas Falto Soltar Leer más »