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

Sin categoría

Nadprogram Bez Depozytu 2024 na rzecz marco polo $ 1 depozyt Młodych polaków Bezpłatne Kasyno spośród Bonusem zbytnio Rejestrację

Content Lub niezbędny wydaje się szyfr promocji na rzecz zdobycia bonusu dziesięciu euro wyjąwszy | marco polo $ 1 depozyt Kody bonusowe w kasynie Jakie przewagi wolno zdobyć wraz z reklamy bezpłatne spiny przy kasynie? Propozycja powitalna jak i również zniżki – odbierz bonus w kasynie Bison Oryginalne kasyna sieciowy 2024 Licencja pokazuje, że każde […]

Nadprogram Bez Depozytu 2024 na rzecz marco polo $ 1 depozyt Młodych polaków Bezpłatne Kasyno spośród Bonusem zbytnio Rejestrację Leer más »

Darmowe indian dreaming 5 Depozyt Kody przy Kasyna Sieciowy

Content Lemon Casino Recenzja, Bonusy i Poglądy | indian dreaming 5 Depozyt Cotygodniowy konkurs pochodzące z pulą 20 000 zł i free spinami spośród Slottica Turnieje na stronie Vulkan Vegas Top kasyna online oferujące bezpłatne spiny za rejestrację Będą ów kredyty atrakcyjne zwłaszcza wraz z jednego, prostego aspektu – każdy może na nich zagrać, wyjąwszy

Darmowe indian dreaming 5 Depozyt Kody przy Kasyna Sieciowy Leer más »

Precisely why you Try Believe Your local gambling enterprise Recommendations

Really casinos gives a welcome added bonus in order to new clients and you will typical profiles, along with other campaigns. When you are united states studies such bonuses to make certain all of our needed gambling enterprises offer promotions and this make that have market price, we think about exactly how fine print impact

Precisely why you Try Believe Your local gambling enterprise Recommendations Leer más »

Bezpłatne Hazard Automaty Hot Spot wyjąwszy deal or no deal Slot online Rejestrowania się

Content Deal or no deal Slot online | Kasyno online darmowo – hazard Minusy konsol hazardowych za darmo Wizualizacje i opcje wypłat w automacie Sizzling Hot Kasyno on-line w Total Casino Zostaje zatem guzik odrębnego gdy losowanie do chwili, aż trafi uwagi deal or no deal Slot online nam upragniona wygrana. Przetestuj, czymże wydaje się

Bezpłatne Hazard Automaty Hot Spot wyjąwszy deal or no deal Slot online Rejestrowania się Leer más »

Most useful The latest Gambling enterprise Internet sites in britain – Introduced to the 2025!

When you need to experience Ra Unleashed, you to casino providing the video game are Position World. Using this gambling enterprise web site you have made a beneficial 100% put matches so you’re able to ?222 and twenty a couple of free revolves. 18+. The newest people merely. Minute put ?ten. twenty a few Extra

Most useful The latest Gambling enterprise Internet sites in britain – Introduced to the 2025! Leer más »

On-line casino Bonuses on the Lowest Wagering Requirements

Blogs Why Gambling enterprises Offer No Bet No deposit Incentives Put Bonuses Search terms to have Knowledge Gambling establishment Rollover Imagine if I’m not inside a regulated on-line casino county? Information wagering standards helps you find a very good local casino bonuses and you will inject more power into your money. Since you delve greater

On-line casino Bonuses on the Lowest Wagering Requirements Leer más »

No-deposit Casino Bonuses Directory of Finest Put-Free Bonuses

Some funds races will give you a predetermined carrying out equilibrium, as well as your review depends upon exactly how much your winnings once a-flat level of series. Our guides casino tips defense from alive blackjack and you can roulette to fun game suggests. To make sure the protection when you’re playing online, like casinos

No-deposit Casino Bonuses Directory of Finest Put-Free Bonuses Leer más »

Greatest Southern African Playing Websites Upgraded July 2026 Greatest 10 Ranked

Blogs Totally free Revolves No-deposit Now offers Finest 50 Totally free Revolves to your Registration No deposit Also offers Affirmed Campaigns Greatest Web based casinos A real income 2026: Administrator Bottom line Some product sales come with solid terms, while some is full of highest betting standards and you will cashout restrictions. Speaking of picked

Greatest Southern African Playing Websites Upgraded July 2026 Greatest 10 Ranked Leer más »