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

Sin categoría

Wat is een bridge-cyclus en wanneer is deze de moeite waard?

Een bridge-cyclus is een specifieke periode in de trainings- en dieetfase van sporters, vaak gebruikt door bodybuilders en atleten die met anabole steroïden werken. Dit type cyclus is bedoeld om de overgang tussen een anabole cyclus (waarbij actieve steroïden worden gebruikt) en een off-cyclus (waarbij de steroïden worden gestopt) te vergemakkelijken. Een bridge-cyclus maakt gebruik […]

Wat is een bridge-cyclus en wanneer is deze de moeite waard? Leer más »

Les Effets de Strombafort : Ce que les Athlètes Doivent Savoir

Strombafort est un produit souvent utilisé par les athlètes pour améliorer leurs performances physiques et favoriser la prise de muscle. Son utilisation est courante dans le milieu sportif, que ce soit dans la musculation, les sports d’endurance ou encore les disciplines où la force est essentielle. Cet article vous donnera un aperçu de ses effets,

Les Effets de Strombafort : Ce que les Athlètes Doivent Savoir Leer más »

Les Effets de l’Oxandrolone : ce que vous devez savoir

L’oxandrolone, un stéroïde anabolisant dérivé de la testostérone, est largement reconnu pour ses effets stimulants sur la masse musculaire et la performance athlétique. Utilisé à la base pour traiter des maladies telles que la perte de poids et la fonte musculaire, ce composé suscite de nombreux débats concernant ses utilisations dans le milieu du sport.

Les Effets de l’Oxandrolone : ce que vous devez savoir Leer más »

Tout savoir sur l’Oxandro 25 mg de Fulmen Pharma

Introduction L’Oxandro 25 mg de Fulmen Pharma est un produit phare dans le domaine de la pharmacologie sportive. Reconnu pour ses effets anabolisants, il est souvent utilisé par les athlètes et les bodybuilders pour améliorer leurs performances physiques et leur composition corporelle. Cet article vous fournira des informations essentielles sur ce produit, ses usages, et

Tout savoir sur l’Oxandro 25 mg de Fulmen Pharma Leer más »

Mk2866 10 10 w kulturystyce: Przewodnik po stosowaniu

Spis treści Co to jest Mk2866? Jak działa Mk2866? Zalety i wady Mk2866 Dawkowanie Mk2866 Gdzie kupić Mk2866? Co to jest Mk2866? Mk2866, znany również jako Ostarine, to selektywny modulator receptorów androgenowych (SARM), który znalazł swoje zastosowanie głównie w kulturystyce i sporcie. Jego zadaniem jest wspieranie procesu budowania masy mięśniowej oraz zwiększania wydolności organizmu, co

Mk2866 10 10 w kulturystyce: Przewodnik po stosowaniu Leer más »

Betfred Extra Southern Africa: Multiple Acceptance Offer Informed me

Articles Paddy power sportsbook promo | Betfred Promo Password: Wager £ten Score £50 100 percent free Bets – November 2026 The newest Harbors from the Betfred What sports do i need to bet on with Betfred? Although not, there are one week to use them, you obtained’t getting rushed, and the other £31 inside totally

Betfred Extra Southern Africa: Multiple Acceptance Offer Informed me Leer más »

Bonus Bet Now offers: An introduction to Sportsbook Added bonus Wager Promotions

Articles Formula 1 russian grand prix 2024 – Football Bonus Calculator Betting Restrictions What’s the better kind of sports betting promo? The newest winnings away from a plus Wager commonly susceptible to a rollover requirements and can become taken. Setting a bonus Bet on you to definitely side of a meeting and you will hedging

Bonus Bet Now offers: An introduction to Sportsbook Added bonus Wager Promotions Leer más »

2026 Us Open: PGA Concert tour betting possibility, futures selections and you can champ information

Content Vuelta a espana odds: All of us Open betting selections Ideas on how to pursue (all of the times ET) Their earn during the Valderrama simply 14 days back functions as various other note away from just how comfy he or she is to your requiring, proper tennis courses, when you are his victory

2026 Us Open: PGA Concert tour betting possibility, futures selections and you can champ information Leer más »

Activities Greeting Offer Get Incentive to have Wagering Highbet

Content Deposit & Detachment Choices from the TonyBet (Current – netbet cricket betting tips cuatro Tonybet Places and you may Withdrawals TonyBet Extra Rules November 2026 Incentives and you will advertisements TonyBet No deposit Incentives All of the matches that will be held on the NBA try high in order to get started the fresh

Activities Greeting Offer Get Incentive to have Wagering Highbet Leer más »