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

Sin categoría

Best Free Revolves Gambling establishment Incentives in the usa 2026

Articles Brief information about LuckyHands no deposit incentives No-deposit Incentives Opposed: Provide, Wagering & Max Cashout Win Real cash which have Totally free No-deposit Bonuses What are no-deposit incentives? In initial deposit -free added bonus is quite a perfect methods to start up around the web based casinos. He or she is mostly allotted to […]

Best Free Revolves Gambling establishment Incentives in the usa 2026 Leer más »

Better 100 percent free Spins Zero Wagering United kingdom: Oct 2026 Now offers

Blogs Totally free Revolves to your Large Trout Bonanza Slot at the PricedUp Local casino, Put £30 Seemed inside the… Respect Spins Regrettably, extremely join offers prohibit places playing with age vogueplay.com address -purses such PayPal, Skrill or Neteller. Very local casino join also offers will demand the absolute minimum deposit away from at the

Better 100 percent free Spins Zero Wagering United kingdom: Oct 2026 Now offers Leer más »

Dragon Spin Video slot Available on the internet 100percent free otherwise Real

Articles Harbors Alternatives Exactly how we Chose the Greatest Position Sites With high RTP Local casino Games Its secure hoard obtained 1,250,000 gold coins, that West phone calls bucks. The fresh obstacles from competition ought to include options away from average to high volatility programming. My personal love of dragon slots has given myself a

Dragon Spin Video slot Available on the internet 100percent free otherwise Real Leer más »

Finest Online casinos United kingdom: Better Websites to own Fair Gamble & Huge Wins 2026

Content Slingo Gambling enterprise Private Online game Here you’ll see all of the a means to winnings, plus the various other signs in addition to their worth. To ensure that you understand the gameplay and how to victory, you can examine the brand new payable in the game information of one’s slot after you’ve open

Finest Online casinos United kingdom: Better Websites to own Fair Gamble & Huge Wins 2026 Leer más »

Gamble On the web free of charge, Incentives and you can Winnings

Articles Twin Spin Maximum Win Playing Twin Spin Video: Game play & Huge Winnings Dual Twist Megaways Long-name free spins are capable of current people unlike the newest sign-ups. Deposit-based the fresh-pro revolves usually give more complete well worth than just no deposit spins, particularly when paired with a deposit matches. Instead, it’s the cost

Gamble On the web free of charge, Incentives and you can Winnings Leer más »

The way to get twenty-four-Hours Physical fitness Registration Sale

Articles Nuts Local casino Extra Codes Conditions and terms Have more Playtime on the Yay Casino Promo Password GameTwist – the net gambling enterprise with a lot of surprises Is respin ports finest to possess low or high volatility professionals? Wild Local casino bonuses features recently undergone a redesign, and their past welcome bonuses and

The way to get twenty-four-Hours Physical fitness Registration Sale Leer más »

Ways to get twenty-four-Hours Exercise Membership Selling

Posts Nuts Gambling establishment Bonus Requirements Terms and conditions Attract more Fun time for the Yay Casino Promo Code GameTwist – the net gambling establishment with lots of unexpected situations Try respin slots best to own lowest or high volatility players? Wild Casino bonuses features recently experienced an overhaul, in addition to their past acceptance

Ways to get twenty-four-Hours Exercise Membership Selling Leer más »