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

Sin categoría

Understanding the Effects of Clomimed 50 (Clomiphene Citrate 50 mg) by Deus Medical

Clomimed 50, containing Clomiphene Citrate at a dosage of 50 mg, is a medication primarily prescribed for the treatment of infertility in women. It plays a crucial role in stimulating ovulation and enhancing the chances of conception, making it an essential part of fertility therapy. Physicians commonly recommend this medication for women who have polycystic […]

Understanding the Effects of Clomimed 50 (Clomiphene Citrate 50 mg) by Deus Medical Leer más »

Ako predísť poruchám spánku pri užívaní steroidov

Užívanie steroidov môže mať rôzne účinky na telo, vrátane problémov so spánkom. Mnoho ľudí, ktorí užívajú steroidy, sa sťažuje na bezsenné noci a ťažkosti s usínaním. Tento článok poskytuje užitočné tipy, ako predchádzať poruchám spánku spôsobeným užívaním steriodov. https://www.e-bitlis.com/ako-predist-porucham-spanku-pri-uzivani-steroidov/ 1. Dodržiavanie pravidelného spánkového režimu Pravidelný spánkový režim je dôležitý pre reguláciu vnútorných hodín tela. Snažte

Ako predísť poruchám spánku pri užívaní steroidov Leer más »

Understanding Trenbolone Enanthate 200 Mg: Effects and Insights from Swiss Pharmaceuticals

Trenbolone Enanthate is a potent anabolic steroid widely used in the bodybuilding and fitness communities. Known for its remarkable ability to promote muscle growth, strength gains, and fat loss, this compound has garnered significant attention. This article will delve into the effects of Trenbolone Enanthate 200 Mg from Swiss Pharmaceuticals, including its benefits, potential side

Understanding Trenbolone Enanthate 200 Mg: Effects and Insights from Swiss Pharmaceuticals Leer más »

Understanding Test P 100 Dosage: Guidelines and Best Practices

Test P 100, known as testosterone propionate 100mg, is an anabolic steroid widely used by bodybuilders and athletes to enhance performance and muscle growth. Its quick-acting formulation allows for faster gains compared to other types of testosterone. However, understanding the proper dosage is critical for maximizing benefits while minimizing potential side effects. https://rwhproperty.ca/understanding-test-p-100-dosage-a-comprehensive-guide/ 1. Recommended

Understanding Test P 100 Dosage: Guidelines and Best Practices Leer más »

Understanding Test E 250 Dosage for Optimal Gains

Testosterone Enanthate, commonly referred to as Test E 250, is a popular anabolic steroid used by athletes and bodybuilders to enhance performance, increase muscle mass, and reduce recovery times. However, to achieve the desired results while minimizing side effects, understanding the appropriate dosage is crucial. https://medicaljac.com/2026/09/01/understanding-test-e-250-dosage-for-optimal-results/ Recommended Dosage Guidelines The recommended dosage for Test E

Understanding Test E 250 Dosage for Optimal Gains Leer más »

The Impact of Turinabol on Bodybuilding

Turinabol, an anabolic steroid originally developed in East Germany, has gained attention in the bodybuilding community due to its ability to promote lean muscle gains while minimizing side effects. Bodybuilders often seek substances that can enhance their performance and physique, and Turinabol has proven to be an intriguing option for many. https://betterbehaviors.com/the-role-of-turinabol-in-bodybuilding-an-in-depth-overview/ What is Turinabol?

The Impact of Turinabol on Bodybuilding Leer más »

Test E 250 Bodybuilding: Understanding Its Role and Benefits

Testosterone Enanthate, commonly referred to as Test E 250, is a well-known anabolic steroid in the bodybuilding community. It is favored for its ability to help athletes and bodybuilders gain muscle mass, increase strength, and improve athletic performance. Understanding the usage, benefits, and side effects of Test E 250 is crucial for anyone considering its

Test E 250 Bodybuilding: Understanding Its Role and Benefits Leer más »

Understanding the Winstrol Oral Course: Benefits, Dosage, and Considerations

Winstrol, also known as Stanozolol, is a popular anabolic steroid that athletes and bodybuilders frequently use to enhance performance and improve physique. It is available in both oral (tablet) and injectable forms, with the oral version being favored for its convenience. However, anyone considering a Winstrol oral course should be well-informed about its benefits, recommended

Understanding the Winstrol Oral Course: Benefits, Dosage, and Considerations Leer más »

Understanding the Winstrol Effect: Benefits, Risks, and Insights

The Winstrol Effect refers to the physiological and psychological impacts associated with the use of Winstrol, a popular anabolic steroid derived from dihydrotestosterone (DHT). Athletes and bodybuilders often turn to Winstrol for its purported benefits in enhancing physical performance and improving body composition. However, the use of this steroid is not without its risks and

Understanding the Winstrol Effect: Benefits, Risks, and Insights Leer más »

Differences between Clenbuterol and Ephedrine

Clenbuterol and ephedrine are two compounds often used for their stimulant effects, aiding in weight loss and enhancing athletic performance. However, despite their similarities, these two substances have distinct properties, applications, and potential side effects. Understanding these differences is crucial for anyone considering their use. https://habpad.co.nz/differences-between-clenbuterol-and-ephedrine/ 1. Chemical Structure and Classification Clenbuterol is classified as

Differences between Clenbuterol and Ephedrine Leer más »