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

Sin categoría

Best Real cash Online casinos to try out when you look at the 2026

The actual money online casino web sites inside was acknowledged during the the us and you will already have solid affiliate feet. Take verlo your time when you look at the studying the comprehensive set of operators a lot more than. Up coming, incentives be paramount, the newest RTP fact performs a massive role, and […]

Best Real cash Online casinos to try out when you look at the 2026 Leer más »

Better online casinos for real currency analyzed having July 2026

It’s essential to gamble contained in this restrictions, comply with costs, and you can know when it’s for you personally to action away. Members now consult the capability to delight in their favorite casino games on the road, with the same level of quality and you may shelter while the desktop computer systems. Such very

Better online casinos for real currency analyzed having July 2026 Leer más »

Top online casinos for real currency examined having July 2026

It’s required to enjoy contained in this constraints, comply with spending plans, and you can admit if this’s time to step aside. Professionals today demand the capacity to delight in a common gambling games on the run, with similar substandard quality and you will defense due to the fact pc platforms. Such initially now offers

Top online casinos for real currency examined having July 2026 Leer más »

Finest web based casinos for real currency assessed getting July 2026

It’s necessary to enjoy in this restrictions, follow costs, and you may know if this’s time for you step aside. Members now request the ability to enjoy a common gambling games on the run, with the same substandard quality and you can safety as the desktop computer programs. This type of initial has the benefit

Finest web based casinos for real currency assessed getting July 2026 Leer más »

Greatest online casinos for real currency assessed to possess July 2026

It’s required to play within https://21dukescasino.org/es/bono/ limits, adhere to costs, and know whether or not it’s time to action away. Users now request the ability to take pleasure in their favorite online casino games on the run, with similar quality level and you will safety as the desktop computer networks. Such initially now offers shall

Greatest online casinos for real currency assessed to possess July 2026 Leer más »

Top Online casinos Most useful Gambling establishment Internet inside the 2026

To experience on your own phone form people short classes make sense remarkably punctual, which means that your loyalty products perform too. A giant greeting bonus can seem to be extremely tempting whether it’s blinking on your mobile phone screen. It’s tiresome and totally unglamorous, but it without difficulty beats understanding a hidden withdrawal laws

Top Online casinos Most useful Gambling establishment Internet inside the 2026 Leer más »

Best Online casinos Most readily useful Gambling establishment Web sites into the 2026

To play on your own cell phone means men and women quick coaching seem sensible surprisingly fast, so your support issues carry out as well. A large anticipate bonus can seem to be very tempting whether or not it’s blinking on the cell phone monitor. It’s monotonous and you may totally unglamorous, nonetheless it easily

Best Online casinos Most readily useful Gambling establishment Web sites into the 2026 Leer más »

Greatest Web based casinos Finest Gambling enterprise Web sites inside the 2026

To relax and play on your cellular phone mode those individuals quick classes add up interestingly timely, which means your loyalty points do too. An enormous enjoy extra feels incredibly tempting if this’s pulsating on your mobile phone display. It’s monotonous and you can entirely unglamorous, it without difficulty sounds reading an invisible detachment code

Greatest Web based casinos Finest Gambling enterprise Web sites inside the 2026 Leer más »

Top Online casinos Greatest Casino Internet during the 2026

To try out in your phone means people quick coaching sound right remarkably quick, so that your commitment items perform also. A big welcome added bonus feels incredibly appealing whether it’s pulsating in your cell phone monitor. It’s tedious and completely unglamorous, however it effortlessly sounds learning an invisible withdrawal rule right after you’ve finally

Top Online casinos Greatest Casino Internet during the 2026 Leer más »