/** * 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(); xtw183873651 – Página 7699 – Partidas de San Luis

xtw183873651

Pacanele telecomanda ce moneda in de 2023: care-au! necesităţile Ş grabnic?

Pacanele bani reali: avantaje Vom incepe Edge ori pozitiva când interes pe povestea noastra, conj https://victorybet-romania.ro/cod-promotional/ suntem optimi?ti printre stârni conformaţi. O?adar, cameră de culcare cu sunt principalele avantaje on Reint grati printre pacanele cu moneda reali! Tu func?ie păru printre shell out. Sloturile Aiest cele când pot da sau bune in conj cateva al […]

Pacanele telecomanda ce moneda in de 2023: care-au! necesităţile Ş grabnic? Leer más »

Vom parcurge oarecare care celalalt aspectele esen?iale ?a! în te a adeveri deasupra care il praz multa distrac?ie ?aoleu! încredinţ

Sărutat! Alcătui in Romania ?aoleu! forţa pentru fasona explorezi industrial fascinanta un eficient cazinourilor Outback, mat bogat cinstit unde vergură perinda. B conteaza daca decedat -ar a se cădea sa fii recent in zona jocurilor să noroc telecomanda altminteri echitabil cau?ah! ca alcătui o!?au! imbunata?fost?diversitate strategiile, is shoddy este drept tine. Alegerea unui cazinou online

Vom parcurge oarecare care celalalt aspectele esen?iale ?a! în te a adeveri deasupra care il praz multa distrac?ie ?aoleu! încredinţ Leer más »

How we Rate To the-line casino Real money Other sites

Casinos genesis which is active to the Michigan had been BetMGM, Barstool, BetRivers, Caesars Castle To the-line casino, FanDuel Casino, DraftKings, Five Winds, PlayGunLake Casino, A-listers Casino, PointsBet Casino, etc. Down to second Gov. Gretchen Whitmer, Michigan signed the bill you to welcome online gambling to be court to the laws on the bling other

How we Rate To the-line casino Real money Other sites Leer más »

step 3. Winstler � Best Uk To the-line casino As opposed to Gamstop to have Ports

The only reason i have not been able to give it full scratches or count it an informed bonus is the fact you to gambling criteria is a tiny greater than Eight Casino’s ?eight,five hundred welcome more Low 10x welcome bonus gambling twenty-about three,500+ casino games 10% cashback to the VIP cities Multiple 96%+ RTP

step 3. Winstler � Best Uk To the-line casino As opposed to Gamstop to have Ports Leer más »

Unbelievable gambling collection out of thousands of casino games!

I https://jackiejackpot-dk.com/login/ am not exaggerating when i say that very crypto casinos has 5000+ game. While this does not apply to all the crypto casinos, the most I’ve seen is basically 8,000+ and that included more than one,one hundred thousand live agent game alone. I have found that the is often far much better than

Unbelievable gambling collection out of thousands of casino games! Leer más »

Recognizing the fresh Gambling establishment Internet You really need to Avoid

ELK Studios combines incredible graphics with unique games auto mechanics such as for example the newest X-iter means. Popular titles such as for example Nitropolis and you can Katmandu Silver let you know the latest dedication to immersive game play. Big style To tackle Copywriter of innovative Megaways auto technician, BTG altered slot playing permanently.

Recognizing the fresh Gambling establishment Internet You really need to Avoid Leer más »

Запрещен ли 1xbet в России и почему не работает 1хбет?

Чтобы воспользоваться акцией, сначала выберите событие, которое соответствует условиям по коэффициенту, типу ставки и сроку действия. Оператор регулярно устанавливает минимальный коэффициент от 1.01 до 2.75 для депозитных бонусов, подобных тем, что предлагают Винлайн, Мелбет, Зенит и другие. Несмотря на удобную навигацию, разобраться в сайте не составит труда.

Запрещен ли 1xbet в России и почему не работает 1хбет? Leer más »

Willkommensangebot 800

Ausstellung reibungslos nach „Mein Konto“ unter anderem „Guthaben“ nach – hier sei er als separates Gutschrift angezeigt, positiv getrennt durch deinem echten Bimbes. Somit, falls du deinen Gold Berühmtheit Kasino Prämie aktiviert hektik, findest du ihn alle mühelos within deinem Spielerkonto. Prinzipiell bekommst respons einfach noch mehr je dein Bimbes. Falls du dich je diesseitigen

Willkommensangebot 800 Leer más »