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

Sin categoría

Finest No deposit & 100 percent extreme casino free Indication-Upwards Gambling establishment Incentives August 2026

Posts Extreme casino – BetMGM Local casino: Top-Ranked Totally free Revolves Gambling enterprise Providing an extremely attractive incentive tend to increase an online gambling enterprise’s status inside the a currently competitive iGaming scene. There are so many gambling enterprise incentives out there, also it’s essential to filter them all, identify abusive terms, and you may […]

Finest No deposit & 100 percent extreme casino free Indication-Upwards Gambling establishment Incentives August 2026 Leer más »

Greatest No deposit Extra Requirements 2026: JetTon Around $55 Free Local casino Cash

Posts JetTon | Step-by-Action Registration Techniques What are the chief form of no deposit position incentives? Spartacus Very Huge Reels – Head back to help you Old Rome with this particular exciting video game that comes having a few groups of four reels and you may one hundred paylines. Almost every other fun have are

Greatest No deposit Extra Requirements 2026: JetTon Around $55 Free Local casino Cash Leer más »

An educated Willbet Cellular Casinos Uk 2026 Best Cellular Local casino Sites

Posts Boku – Willbet Finest shell out by the cellular gambling enterprises British: secret takeaways Tricks for to play in the casinos on the internet Greatest App Business at the Uk Casinos on the internet Large Criteria from Safety and security Apple is one of the globe's biggest organizations, thus expect absolutely nothing below quality

An educated Willbet Cellular Casinos Uk 2026 Best Cellular Local casino Sites Leer más »

Totally free Revolves No-deposit, The newest extreme casino UK Free Revolves To the Membership 2026

Posts Extreme casino UK: Our very own best picks — reviewed in more detail Play Everyday Wheel during the VIP Revolves Gambling establishment and you can Receive No deposit 100 percent free Spins Extra Some of the most preferred type of no deposit incentives considering in order to All of us people tend to be

Totally free Revolves No-deposit, The newest extreme casino UK Free Revolves To the Membership 2026 Leer más »

100 percent Tenex free Spins No deposit Southern Africa August 2026

Articles Most other All of us gambling enterprise no deposit incentives: Tenex It’s typical to create activation inside instances, but participants you want at the least one week to help you choice earnings. I usually focus on zero wagering no deposit incentives in which readily available. You’d need to turn on a slot added bonus

100 percent Tenex free Spins No deposit Southern Africa August 2026 Leer más »

Best No-deposit & 100 percent free Sign-Right up Casino Bonuses sky poker August 2026

Articles Terms said (comprehend these types of before you can spin) | sky poker Happy Fish Registration Tips Score The new Usa Casino No-deposit Totally free Revolves Right here! ⃣ Discover Your own Added bonus Betway leaves a limit on the promo free spin gains, in order to just cash out to R2,100. Cashout restrictions

Best No-deposit & 100 percent free Sign-Right up Casino Bonuses sky poker August 2026 Leer más »

Have fun with the 21bets casino Buffalo Slot machine game On line free of charge No Down load

Posts Form of slots open to play for free during the Lets Play Ports | 21bets casino Come across online slots to your biggest victory multipliers Tricks for Payouts for the Everi Games Particular progressive ports ensure it is people to buy bonus series myself. You may also below are a few all of our

Have fun with the 21bets casino Buffalo Slot machine game On line free of charge No Down load Leer más »

Finest Totally free Local casino Applications To own Android & duelz Ios August 2026

Content iphone ports: duelz Movies Slots & Penny Slots Great things about Mobile Ports and Desktop Online slots Having its sensuous and you may bright motif, their 243 ways to win to experience format and the undeniable fact that players have the chance of winning an astonishing 227,520 gold coins from a single twist the

Finest Totally free Local casino Applications To own Android & duelz Ios August 2026 Leer más »