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

Sin categoría

Czemu informacje o dostawcach w Lotto Casino są istotne dla doświadczonego gracza

Szukając kasyno online, na przykład Lotto Casino, zwracam uwagę nie tylko na liczbę gier. Sprawdzam na to, kto je zrobił. Lista dostawców, często umieszczona w stopce lub w dziale „o nas”, to dla mnie podstawa do odkrycia, z jaką platformą mam do czynienia. To nie są przypadkowe nazwy. To wyraźni producenci, którzy determinują o wszystkim: […]

Czemu informacje o dostawcach w Lotto Casino są istotne dla doświadczonego gracza Leer más »

Trendy Fruit Madness Position Review & play double exposure blackjack pro series low limit online money Totally free Enjoy

The best part is that learning the overall game try a cakewalk. This really is one of the best games so you can earn real money punctual. Let’s read the finest repaid and you will 100 percent free games to help you win real money and begin an enjoyable top hustle! Well, we’ve curated a

Trendy Fruit Madness Position Review & play double exposure blackjack pro series low limit online money Totally free Enjoy Leer más »

Turinabol pour Optimiser vos Performances Sportives

Le Turinabol est un anabolic stéroïde réputé pour sa capacité à améliorer les performances sportives et la composition corporelle. Idéal pour les athlètes et les bodybuilders, ce produit offre des avantages significatifs lorsqu’il est utilisé correctement. Sa formule unique permet d’accroître la force et l’endurance, tout en réduisant la fatigue musculaire pendant l’entraînement. De plus,

Turinabol pour Optimiser vos Performances Sportives Leer más »

The fruits slot Tale

Posts Fruits slot – Rates details Friendship and you will long-lasting like No-deposit Incentives Thus happy with the way it all turned away! Ry of use on the procedure together with high recommendations for providers, many of which we went with. Ashley try invaluable for both the rehearsal and you may prior to/within the ceremony.

The fruits slot Tale Leer más »

Les mystères des stéroïdes et leur détection difficile

Dans le monde du sport de haut niveau et de la musculation, l’utilisation de stéroïdes anabolisants est un sujet de controverse constante. Bien que certains athlètes cherchent à améliorer leurs performances grâce à ces substances, la détection de leurs usages constitue un défi majeur pour les autorités sportives. Notre produit, ‘Pourquoi certains stéroïdes sont difficiles

Les mystères des stéroïdes et leur détection difficile Leer más »

Impact de la testostérone dans la pharmacologie pour les sportifs

La testostérone, hormone clé dans le monde du sport et de la musculation, joue un rôle fondamental dans l’amélioration des performances athlétiques. Son utilisation dans le domaine de la pharmacologie sportive suscite un intérêt considérable, notamment en raison de ses effets bénéfiques sur la force musculaire, l’endurance et la récupération. Pour les athlètes cherchant à

Impact de la testostérone dans la pharmacologie pour les sportifs Leer más »

Efectos del Trenbolone Acetate y su Relación con los Péptidos

El Trenbolone Acetate es un esteroide anabólico que ha ganado popularidad entre los culturistas y atletas debido a sus potentes efectos en el aumento de masa muscular y mejora del rendimiento. Este compuesto, derivado de la nandrolona, se utiliza comúnmente en la cría de ganado, pero su uso en el ámbito deportivo ha suscitado una

Efectos del Trenbolone Acetate y su Relación con los Péptidos Leer más »

Cool Fruit because demi gods slot machine of the Redstone Demo Enjoy Position Games 100% 100 percent free

Posts Demi gods slot machine: After you’ve played $4000, any left fund on your own incentive equilibrium try changed into actual money and you may moved to your money equilibrium The newest revolves on their own could be totally free, but payouts tend to have requirements. When you compare no deposit bonuses, a few secret

Cool Fruit because demi gods slot machine of the Redstone Demo Enjoy Position Games 100% 100 percent free Leer más »

Oxymetholone 50 mg Swiss Pharmaceuticals y su Relación con Ciclos de Insulina

El Oxymetholone, un esteroide anabólico potente, es ampliamente utilizado en el mundo del culturismo y la mejora del rendimiento deportivo. Su uso junto con preparados de insulina ha ganado popularidad entre los atletas que buscan maximizar sus ganancias musculares y mejorar su rendimiento. En este artículo, exploraremos las características del Oxymetholone 50 mg de Swiss

Oxymetholone 50 mg Swiss Pharmaceuticals y su Relación con Ciclos de Insulina Leer más »