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

Sin categoría

Interac Gambling enterprises Better Sites You to definitely Undertake Interac 2026

Blogs Prominence for the Best Web based casinos within the Canada And then make Online slots Interac Withdrawals Simple tips to Put in the The newest Interac Online casinos inside the Canada Why is Local casino Weeks all of our selection for best Interac gambling enterprises within the Canada? Whether or not you’re also a […]

Interac Gambling enterprises Better Sites You to definitely Undertake Interac 2026 Leer más »

Cirque du Soleil Kooza Position Comment Free Play, Demonstration or A real income

Blogs Play the Cirque du Soleil Kooza Demonstration and get the best Cirque du Soleil Kooza Casinos & Sweepstakes Casinos How to Secure Free Spins to possess Cirque Du Soleil Kooza during the Beastino Local casino? CASIKU Gambling establishment Three extra icons lead to the advantage wheel, plus the jackpot controls now offers an opportunity

Cirque du Soleil Kooza Position Comment Free Play, Demonstration or A real income Leer más »

Common

Articles As to why Gamble Beasts away from Fire Position — Trick Pros Monsters out of Flames paytable and you will regulations Exact same Supplier Through the this feature, possibilities to unlock successful combos to the Fire Beast will get offered. There’ll additionally be chances to result in ten 100 percent free Spins. Creatures out

Common Leer más »

Principaux casinos un peu brique profond s Au top examinez ce site dix 2026

Aisé Les différents caractère de gaming )’appoint un tantinet: examinez ce site Spinkong: Top casino au sujets des jeu de appoint effectif J’essaie leurs dépôts ou des abaissements Distraire de pour cet’brique effectif modifie certain partie de le savoir connaissances extrêmement intensif et engageante. examinez ce site Cette premier idée que quelque promenade domine te

Principaux casinos un peu brique profond s Au top examinez ce site dix 2026 Leer más »

Spin Urban area Casino games Ports & Real time Agent

Content Cellular Casino Software versus. Internet browser Casinos Incentives & Offers during the Spin Urban area On the internet Cellular Payments and you can CAD Financial to your Spincity Local casino Canadian people score a good CAD-amicable local casino experience in mobile payments, a multiple-merchant online game reception and you can invited alternatives which range

Spin Urban area Casino games Ports & Real time Agent Leer más »

Preferred

Posts Why Enjoy Creatures from Flames Position — Key Advantages Creatures from Fire paytable and you will legislation Same Merchant During the this particular aspect, possibilities to unlock successful combos to the Flame Beast gets available. There’ll also be possibilities to result in 10 Totally free Revolves. Giants away from Fire and contains extra cycles

Preferred Leer más »

Gambling enterprise Heroes 5 100 percent free extra no deposit required!

Blogs Tips Allege Canadian No deposit Incentives Security Vegas hero Real time Specialist Games Away from a good UX position, web sites usually skin equilibrium reminders, class timers, and put thresholds individually in the cashier user interface, and then make spending much more apparent instantly. You really don’t have to be stuck on the low

Gambling enterprise Heroes 5 100 percent free extra no deposit required! Leer más »

Dollars Coaster Slot Remark IGT Free Demonstration & Provides

Articles Signs and you can multipliers within the Bucks Coaster slot machine game Expiration Schedules Just how do 50 free spins now offers works? The fresh Zealanders can take advantage of 50 totally free spins incentives from better worldwide websites you to undertake NZD. Canadian participants gain access to probably the most generous 100 percent

Dollars Coaster Slot Remark IGT Free Demonstration & Provides Leer más »

150 Totally free Spins No-deposit 2026 Greatest 150 100 percent free Revolves Now offers

Blogs Buffalo King Megaways Game play and you will Choice Types 100 percent free Spins Deposit Also provides The brand new No deposit Incentives and you will Requirements Added inside Oct 2026 Tips Enjoy Buffalo Queen and you will Bet Versions Subsequent distributions are generally smaller. Free-twist wins during the Buffalo Spins are typically credited

150 Totally free Spins No-deposit 2026 Greatest 150 100 percent free Revolves Now offers Leer más »