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

Sin categoría

Best ten Free Revolves No-deposit Also offers inside the Oct 2026

Content Become familiar with the benefit also provides to your our site Tips Evaluate Free Revolves Gambling enterprises With ease Simply check in an account, make sure your details (either because of the mobile phone or current email address), plus the revolves is instantly paid. The 10 totally free revolves also provides noted on Slotsspot […]

Best ten Free Revolves No-deposit Also offers inside the Oct 2026 Leer más »

Finest ten Free Spins No-deposit Also offers inside the October 2026

Posts Get acquainted with the benefit also provides to the our website How to Contrast Free Spins Casinos Without difficulty Just sign in a free account, be sure your data (sometimes by the cellular phone or email address), and the spins is actually immediately paid. The 10 free revolves also provides noted on Slotsspot try

Finest ten Free Spins No-deposit Also offers inside the October 2026 Leer más »

Fortunate 88 Net Pokies Online game: Private Bonuses, Gambling establishment Ratings & Totally free Harbors

Posts You are today to try out Extra Features in the Happy 88 Pokie Servers As opposed to to try out Extra Choices The newest demonstration variation includes authentic image, sound clips, and you will animations you to definitely echo the whole vogueplay.com additional reading Fortunate 88 pokie server feel. The new Happy 88 Pokies demo

Fortunate 88 Net Pokies Online game: Private Bonuses, Gambling establishment Ratings & Totally free Harbors Leer más »

Do Slot machine game Actions Work? Specialist Book 2026

Posts Method to the Slots: Money Management Process Bankroll government is one of the trick areas of successful betting that really needs not just monetary discipline plus strategic thinking. However, it is well worth remembering that RTP cannot ensure an excellent victory in every video game, since it is a mathematical signal available for the

Do Slot machine game Actions Work? Specialist Book 2026 Leer más »

Perform Video slot Procedures Performs? Expert Guide 2026

Articles Approach on the Slots: Money Government Processes Money government is amongst the secret aspects of successful playing that requires not just financial abuse but also strategic thought. Although not, it’s well worth remembering the RTP will not make certain a good earn in every game, since it is a statistical indicator available for the

Perform Video slot Procedures Performs? Expert Guide 2026 Leer más »

An educated Clicker Online game ️ Play on CrazyGames

Articles Eliminate Mouse click-now.characteristics pop-upwards advertising of Chrome to possess Android Step two: Play with Malwarebytes to possess Mac computer to eradicate Mouse click-today.features malware The journey in the clicker video game have a tendency to starts with humble beginnings. To test your pc to your Click-now.functions malware and take off they for free, excite

An educated Clicker Online game ️ Play on CrazyGames Leer más »

An educated Clicker Video game ️ Play on CrazyGames

Blogs Lose Click-now.functions pop-up advertising out of Chrome to have Android 2: Play with Malwarebytes to have Mac to get rid of Mouse click-now.functions malware Your way within the clicker online game usually begins with modest roots. To test your computer on the Simply click-now.features malware and take away it free of charge, delight make

An educated Clicker Video game ️ Play on CrazyGames Leer más »

An informed Clicker Video game ️ Play on CrazyGames

Posts Lose Mouse click-today.characteristics pop music-upwards ads away from Chrome for Android os Step two: Have fun with Malwarebytes to have Mac computer to remove Simply click-today.characteristics adware Your way inside the clicker online game tend to begins with very humble beginnings. To check your pc for the Click-now.characteristics malware and remove they at no

An informed Clicker Video game ️ Play on CrazyGames Leer más »