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

Sin categoría

20+ Finest Bitcoin BTC Casinos and Playing Web sites 2026 Better Picks!

Articles User Instant Local casino – Crypto Casino With Quick Zero-Commission Earnings KYC Causes & Label Checks Why are Cloudbet an informed crypto casino? A deck such mBit Gambling enterprise shows you how productive browser-founded access is going to be. You have access to crypto casinos to your mobile phones because of applications or browser-appropriate […]

20+ Finest Bitcoin BTC Casinos and Playing Web sites 2026 Better Picks! Leer más »

Finest 20 Best On-line casino Sites United kingdom 2026 Respected and Examined

Articles Better British Mobile Local casino Sites to have August 2026 Casumo Comment To have progressive jackpots, these are the large payout slots, in addition to their possible payouts grow with every bet on the video game away from any athlete. For a real-specialist feel, the guide to a knowledgeable alive gambling establishment websites discusses

Finest 20 Best On-line casino Sites United kingdom 2026 Respected and Examined Leer más »

Finest Usa Casinos on the internet 2026 Real cash Sites Checked out

Content Insane Casino Our Better Usa Internet casino Number to own August 2026 PENN Amusement Q2 2026 Money: Shopping Establishes Information since the Digital Losings Slim so you can 9.5 Million Genuine operators try clear about their licensing position and then make regulating advice no problem finding. If any ones facts is actually destroyed otherwise

Finest Usa Casinos on the internet 2026 Real cash Sites Checked out Leer más »

Best Online Black-jack Real cash Websites and Software to experience 2026

Card-counting concerns tracking the newest proportion of high to help you lowest-really worth notes leftover on the platform and make told betting decisions. To have players looking to get its black-jack games to the next height, cutting-edge procedures for example card counting and ultizing the brand new quit option is be highly effective.

Best Online Black-jack Real cash Websites and Software to experience 2026 Leer más »

Best A real income Casinos on the internet United states 2026

Blogs What’s a knowledgeable real cash local casino app? Directory of Real cash Online casinos inside the August 2026 Bovada Casino William will bring 8+ several years of experience in the internet betting community to the exposure of your own All of us business. Take pleasure in online gambling enjoyable from the going through the

Best A real income Casinos on the internet United states 2026 Leer más »

Better Commission Web based casinos 2026 Real money Web sites You to definitely Pay

Content How Family Boundary Affects Your Chance Enthusiastic on the internet bettors come across fast payout casinos on the internet very enticing, having instant payout casinos on the internet being the really looked for-immediately after. If immediate access for the payouts will be your priority, you’re most likely picking out the quickest payout internet casino.

Better Commission Web based casinos 2026 Real money Web sites You to definitely Pay Leer más »

Finest A real income Casinos on the internet to play in the 2026

Posts Which are the Better Gambling on line Internet sites in order to Earn Real cash? The best Gambling establishment Web sites in the us to have 2026 Professional online gambling game courses Alive Broker Game Typically the most popular also provides is put match incentives and you may free spins, however, for every gambling

Finest A real income Casinos on the internet to play in the 2026 Leer más »

100 percent free SHERLOCK HOLMES-Themed Slots Play SHERLOCK HOLMES Slot Demos On the internet for fun

Content Greatest Gambling enterprise Sites to own Roulette A-sharp, Story-Determined Slot One Rewards Actual Revolves Better Casinos on the internet to have Modern Jackpot Ports Rake charge average step 3-5percent for every cooking pot, but professionals can also be reclaim around 40percent thanks to rakeback now offers, rather boosting the output. Variants such as Blackjack

100 percent free SHERLOCK HOLMES-Themed Slots Play SHERLOCK HOLMES Slot Demos On the internet for fun Leer más »