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

Sin categoría

Najistotniejsze Kasyna Internetowego kasyno marilyn monroe z Darmowymi Spinami Polska 2026

Content Kasyno marilyn monroe – Fireball Casino – 35 Gratisowych Spinów bez depozytu Kasyna Wideo – Typ Bonusów wraz z Bezpłatnymi Spinami Czy zdołam otrzymać bonusy w całej kasynach wyjąwszy rejestrowania się w polsce? Porównaj wraz z mną bezpłatne spiny wyjąwszy depozytu vs. bezpłatna gotówka z brakiem depozytu Skorzystaj spośród bonusu kasynowego Inne witryny wraz […]

Najistotniejsze Kasyna Internetowego kasyno marilyn monroe z Darmowymi Spinami Polska 2026 Leer más »

Gry jak grać w grę mega hamster? hazardowe za darmo Graj bezpłatne automaty wyjąwszy rejestracji

Content Jak grać w grę mega hamster? | Płatności pod telefonie Kasyno online – jak rozpocząć grę? Płatności Kryptowalutowe w Kasynach Gdy odrabiają automaty do odwiedzenia uciechy Termin wykonania wypłat To znaczy napęd i serce każdego slotu, oraz oczywiście po to faktora jest zależne, albo wygrasz, czy nie jak grać w grę mega hamster? zaakceptować.

Gry jak grać w grę mega hamster? hazardowe za darmo Graj bezpłatne automaty wyjąwszy rejestracji Leer más »

Aspirations Casino twenty-five Totally free Revolves No-deposit casino guts casino Code

Articles Should i Attract more than just 25 Free Revolves? | casino guts casino 100 percent free Revolves to your Robin from the Woods in the Rumors Slots Entitled immediately after Elvis Presley, Elvis Frog within the Vegas features a good 96% RTP, medium-higher difference, and you may twenty-five winning implies. Apart from that it,

Aspirations Casino twenty-five Totally free Revolves No-deposit casino guts casino Code Leer más »

Shell slot texas rangers reward out Because of the Cell phone Gambling enterprise Uk Greatest Spend From the Mobile Gambling enterprise Webpages

This guide seems specifically from the a radical fee approach – pay by the mobile gambling enterprise. Within this publication, i speak about all the best choices with regards to shell out because of the mobile phone statement casinos. As soon as we say mobile gambling establishment borrowing from the bank money, i mean normal gambling enterprise

Shell slot texas rangers reward out Because of the Cell phone Gambling enterprise Uk Greatest Spend From the Mobile Gambling enterprise Webpages Leer más »

Spend From the Mobile phone Gambling establishment British Finest Shell out Because casino payment and withdrawal methods of the Mobile Casino Webpages

This informative guide seems specifically in the a significant commission approach – shell out because of the cellular casino. Inside guide, i talk about all the best possibilities regarding pay from the cellular phone bill casinos.

Spend From the Mobile phone Gambling establishment British Finest Shell out Because casino payment and withdrawal methods of the Mobile Casino Webpages Leer más »

Shell out By the sloto cash free bet no deposit promo code Cellular telephone Gambling establishment British Best Pay By Cellular Casino Site

This article seems specifically from the a significant fee approach – pay by cellular gambling establishment. Within this publication, we speak about good luck choices when it comes to spend by mobile phone costs casinos. Whenever we state mobile local casino borrowing from the bank money, i suggest typical gambling enterprise sites you to definitely support cellular

Shell out By the sloto cash free bet no deposit promo code Cellular telephone Gambling establishment British Best Pay By Cellular Casino Site Leer más »

Mummys Silver casino bgo mobile Gambling enterprise Review 2024 Specialist and you may Player Reviews

Gaming from the Mummys Silver isn’t just enjoyable and you will satisfying but simpler as well. That it on-line casino lets using having debit and you may credit cards, online and bank transmits, and you can web wallets. The entire process of transferring and withdrawing is clear and you will fast, and all sorts of

Mummys Silver casino bgo mobile Gambling enterprise Review 2024 Specialist and you may Player Reviews Leer más »

Mr Play Gambling enterprise, two hundred Added tutan keno slot machine bonus, 100 Ilmaiskierrosta

Posts Tutan keno slot machine – Neighbor or other Special Bets Is Mr Gamble legitimate and you will not harmful to Uk participants? The big advantage of this really is one to people never have to provide people private monetary suggestions and there’s hardly any opportunity for cash to become taken. The downside is that normally this

Mr Play Gambling enterprise, two hundred Added tutan keno slot machine bonus, 100 Ilmaiskierrosta Leer más »

Mr Play Gambling establishment, 2 hundred Added bonus, a hundred razortooth slot free spins Ilmaiskierrosta

Posts Neighbour and other Unique Bets | razortooth slot free spins Try Mr Gamble legitimate and you may not harmful to British participants? The big advantage of this is you to players never have to provide any personal economic information and there’s hardly any chance for money in order to getting stolen. The downside is that typically

Mr Play Gambling establishment, 2 hundred Added bonus, a hundred razortooth slot free spins Ilmaiskierrosta Leer más »

Mr Play casino venetia slot Gambling establishment, 200 Extra, one hundred Ilmaiskierrosta

Content Neighbour or other Special Bets – casino venetia slot Is actually Mr Enjoy legitimate and not harmful to British professionals? The top advantage of this can be one professionals never need to provide one individual economic advice as there are hardly any opportunity for cash so you can become taken. The downside is that typically that

Mr Play casino venetia slot Gambling establishment, 200 Extra, one hundred Ilmaiskierrosta Leer más »