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

Sin categoría

Top Online casino NZ Award winning The new Zealand Casinos 2026

We’ve usually think it is soothing to understand the latest courtroom structure, so Kiwi participants normally confidently mention these nations having well-managed, funny lessons. The casino’s games library discusses well-known titles regarding reliable app company, offering Kiwi participants loads of higher-high quality recreation choice. The representative-friendly screen and you can progressive design be certain that […]

Top Online casino NZ Award winning The new Zealand Casinos 2026 Leer más »

Finest Top Online casinos Malaysia 2026 Safe Picks Assessed

The nation’s laws ban really kinds of on line playing, together with casinos on the internet and you will sports betting. Respected casinos on the internet establish an array of game on most useful software enterprises, instance Progression Gambling otherwise Practical Play, that be sure top quality and you can pleasure. Playing with VPNs otherwise

Finest Top Online casinos Malaysia 2026 Safe Picks Assessed Leer más »

Finest Casinos on the internet NZ 2026 Ideal 20 NZ Gambling enterprise Internet Analyzed

Its anticipate bonus is fairly pretty good too, got including $1600 while i signed up nevertheless the wagering req are an excellent section steep Unlicensed operators must avoid offering NZ people from one December 2026, therefore the fully authorized marketplace is expected to getting working into the 2027. Our mission should be to assist The

Finest Casinos on the internet NZ 2026 Ideal 20 NZ Gambling enterprise Internet Analyzed Leer más »

Better Michigan Online casinos for the 2026

Michigan online casinos element among the many strongest game lineups into the the united states. To own distributions, Michigan players usually have accessibility online banking, PayPal, Venmo, Play+, and you can inspections from the send. Online financial continues to be the most widely recognized possibilities whilst’s punctual, safer, and you can rarely declines. All registered

Better Michigan Online casinos for the 2026 Leer más »

Top ten Internet casino inside the Nederland sep 2026 Legaal gokken

Rakoo aids EUR places, local commission measures such as for example Jeton and you will Skrill, and you will allows big cryptos particularly Bitcoin and you will USDT. Rakoo has more than 8,200 a real income online game, nevertheless’s not only extent that matters. Gambling enterprises offering exact same-go out age-purse otherwise instantaneous crypto deals

Top ten Internet casino inside the Nederland sep 2026 Legaal gokken Leer más »

Most readily useful Michigan Casinos on the internet 2026: 15+ Online gambling Internet Ranked

I shot every area of gaming internet we remark very first-give, off and then make a real income deposits so you’re able to playing, saying incentives, and you can cashing away. Acceptance bonuses is actually you to-day for every single individual, but you can claim reload otherwise commitment promotions afterwards. Michigan has built among the

Most readily useful Michigan Casinos on the internet 2026: 15+ Online gambling Internet Ranked Leer más »

Ideal Michigan Casinos on the internet 2026: 15+ Online gambling Web sites Rated

I decide to try all areas of one’s playing internet sites i review very login Svenskaspel first-give, away from and make real cash places in order to to experience, claiming incentives, and you will cashing out. Invited incentives was that-go out for each individual, but you can allege reload or support promotions later. Michigan has

Ideal Michigan Casinos on the internet 2026: 15+ Online gambling Web sites Rated Leer más »

Most readily useful Michigan Online casinos Sep 2026: MI Casino Software

Although not, there are fortunejackcasino.dk many higher-quality on-line casino Michigan solutions already available offering a plethora of great gaming solutions. Whenever choosing an informed Michigan internet casino apps, i believe affairs for instance the usability, the means to access, video game, and bonuses available. The highest RTP real time specialist online game, similarly to RNG

Most readily useful Michigan Online casinos Sep 2026: MI Casino Software Leer más »

Exactly why are a high-top quality gambling establishment slots application?

Most of the time, the net slot internet sites that have taken the time growing their own programs, is actually reliable and supply a premier-top quality services on their users. High-quality gambling establishment programs try and in addition very attractive to slots people provided which they give extremely effortless access to their favourite on line

Exactly why are a high-top quality gambling establishment slots application? Leer más »