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

Sin categoría

What exactly is Hedging A bet? Simple tips to Hedge a bet Properly

Articles Marathonbetuk bets football – Bitcoin Base? Method, Venice, Ansem & the newest Unlock Standard Stablecoin Token Narratives Hedging Bets – Ideas on how to Hedge a bet? Simple Visibility Regulations Because of the placing a second bet on the alternative results of the fresh brand-new choice, bettors can make a scenario where they are […]

What exactly is Hedging A bet? Simple tips to Hedge a bet Properly Leer más »

Acca Insurance rates Gambling Now offers: Bookie Promotions Opposed

Posts Occurrence plan | cricket sport how to play And that Bookmakers Has Acca Insurance policies? How to get The new Mobile Incentive From the Red coral The fresh qualified sports and you will segments in addition to differ around the for each and every playing website. Particular Acca Insurance coverage now offers are merely

Acca Insurance rates Gambling Now offers: Bookie Promotions Opposed Leer más »

Canadian Huge Prix 2026: Race and F1 dash start minutes, simple tips to watch, complete schedule, forecasts

The new height from Spielberg could play the area to your drivers from the routine where lap times would be the fastest of your seasons, however the environment was also regarded as adjustable too. The fresh Belgian Huge Prix marked Gabriel Bortoleto’s 3rd items end up during the last about three events because the the guy finished ninth regarding

Canadian Huge Prix 2026: Race and F1 dash start minutes, simple tips to watch, complete schedule, forecasts Leer más »

Elvis: The new Queen Life Demo Enjoy Totally free Ports during the Higher com

Posts Enjoy Elvis Frog in the Vegas which have Put Totally free Revolves Alternatives in order to No deposit Bonuses Regarding the IGT Games Seller Most other Online game out of IGT Just what Goes wrong — And the ways to Cure it When you claim totally free spins for the high-RTP position video game

Elvis: The new Queen Life Demo Enjoy Totally free Ports during the Higher com Leer más »

5 Dragons Comment Bien au 2024 Profits, Incentives, 100 percent free Spins, & More

Posts Laws and Game play Ideas on how to Gamble it 5 Dragons Totally free Slot machine Wheel from Chance In this fishy motif try a great retriggerable free spins round and you will particular nice incentives. Specific casinos roll out personal sales, particularly during the festive season or major football. These could range between

5 Dragons Comment Bien au 2024 Profits, Incentives, 100 percent free Spins, & More Leer más »

Enjoy 19,000+ Totally free United states Online casino games Zero Download

Arguably, the greatest downside — in the event the free spins might have a downside — so you can ten 100 percent free revolves promotions is that they often have rigorous T&Cs attached. These conditions come in spot https://free-daily-spins.com/slots?theme=tv/film to stop people out of successful too far on the local casino rather than and make

Enjoy 19,000+ Totally free United states Online casino games Zero Download Leer más »

Lifeless otherwise Real time Video slot ️ Enjoy Totally free Slot On the internet

Content Preferred Online Pokies having Free Revolves NetEnt itCasino: 29 Totally free Spins No-deposit Incentive It can be worth examining what the situation is with the favourite slot titles before you claim a free spins bonus at the an excellent German online casino. Don’t want to get troubled by excessive wagering requirements? Next, claim just

Lifeless otherwise Real time Video slot ️ Enjoy Totally free Slot On the internet Leer más »

Totally free People Date Harbors Video game No Down load HTML5 Group Ports

These could come from both exclusive https://queenofthenileslots.org/king-of-the-nile-pokies/ Beastino offers and you can personally inside the video game, providing you with specific power over the amount of a lot more series your found. The ability to safe free spins adds an extra level from added bonus to to try out Party Day.

Totally free People Date Harbors Video game No Down load HTML5 Group Ports Leer más »