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

Sin categoría

How to Take Test E 250 for Optimal Results

Testosterone Enanthate, commonly known as Test E 250, is a popular anabolic steroid among bodybuilders and athletes. It’s praised for its ability to promote muscle mass, strength, and overall athletic performance. However, to achieve optimal results and minimize side effects, it is crucial to understand how to take Test E 250 correctly. https://boisier.com/how-to-properly-take-test-e-250-for-optimal-results/ 1. Understanding […]

How to Take Test E 250 for Optimal Results Leer más »

Triptorelin and Its Role in Bodybuilding

Triptorelin, a gonadotropin-releasing hormone (GnRH) analog, has garnered attention in the bodybuilding community for its potential benefits in performance enhancement and physique improvement. Bodybuilders are always on the lookout for substances that can help them achieve their goals, and triptorelin has emerged as a potential ally in optimizing hormone levels and body composition. https://dinkelbakery.co.za/triptorelin-and-bodybuilding-a-comprehensive-guide/ What

Triptorelin and Its Role in Bodybuilding Leer más »

Best United states No-deposit Gambling enterprises 2026 100 percent free Potato chips, Zero Cards

Articles Stick to the Local casino.Let Give Hook up What exactly are No-deposit Gambling enterprise Incentives? Enjoy Ports For free However, Win Real cash What is a no-deposit Gambling establishment Extra? All of our better selections give enjoyable no-deposit bonuses that allow your gamble and win rather than investing https://happy-gambler.com/extra-wild/ a penny. This may vary

Best United states No-deposit Gambling enterprises 2026 100 percent free Potato chips, Zero Cards Leer más »

Understanding Tribulus Terrestris Dosage for Optimal Results

Tribulus Terrestris, a flowering plant commonly used in traditional medicine, is known for its potential benefits on athletic performance, libido enhancement, and hormone regulation. However, like any supplement, it is crucial to understand the appropriate dosage to maximize its effects while minimizing potential side effects. https://www.formacionquality.es/understanding-tribulus-terrestris-dosage-for-optimal-results/ Recommended Dosage Determining the ideal dosage of Tribulus Terrestris

Understanding Tribulus Terrestris Dosage for Optimal Results Leer más »

Understanding Triptorelin Acetate Dosage

Triptorelin acetate is a synthetic hormone analog used primarily to treat conditions such as prostate cancer, endometriosis, and precocious puberty. It works by suppressing the release of certain hormones in the body, thereby reducing the levels of testosterone and estrogen. Proper dosage is crucial for maximising its therapeutic benefits while minimizing potential side effects. For

Understanding Triptorelin Acetate Dosage Leer más »

How to Take Tren E 200: A Comprehensive Guide

Tren E 200, or Trenbolone Enanthate, is a powerful anabolic steroid used primarily for enhancing muscle mass and strength. However, proper usage is crucial for maximizing benefits while minimizing potential side effects. Understanding how to take Tren E 200 safely and effectively is essential for anyone considering this compound in their fitness regimen. https://habpad.co.nz/how-to-take-tren-e-200-a-comprehensive-guide/ Understanding

How to Take Tren E 200: A Comprehensive Guide Leer más »

Problem Reporting and Issue Resolution for 40 Super Hot Slot in UK

As a dedicated player and technical advisor for this classic fruity favourite, I know how annoying a technical hiccup can be 40superhot.eu.com. My goal is to be your straightforward guide for reporting bugs and getting issues resolved swiftly. Whether you’re in London, Manchester, or Cardiff, I’ll walk you through the specific steps to take, what

Problem Reporting and Issue Resolution for 40 Super Hot Slot in UK Leer más »

Understanding the Yohimbine Course: Benefits, Uses, and Considerations

Yohimbine is an alkaloid derived from the bark of the Pausinystalia yohimbe tree, native to West Africa. It has gained significant attention in recent years for its potential benefits in both enhancing sexual health and aiding in weight loss. In this article, we will delve into what a Yohimbine course entails, exploring its uses, benefits,

Understanding the Yohimbine Course: Benefits, Uses, and Considerations Leer más »