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

Sin categoría

Otestovali jsme SpinoGambino Casino 30 dní. Zde je to, co by měli znát hráči z Česka

Rozhodli jsme se, že SpinoGambino Casino prozkoumáme pořádně. Celý měsíc jsme zkoumali každý kout této platformy – od prvního kliknutí při registraci přes hry až po stahování výher. Chtěli jsme zjistit, jestli je to správná adresa pro české hráče. Tady jsou naše postřehy a zkušenosti. Výhody a promo akce Úvodní balíček pro začátečníky je bohatý, […]

Otestovali jsme SpinoGambino Casino 30 dní. Zde je to, co by měli znát hráči z Česka Leer más »

The Impact of Multi Ester Test 400 Pharmaqo Peptides in Bodybuilding

Bodybuilding is a discipline that requires dedication, hard work, and sometimes the assistance of performance-enhancing substances to achieve optimal results. One such substance that has gained popularity in the bodybuilding community is Multi Ester Test 400 by Pharmaqo Peptides. This potent blend of testosterone esters is designed to help athletes improve their muscle mass, enhance

The Impact of Multi Ester Test 400 Pharmaqo Peptides in Bodybuilding Leer más »

Understanding Tesamorelin Acetate Dosage: Guidelines and Recommendations

Tesamorelin acetate is a synthetic peptide used primarily for reducing excess abdominal fat in HIV-infected patients with lipodystrophy. Understanding the correct dosage is crucial for maximizing its benefits while minimizing potential side effects. Proper administration can lead to significant improvements in fat distribution and overall quality of life for those affected. For a comprehensive overview

Understanding Tesamorelin Acetate Dosage: Guidelines and Recommendations Leer más »

Understanding the Mod Grf 1 Course: A Comprehensive Guide

The Mod Grf 1 Course is designed to equip participants with essential knowledge and skills in the field of geospatial and cadastral information management. This training program is particularly relevant for those engaged in land registration, property management, and geospatial data handling. For a detailed overview, you can visit this link which provides insights into

Understanding the Mod Grf 1 Course: A Comprehensive Guide Leer más »

Understanding the Fiasp Pen 100 Course: A Comprehensive Overview

The Fiasp Pen 100 Course is an essential program designed for healthcare professionals to enhance their understanding of Fiasp, a rapid-acting insulin used for managing diabetes. This course aims to provide intricate details about the proper use, benefits, and potential challenges associated with Fiasp, ensuring that practitioners can better support their patients. For a more

Understanding the Fiasp Pen 100 Course: A Comprehensive Overview Leer más »

Les Bienfaits de l’Oxymétholone dans la Pratique Sportive

L’oxymétholone, un stéroïde anabolisant à effet puissant, est reconnu pour sa capacité à promouvoir une prise de masse musculaire rapide et significative. Utilisé par de nombreux athlètes et culturistes, ce produit est souvent favorisé pour ses propriétés permettant d’augmenter la force et l’endurance. En intégrant l’oxymétholone dans un programme d’entraînement rigoureux, les utilisateurs peuvent expérimenter

Les Bienfaits de l’Oxymétholone dans la Pratique Sportive Leer más »

Wodna Zawiesina Testosteronu – Jak Brać?

Spis treści Czym jest wodna zawiesina testosteronu? Jak brać wodną zawiesinę testosteronu? Skutki uboczne Podsumowanie Czym jest wodna zawiesina testosteronu? Wodna zawiesina testosteronu to forma syntetycznego hormonu testosteronu, stosowana w medycynie i kulturystyce. Stosuje się ją w terapii zastępczej u mężczyzn z niskim poziomem testosteronu, a także dla poprawy wydolności fizycznej u sportowców. Dzięki swojej

Wodna Zawiesina Testosteronu – Jak Brać? Leer más »

Vardenafil Levitra Generic: Koristi in Učinki

Vardenafil je zdravilo, ki spada v skupino zaviralcev fosfodiesteraze tipa 5 (PDE5), ki se uporablja za zdravljenje erektilne disfunkcije pri moških. Levitra je blagovna znamka za vardenafil, medtem ko je generična različica dostopna po nižji ceni in s podobnimi učinki. Ta članek se osredotoča na koristi in učinke vardenafila kot generične alternative Levitrinim zdravilom. https://mbfwtbilisi.online/vardenafil-levitra-generic-koristi-in-ucinki/

Vardenafil Levitra Generic: Koristi in Učinki Leer más »

A Comprehensive Guide to Buying Anabolic Steroids

Purchasing anabolic steroids can be a daunting task, especially for those unfamiliar with these substances and their implications. Whether you’re an athlete looking to enhance your performance or an individual seeking to bulk up, understanding the process of buying anabolic steroids safely and legally is crucial. This article aims to guide you through the essential

A Comprehensive Guide to Buying Anabolic Steroids Leer más »

Understanding the Effects of Lacidipine on Blood Pressure Management

Lacidipine is a calcium channel blocker that is primarily used in the treatment of hypertension (high blood pressure). It works by relaxing the blood vessels, which helps to lower blood pressure and improve blood flow. This article will explore the effect of Lacidipine, its mechanism of action, potential benefits, side effects, and its role in

Understanding the Effects of Lacidipine on Blood Pressure Management Leer más »