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

Sin categoría

Understanding Proviron Dosage for Optimal Performance

Proviron, also known as Mesterolone, is an anabolic androgenic steroid often used by bodybuilders and athletes to improve performance and enhance muscularity. However, to achieve optimal results while minimizing side effects, a proper understanding of Proviron dosage is crucial. This article aims to provide insights into recommended dosages, the benefits of its use, and important […]

Understanding Proviron Dosage for Optimal Performance Leer más »

Understanding the Testosterone Enanthate 250 Course

Testosterone Enanthate is a popular anabolic steroid that is widely used by bodybuilders and athletes to enhance performance, increase muscle mass, and improve recovery times. This article provides an overview of the Testosterone Enanthate 250 course, including its benefits, dosage, and potential side effects. https://bumdesbogawarga.com/understanding-the-testosterone-enanthate-250-course/ Benefits of Testosterone Enanthate 250 Using Testosterone Enanthate can provide

Understanding the Testosterone Enanthate 250 Course Leer más »

Uso Efficace degli Steroidi per Perdere Peso: Una Guida Completa per i Culturisti

Negli ultimi anni, il mondo del fitness e del culturismo ha visto una crescente popolarità nell’uso degli steroidi anabolizzanti, in particolare tra coloro che cercano di perdere peso rapidamente senza compromettere la massa muscolare. Sebbene l’uso di steroidi comporti dei rischi, comprese le potenziali conseguenze legali e sanitarie, è possibile utilizzarli in modo responsabile e

Uso Efficace degli Steroidi per Perdere Peso: Una Guida Completa per i Culturisti Leer más »

Perché il PCT è Importante Quanto il Ciclo Stesso

Quando parliamo di allenamenti intensivi e di guadagni muscolari, il focus è spesso posto sul ciclo di steroidi o integratori. Tuttavia, è fondamentale non trascurare l’importanza del PCT, ovvero il Post Cycle Therapy. Questo processo è essenziale per recuperare l’equilibrio ormonale del corpo dopo un ciclo e garantire risultati duraturi. Ecco perché il PCT è

Perché il PCT è Importante Quanto il Ciclo Stesso Leer más »

Perché Sustanon 250 è uno dei preparati di testosterone più popolari

Sustanon 250 è un preparato a base di testosterone molto utilizzato nel mondo della medicina e del fitness. La sua popolarità deriva da una combinazione di fattori che lo rendono un’opzione interessante per molti utenti. In questo articolo, esploreremo le ragioni dietro il successo di Sustanon 250 e perché è considerato un’eccellente scelta per la

Perché Sustanon 250 è uno dei preparati di testosterone più popolari Leer más »

Methenolone Acetate: How to Take It Safely and Effectively

Methenolone Acetate, commonly known as Primobolan, is an anabolic steroid that is often used by bodybuilders and athletes to enhance performance and improve body composition. Although it is considered one of the milder steroids, proper usage is crucial to minimize potential side effects and maximize benefits. For detailed guidance on the safe and effective use

Methenolone Acetate: How to Take It Safely and Effectively Leer más »

Understanding the Tren A 100 Effect

Tren A 100, or Trenbolone Acetate, is a powerful anabolic steroid that has gained popularity among bodybuilders and athletes for its ability to promote rapid muscle growth and increase strength. However, understanding its effects, benefits, and potential risks is essential for anyone considering its use. https://beproductive.me/2026/04/05/understanding-the-effects-of-tren-a-100/ Key Effects of Tren A 100 Increased Muscle Mass:

Understanding the Tren A 100 Effect Leer más »

Understanding the Effects of Tren E 200: An In-Depth Look

Tren E 200, or Trenbolone Enanthate, is a powerful anabolic steroid widely used by bodybuilders and athletes to enhance their performance and physique. Known for its ability to promote muscle gain and fat loss, Tren E 200 has garnered significant attention in the fitness community. However, like any potent substance, it comes with a range

Understanding the Effects of Tren E 200: An In-Depth Look Leer más »

Understanding the Effects of Testosterone Phenylpropionate

Testosterone Phenylpropionate is a synthetic anabolic steroid that has gained popularity among athletes and bodybuilders seeking to enhance their performance and physique. As a derivative of testosterone, it offers many benefits while also carrying potential side effects. Understanding its effects is crucial for anyone considering its use. https://www.remodelingpittsburgh.com/2026/03/29/understanding-the-effects-of-testosterone-phenylpropionate/ Effects of Testosterone Phenylpropionate The primary effects

Understanding the Effects of Testosterone Phenylpropionate Leer más »

Understanding Trenbolone Enanthate 200 Dosage

Trenbolone Enanthate is a potent anabolic steroid that is popular among bodybuilders and athletes for its ability to help increase muscle mass and enhance performance. One of the key aspects of using Trenbolone Enanthate safely and effectively is understanding the appropriate dosage. For more detailed information on Trenbolone Enanthate 200 dosage, you can visit this

Understanding Trenbolone Enanthate 200 Dosage Leer más »