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

Sin categoría

Finest The brand new Casinos on the internet 2026 Best Safer & Subscribed Internet sites

Blogs Live Specialist Video game How do i Allege a casino Acceptance Extra? Responsive Support service Since the not all of the new online casinos United states is safe and legit, we’ve written this article to help you sleeve bettors to the knowledge to help you choose the best. We acknowledge one to my personal […]

Finest The brand new Casinos on the internet 2026 Best Safer & Subscribed Internet sites Leer más »

150 No deposit Free Revolves At the Online casinos Best 2026 Offers

First of all, they enable it to be professionals to explore the new gambling establishment’s offerings without having any economic risk. No deposit totally free spins work with the same properties, providing participants the opportunity to spin the new reels out of slot video https://bigbadwolf-slot.com/nordicasino/free-spins/ game without the need to make in initial deposit.

150 No deposit Free Revolves At the Online casinos Best 2026 Offers Leer más »

150 No-deposit Free Revolves During the Online casinos Best 2026 Now offers

First of all, they make it players to explore the newest casino’s offerings without any economic chance. No-deposit 100 percent free spins work with an identical site, offering participants the ability to spin the brand new reels out of slot video game without the need to build in initial deposit. One of several range bonuses

150 No-deposit Free Revolves During the Online casinos Best 2026 Now offers Leer más »

150 No-deposit 100 percent free Spins In the Casinos on the internet Better 2026 Now offers

First of all, it make it players to understand more about the brand new local casino’s products without the economic exposure. No-deposit 100 percent free revolves work with the same premises, giving people the opportunity to twist the fresh reels out of slot games without the need to generate a deposit. One of several myriad

150 No-deposit 100 percent free Spins In the Casinos on the internet Better 2026 Now offers Leer más »

150 No-deposit Free Revolves At the Casinos on the internet Best 2026 Also provides

To start with, they make it participants to understand more about the fresh gambling establishment’s products without any financial chance. No deposit totally free revolves focus on an identical properties, providing people the chance to spin the new reels away from slot video game without the need to generate a deposit. One of many range

150 No-deposit Free Revolves At the Casinos on the internet Best 2026 Also provides Leer más »

100 percent free Spins to your Signal-right up Casino 100 percent free Revolves on the Registration 2026

Blogs Find Totally free Revolves Also offers on your Region How exactly we Speed The best No deposit Incentives You wear’t you need people bonus code to claim that it give. Sign up at the Mr Position bigbadwolf-slot.com reference Gambling enterprise now and you may allege a fifty free revolves no deposit extra with the

100 percent free Spins to your Signal-right up Casino 100 percent free Revolves on the Registration 2026 Leer más »

100 percent free Revolves on the Signal-upwards Casino 100 percent free Spins to your Subscription 2026

Articles Discover Free Revolves Also provides in your Area Exactly how we Rates An educated No-deposit Incentives You wear’t you desire one incentive code so you can claim it offer. Subscribe from the Mr Position Casino now and you may claim a 50 free revolves no deposit bonus with the private link.

100 percent free Revolves on the Signal-upwards Casino 100 percent free Spins to your Subscription 2026 Leer más »

100 percent free Revolves for the Signal-upwards Gambling establishment 100 percent free Spins to the Membership 2026

Content Discover Totally free Revolves Also provides in your Part Exactly how we Rates A knowledgeable No deposit Bonuses Your wear’t you desire any bonus password in order to claim that it offer. Register from the Mr Position Gambling enterprise today and you can claim a fifty 100 percent free revolves no deposit added bonus

100 percent free Revolves for the Signal-upwards Gambling establishment 100 percent free Spins to the Membership 2026 Leer más »

Skrill Casinos 2026 The brand new Skrill Gambling enterprise Websites

Articles Greatest United states Web based casinos that have Skrill Costs Best Gambling enterprises Acknowledging Skrill within the 2026 Are there charge for making use of Skrill during the casinos? Skrill is usually free to play with, however some gambling enterprises https://777playslots.com/gonzos-quest/ can get implement their costs to own dumps or withdrawals. Online casino Skrill

Skrill Casinos 2026 The brand new Skrill Gambling enterprise Websites Leer más »