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

Sin categoría

Starburst Ports, A play Jurassic Park real money real income Slot machine game & 100 percent free Enjoy Demo

Blogs Play Jurassic Park real money: Set Your own Bet Dimensions Legislation, Have and you will Bullet Technicians See the paytable after you switch to genuine play. Whether it countries, they expands to help you fill you to definitely entire reel and you may hair in place. You earn an actual become to your re-spin […]

Starburst Ports, A play Jurassic Park real money real income Slot machine game & 100 percent free Enjoy Demo Leer más »

The newest best online slots win real money Web based casinos 2026 The brand new Local casino Internet sites

Blogs Give aggressive incentives for everybody professionals, as well as deposit bonuses, totally free spins, and you may cashback also provides – best online slots win real money Very, for individuals who’re also looking a brand new and you may enjoyable betting experience, the new online casinos are definitely worth examining. If or not you’re

The newest best online slots win real money Web based casinos 2026 The brand new Local casino Internet sites Leer más »

The new Web based casinos Gladiator $1 deposit 2026 The fresh Casino Websites

Posts Gladiator $1 deposit: Render competitive bonuses for all players, along with deposit incentives, free spins, and you will cashback now offers Welcome bonuses are offers one to the new players can get after they sign up. Whether or not you’lso are on the a smartphone otherwise pill, you have access to your bank account,

The new Web based casinos Gladiator $1 deposit 2026 The fresh Casino Websites Leer más »

The new Online casinos 2026 The fresh Local australian online casino laws casino Internet sites

Posts Australian online casino laws – Offer competitive bonuses for everybody people, and deposit bonuses, free spins, and cashback also offers Greeting bonuses is also offers you to the brand new participants get once they register. Whether or not your’lso are to the a smart device otherwise tablet, you have access to your bank account,

The new Online casinos 2026 The fresh Local australian online casino laws casino Internet sites Leer más »

The newest Ruby Fortune casino promotions Online casinos 2026 The new Local casino Internet sites

Content Ruby Fortune casino promotions – Render competitive incentives for everyone people, and deposit incentives, free revolves, and you may cashback also offers Therefore, for many who’re looking for a new and you may enjoyable playing experience, the newest online casinos are certainly really worth examining. Whether you’re also to the a mobile otherwise pill,

The newest Ruby Fortune casino promotions Online casinos 2026 The new Local casino Internet sites Leer más »

Diamond Sky casino Black Diamond casino Gambling enterprise: Slot Online game Applications on the internet Play

Content Casino Black Diamond casino | Multiple Diamond Slot RTP & Volatility: How to use Them to Your own Virtue Da Vinci Diamonds Reading user reviews Who says you would like showy graphics and you can three-dimensional animated graphics to own a great time? And help’s think about it, which doesn’t choose to assemble shiny

Diamond Sky casino Black Diamond casino Gambling enterprise: Slot Online game Applications on the internet Play Leer más »

Scorching Deluxe Gladiator casino Position Opinion Winnings as much as 1000000 gold coins

Blogs Gladiator casino: Preferred Online slots games Top Coins It exudes attractiveness and simplicity striking a balance one entices rather than challenging performing a betting atmosphere. Doing the brand new pictures ‘s the Gold star symbol, helping because the spread out that may lead to enjoyable advantages whenever three or higher show up on monitor.

Scorching Deluxe Gladiator casino Position Opinion Winnings as much as 1000000 gold coins Leer más »

Hot Luxury Position Comment Win up to 40 free spins no deposit 1000000 coins

Content 40 free spins no deposit: Top Online slots games Top Coins It exudes appeal and you can simplicity hitting a balance one entices as opposed to overwhelming carrying 40 free spins no deposit out a playing ambiance. Completing the new photos ‘s the Gold-star icon, serving as the spread out that can lead to

Hot Luxury Position Comment Win up to 40 free spins no deposit 1000000 coins Leer más »

Very hot Unibet casino slots Luxury Slot Remark Winnings up to 1000000 gold coins

Content Unibet casino slots – Most popular Online slots games Crown Coins They exudes appeal and you will convenience striking a balance one to entices instead daunting carrying out a gambling ambiance. Doing Unibet casino slots the newest photographs ‘s the Gold-star icon, offering while the scatter which can result in exciting rewards when about

Very hot Unibet casino slots Luxury Slot Remark Winnings up to 1000000 gold coins Leer más »