/** * 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(); xtw18387544d – Página 10807 – Partidas de San Luis

xtw18387544d

Understanding Testosterone Dosage: A Comprehensive Guide

Testosterone is a vital hormone in both men and women, playing a crucial role in various bodily functions, including muscle mass, energy levels, and overall well-being. However, the optimal dosage of testosterone can vary significantly based on individual health needs, age, and treatment goals. https://www.e-bitlis.com/understanding-testosterone-dosage-a-comprehensive-guide/ The Importance of Proper Testosterone Dosage Getting the dosage right […]

Understanding Testosterone Dosage: A Comprehensive Guide Leer más »

Understanding the Tamoxifen Course: A Comprehensive Overview

Tamoxifen is a well-known medication primarily used in the treatment and prevention of breast cancer. It acts as a selective estrogen receptor modulator (SERM), meaning it can block the effects of estrogen in breast tissue while mimicking estrogen in other tissues, which can be protective against osteoporosis and heart disease. In this article, we will

Understanding the Tamoxifen Course: A Comprehensive Overview Leer más »

Dosificación de Testosterone Cypionate 250: Guía Completa

La testosterona cypionate es una forma sintética de la testosterona, utilizada comúnmente en tratamientos de terapia de reemplazo hormonal y también en ámbitos de culturismo y fitness. La dosificación del testosterone cypionate 250 es un aspecto importante a considerar para asegurar su efectividad y seguridad. ¿Qué es el Testosterone Cypionate 250? El testosterone cypionate 250

Dosificación de Testosterone Cypionate 250: Guía Completa Leer más »

Melhor loja de esteroides injetáveis em Portugal

«`html Introdução Se você está em busca da melhor loja de esteroides injetáveis em Portugal, é essencial conhecer as opções disponíveis no mercado, bem como a qualidade dos produtos oferecidos. A escolha do fornecedor certo pode fazer toda a diferença nos resultados que você deseja alcançar. https://migdalecastle.com/uncategorized/melhor-loja-de-esteroides-injetaveis-em-portugal/ Por que escolher uma loja confiável? A escolha

Melhor loja de esteroides injetáveis em Portugal Leer más »

Esteroides y Dopaje en Competiciones: Una Problema Persistente

El uso de esteroides anabólicos y otras sustancias prohibidas en el ámbito del deporte es un fenómeno que ha generado controversia y debate durante décadas. A pesar de los esfuerzos por erradicarlo, el dopaje sigue siendo una práctica común que afecta la integridad de las competiciones deportivas y la salud de los atletas. https://mebel-ka.org/bez-rubriki/esteroides-y-dopaje-en-competiciones-un-analisis-integral/ Definición

Esteroides y Dopaje en Competiciones: Una Problema Persistente Leer más »

Succinato De Solifenacina y su Aplicación en el Culturismo

El succinato de solifenacina es un compuesto que ha atraído la atención de los entusiastas del culturismo debido a sus potenciales efectos en la mejora del rendimiento y la recuperación muscular. Este fármaco, que usualmente se utiliza para tratar trastornos urinarios, está comenzando a ser explorado en el ámbito del fitness por sus propiedades únicas

Succinato De Solifenacina y su Aplicación en el Culturismo Leer más »

Steroïden en Herstel: Strategieën voor Snel Herstel en Verhoging van de Trainingsfrequentie

Inhoudsopgave Inleiding De betekenis van steroïden voor herstel Strategieën voor snel herstel Verhogen van de trainingsfrequentie Conclusie Inleiding Steroïden zijn een onderwerp van discussie binnen de sportwereld, vooral als het gaat om herstel en trainingsprestaties. Veel atleten en trainers zijn op zoek naar methoden om het herstelproces te versnellen en de trainingsfrequentie te verhogen. Dit

Steroïden en Herstel: Strategieën voor Snel Herstel en Verhoging van de Trainingsfrequentie Leer más »

Esteroides Anabólicos: Comprar en España de Forma Segura y Legal

Los esteroides anabólicos son compuestos que imitan la acción de la testosterona en el cuerpo humano, promoviendo el crecimiento muscular y la mejora del rendimiento deportivo. En España, la compra y uso de estos compuestos puede generar dudas y confusiones entre quienes desean utilizarlos, ya sea para mejorar su físico o alcanzar objetivos deportivos. En

Esteroides Anabólicos: Comprar en España de Forma Segura y Legal Leer más »

Primobolan Metenolon Injektionen Kur: Eine Ausführliche Anleitung für Sportler in Belgien

Inhaltsverzeichnis Einführung Was ist Primobolan? Wirkungen und Vorteile Dosierung und Anwendung Nebenwirkungen Rechtliche Aspekte in Belgien Schlussfolgerung Einführung Die Verwendung von Steroiden im Sport ist ein umstrittenes Thema, insbesondere wenn es um die Leistungssteigerung geht. In diesem Artikel werden wir uns eingehend mit Metenolon, besser bekannt als Primobolan, sowie den Injektionen und den damit verbundenen

Primobolan Metenolon Injektionen Kur: Eine Ausführliche Anleitung für Sportler in Belgien Leer más »

Vardenafil Une Révolution pour les Athlètes Performance et Endurance

Le Vardenafil est bien plus qu’un simple médicament, c’est un allié de choix pour les sportifs aspirant à optimiser leur performance. Connu pour son efficacité, ce produit est souvent utilisé pour améliorer l’endurance physique et soutenir les efforts lors des séances d’entraînement intenses. Grâce à sa capacité à augmenter le flux sanguin, le Vardenafil aide

Vardenafil Une Révolution pour les Athlètes Performance et Endurance Leer más »