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

Sin categoría

Ideal Internet casino Bonus Australia Most useful Casino Promotions 2026

Understanding the betting standards and other conditions will allow you to distinguish a knowledgeable web based casinos on other people. Nevertheless’s not just on having many video game—top quality things, as well. Along with offering most readily useful-tier a real income online game, Ignition and additionally prioritises prompt distributions via a number of crypto and […]

Ideal Internet casino Bonus Australia Most useful Casino Promotions 2026 Leer más »

Most useful On-line casino Bonus Australia Most readily useful Casino Promotions 2026

Knowing the betting standards or any other standards allows you to differentiate a knowledgeable casinos on the internet on the other people. Nonetheless it’s just regarding the having many games—top quality things, as well. Together with offering finest-tier real cash game, Ignition and additionally prioritises punctual distributions thru plenty of crypto and you can Australian

Most useful On-line casino Bonus Australia Most readily useful Casino Promotions 2026 Leer más »

Greatest On-line casino Extra Australian continent Better Gambling enterprise Promos 2026

Understanding the betting requirements or other conditions allows you to identify a knowledgeable online casinos on the other people. It’s besides on that have loads of games—quality matters, as well. Including offering most readily useful-tier real cash online game, Ignition plus prioritises prompt withdrawals thru plenty of crypto and you will Australian financial actions that

Greatest On-line casino Extra Australian continent Better Gambling enterprise Promos 2026 Leer más »

Most useful Online casino Incentive Australia Best Casino Promos 2026

Knowing the wagering requirements or other standards allows you to identify an educated web based casinos from the rest. Nevertheless’s not simply in the which have a number of games—top quality things, as well. And offering ideal-level real money video game, Ignition and additionally prioritises fast distributions thru many crypto and you will Australian financial

Most useful Online casino Incentive Australia Best Casino Promos 2026 Leer más »

Finest Internet casino Added bonus Australian continent Best Casino Promotions 2026

Understanding the wagering requirements or any other requirements will allow you to differentiate a knowledgeable online casinos in the people. Nonetheless it’s besides from the which have loads of games—top quality issues, too. And offering most useful-level real cash games, Ignition including prioritises timely withdrawals through many crypto and you will Australian financial strategies which

Finest Internet casino Added bonus Australian continent Best Casino Promotions 2026 Leer más »

Better Online casino Added bonus Australian continent Ideal Gambling enterprise Promos 2026

Understanding the betting conditions and other standards will help you to differentiate an informed online casinos in the other individuals. However it’s not merely on the which have a good amount of games—quality things, also. And additionally giving greatest-level a real income video game, Ignition along with prioritises punctual distributions via an abundance of crypto

Better Online casino Added bonus Australian continent Ideal Gambling enterprise Promos 2026 Leer más »

Better Pokies 2026 Rated

These incentives generally include extra money abreast of your first deposit, totally free revolves for slot games, and opportunities to enjoy without any very first put. Members should choose regulated other sites and you can educate by themselves regarding the betting support properties so you can promote in charge gaming behavior. Understanding the terms and

Better Pokies 2026 Rated Leer más »

Better Online casino Added bonus Australian continent Top Gambling establishment Promotions 2026

Understanding the wagering requirements and other criteria will allow you to identify the best online casinos on other individuals. Nevertheless’s besides on with a number of video game—quality issues, also. Plus offering best-tier real cash game, Ignition as well as prioritises punctual distributions thru numerous crypto and you will Australian financial procedures and is SSL

Better Online casino Added bonus Australian continent Top Gambling establishment Promotions 2026 Leer más »

Most useful Online casino Added bonus Australia Top Local casino Promos 2026

Knowing the wagering criteria and other conditions allows you to identify a knowledgeable casinos on the internet about other people. It’s not simply on which have a good amount of game—top quality issues, as well. Along with giving finest-tier a real income games, Ignition plus prioritises prompt withdrawals through an abundance of crypto and you

Most useful Online casino Added bonus Australia Top Local casino Promos 2026 Leer más »

Better Internet casino Bonus Australian continent Top Local casino Promos 2026

Understanding the wagering standards and other standards will assist you to distinguish an educated web based casinos on the other people. Nevertheless’s not just about that have a great amount of game—high quality matters, too. In addition to providing most readily useful-tier real cash game, Ignition together with prioritises quick distributions via many crypto and

Better Internet casino Bonus Australian continent Top Local casino Promos 2026 Leer más »