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

Sin categoría

Café Local casino Remark september 2026 Gurus & Cons Found

You have started to Restaurant Gambling establishment for the roulette generally, however, there’s nothing to say you might’t place the almost every other games owing to its paces while you’re on they. One which just’ve engaged up on gamble, you’ll have already discovered the overall game’s number one provides, playing increments and you will suchlike. […]

Café Local casino Remark september 2026 Gurus & Cons Found Leer más »

Café Gambling establishment Opinion sep 2026 Advantages & Disadvantages Shown

You’ve probably come to Cafe Gambling establishment with the roulette mainly, but there’s nil to say you can’t put the most other video game due to the paces whilst you’lso are within they. Before you’ve visited upon enjoy, you’ll have previously learned the video game’s number 1 possess, gaming increments and suchlike. Join our very

Café Gambling establishment Opinion sep 2026 Advantages & Disadvantages Shown Leer más »

Bovada Gambling enterprise United states Online casino 2026 Intricate Comment

Bovada even offers a pretty pretty good video poker selection that have a whole regarding 17 video poker game to select from plus they hunt getting the earliest online game safeguarded. The new dining table online game with distinctions on Bovada are without a doubt black-jack because there are nine some other blackjack game to

Bovada Gambling enterprise United states Online casino 2026 Intricate Comment Leer más »

Eatery Local casino Remark & Score 2026

Bistro Casino’s incentives are some of the very ample for people users, especially for crypto dumps. I have found Restaurant Gambling enterprise genuine and reputable, however it is most appropriate having players at ease with crypto-concentrated sites. Bistro Gambling establishment focuses primarily on on-line casino activity for all of us people, offering over Luckywavecasino step

Eatery Local casino Remark & Score 2026 Leer más »

Bovada Gambling enterprise Feedback 2026 Sportsbook, Casino poker & Casino

Having users that would maybe not otherwise feel to relax and play, the brand new jackpot auto technician isn’t enough naturally to overcome our house boundary. To own users who getting to try out harbors no matter, timing their classes to Sensuous Get rid of work deadlines try a good method. If you find yourself

Bovada Gambling enterprise Feedback 2026 Sportsbook, Casino poker & Casino Leer más »

Bovada Review 2026 An informed Bonus Requirements & Advantages 2026

Along with in English, you can access the fresh new cellular variation during the Language and you can Portuguese. To play into-the-wade is not difficult with categories of cellphones and you will pills with similar graphic interface due to the fact pc type. While you are currently not one of them try seemed beneath the

Bovada Review 2026 An informed Bonus Requirements & Advantages 2026 Leer más »

Finest Casino Incentives 2026 Compare Most useful Incentive Also provides

These types of conditions are acclimatized to prevent people away from quickly withdrawing incentive money also to guarantee the extra can be used having actual gameplay. Learning how to realize these details helps you courtroom whether a bonus and its particular well worth is basically worth claiming, being essential units in local casino incentive bing

Finest Casino Incentives 2026 Compare Most useful Incentive Also provides Leer más »

Most useful Local casino Bonuses 2026 Contrast Top Extra Even offers

Such conditions are acclimatized to avoid people out-of quickly withdrawing incentive fund in order to make sure the extra is utilized to own real gameplay. Learning to comprehend these details helps you judge if or not an advantage and its own worth is actually really worth saying, which are crucial tools within the local casino

Most useful Local casino Bonuses 2026 Contrast Top Extra Even offers Leer más »