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

xtw18387544d

Sobre todo sobre lo que respecta a sports utilizadas igual que el futbol, el golf indumentarias nuestro tenis

Los consejos de Gran Madrid Casino En internet destacan igualmente dicho bono de admision de carreras Ademi?s, de oriente armonia demasiado fundamental sobre Coalicion de Campeones ofrece de mas sobre cuarenta mercados con el fin de realizar las pronosticos, una cantidad excesivamente exacto en la que podemos encontrar acerca de los iniciales plataformas. Con siguiente […]

Sobre todo sobre lo que respecta a sports utilizadas igual que el futbol, el golf indumentarias nuestro tenis Leer más »

Methyltestosterone’s Disputed yet Significant Position in International Sports

Methyltestosterone, a synthetic derivative of testosterone, occupies a controversial yet influential position within the realm of international sports. As athletes and coaches continually seek advantages in performance through various means, substances like methyltestosterone have become focal points in discussions about ethics, fairness, and the essence of competitive sport. Are you planning to buy Methyltestosterone: examining

Methyltestosterone’s Disputed yet Significant Position in International Sports Leer más »

Anabole Steroide und ihre Rolle im Bodybuilding: Ein umfassender Leitfaden

Im Bodybuilding sind anabole Steroide ein häufig diskutiertes Thema. Viele Athleten greifen auf diese Substanzen zurück, um ihre Leistungsfähigkeit und Muskelmasse zu steigern. Doch was genau sind anabole Steroide und welche Rolle spielen sie im Bodybuilding? Wenn Sie intensiv Sport treiben und das Muskelwachstum beschleunigen möchten, können Sie geprüfte und von Experten empfohlene anabole Steroide

Anabole Steroide und ihre Rolle im Bodybuilding: Ein umfassender Leitfaden Leer más »

Fu Dao Ce Position Online – free apps pokie machines Demo Play for 100 percent free

You’ll always come across Far-eastern slot headings features RTPs ranging from 94% and you will 97% RTP free apps pokie machines . Western slot games try popular for their blend of recognizable icons one suggest chance. Far-eastern styled position games are common and can include a variety out of slot layouts from all around the

Fu Dao Ce Position Online – free apps pokie machines Demo Play for 100 percent free Leer más »

Injizierbare Steroide Bewertung: Vorteile, Risiken und wichtige Informationen

Injizierbare Steroide sind Substanzen, die von Sportlern und Bodybuildern häufig verwendet werden, um Muskelmasse, Kraft und Leistungsfähigkeit zu steigern. Während sie einige Vorteile bieten, sind die Risiken und Nebenwirkungen nicht zu unterschätzen. In diesem Artikel werfen wir einen genaueren Blick auf injizierbare Steroide und deren Bewertung im Sport. Wenn Sie mehr über Injizierbare Steroide erfahren

Injizierbare Steroide Bewertung: Vorteile, Risiken und wichtige Informationen Leer más »

The Role of Essential Amino Acids (EAA) in Bodybuilding

Bodybuilding requires not just dedication and hard work, but also a profound understanding of nutrition. Among the myriad of nutrients essential for muscle growth and recovery, amino acids play a crucial role. Essential amino acids (EAAs) are particularly important, as they are the building blocks of proteins and cannot be produced by the body. This

The Role of Essential Amino Acids (EAA) in Bodybuilding Leer más »

The Role of Steroids in Optimizing Bodybuilding Performance: What Are Steroids and How Do They Work?

Bodybuilding is a pursuit that requires dedication, discipline, and a comprehensive understanding of nutrition and training techniques. Among the various methods bodybuilders employ to maximize their potential, anabolic steroids have gained considerable attention. This article aims to delve into what steroids are, how they function, and their implications in the bodybuilding world. If you need

The Role of Steroids in Optimizing Bodybuilding Performance: What Are Steroids and How Do They Work? Leer más »

Why Boldenone is Suitable for Sustainable Muscle Building

When it comes to building muscle, athletes and bodybuilders are always on the lookout for effective supplements that help achieve their goals without compromising their health. Boldenone, an anabolic steroid, has emerged as a popular choice among these individuals, and it is suitable for sustainable muscle building for several reasons. If you decide for steroids

Why Boldenone is Suitable for Sustainable Muscle Building Leer más »

How to Take Methenolone Acetate: A Comprehensive Guide

Methenolone Acetate, commonly known as Primobolan, is a popular anabolic steroid among bodybuilders and athletes for its ability to promote muscle growth and fat loss while minimizing side effects. Understanding how to properly take this compound is essential for maximizing its benefits and ensuring safety. The website for sports pharmacology in England helps you find

How to Take Methenolone Acetate: A Comprehensive Guide Leer más »

Biosynergy Body Lean: Ciclo de Preparação da Insulina

Introdução ao Biosynergy Body Lean O Biosynergy Body Lean é um produto inovador desenvolvido para auxiliar no processo de emagrecimento e na otimização do desempenho físico. Este suplemento é especialmente formulado para melhorar a sensibilidade à insulina e promover uma composição corporal saudável. Para conhecer o Biosynergy Body Lean custo exato do produto Biosynergy Body

Biosynergy Body Lean: Ciclo de Preparação da Insulina Leer más »