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

Sin categoría

Most readily useful Slot Online game New 10 Greatest Position Video game in the united kingdom 2026

Immortal Relationship has actually a several-top incentive bullet with different free spins and you can multiplier have, offering an opportunity to profit a huge step 3,645,000-money jackpot. Bier Haus is yet another popular games, providing doing 80 free spins with sticky wilds that secure set up for the entire incentive bullet. Going for subscribed casinos […]

Most readily useful Slot Online game New 10 Greatest Position Video game in the united kingdom 2026 Leer más »

Najistotniejsze automaty przez internet w naszym kraju

Będziesz osiągnąć wszelką transakcję przy wycieczki, weryfikacja tożsamości jest w stanie występować po wniosek odmiennych danych. Całkowite normy promocji pferowane formularza. Aktywuj nadprogram jak i również dokonaj depozytu zaczynając od 15 EUR, żeby uzyskać poboczne dwie stówki% ilości depozytu! Odwołanie bonusu prawdopodobne w całej profilu gracza. Są w mocy kompletne wytyczne promocji. Wszelcy fan jest

Najistotniejsze automaty przez internet w naszym kraju Leer más »

Odkryj najlepsze kasyna Litecoin w naszym kraju w 2024 roku

Opracowaliśmy ten system ocen, jaki porównuje kasyna pod kątem legalności, propozycje gier, płatności, bonusów i jakości pomocy. To właśnie support posiada wejście do odwiedzenia przeszłości Twojego konta 1xBit kod promocyjny bankowego, sprawie oraz detalów fachowych, jakie mają możliwość ulżyć rozwikłać kłopot z brakiem zbędnego poddenerwowania. W takich sytuacjach najważniejsze jest natychmiastowe funkcjonowanie i połączenie z

Odkryj najlepsze kasyna Litecoin w naszym kraju w 2024 roku Leer más »

Finest Local casino Ports for real Currency 2026: Play Position Game On the internet

Fortune and you can magnificence expect all of our animated hero Gonzo when you trigger the new 100 percent free spins round, that have up to 15x multipliers providing the most significant profitable combinations from inside the the game. Starburst by NetEnt is among the most my personal most readily useful picks on account of

Finest Local casino Ports for real Currency 2026: Play Position Game On the internet Leer más »

Most readily useful Gambling enterprise Harbors the real deal Money 2026: Enjoy Slot Game On the internet

Fortune and fame await our very own transferring character Gonzo once you produce the fresh free revolves bullet, which have to 15x multipliers providing the greatest successful combos in the overall game. Starburst from the NetEnt is the most my personal finest selections on account of their sheer and simple lowest-volatility game play. Just what

Most readily useful Gambling enterprise Harbors the real deal Money 2026: Enjoy Slot Game On the internet Leer más »

Most readily useful Local casino Harbors for real Money 2026: Play Position Video game Online

Fortune and you may magnificence expect our moving champion Gonzo once you produce the new 100 percent free spins round, having around 15x multipliers offering the most significant effective combos into the the overall game. Starburst because of the NetEnt is one of my most readily useful picks because of its natural and simple reduced-volatility

Most readily useful Local casino Harbors for real Money 2026: Play Position Video game Online Leer más »

Top On line Position Sites for the 2026, Experimented with & Checked out Top Online slots

All of us participants can enjoy a real income slots on the web at subscribed casinos you to greet American users. Ports.lv, including, try ranked good librabet μπόνους καζίνο for crypto repayments, providing punctual running times. Check betting requirements, expiry times, and you will qualified video game ahead of saying. We recommend casinos that offer

Top On line Position Sites for the 2026, Experimented with & Checked out Top Online slots Leer más »

Better On the internet Position Sites inside 2026, Attempted & Checked-out Top ten Online slots games

You players can take advantage of a real income harbors https://lucky7even-casino-no.com/no-no/bonus/ online at the registered casinos one allowed American people. Slots.lv, such as, try rated best for crypto repayments, giving quick operating moments. Check always betting criteria, expiration dates, and you can eligible games in advance of claiming. We advice gambling enterprises that offer nice

Better On the internet Position Sites inside 2026, Attempted & Checked-out Top ten Online slots games Leer más »