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

Sin categoría

Confronto: Inesperto casinò online vs Casinò online oltre a datati

Tecnologie all’avanguardia anche design recentissimo: volte nuovi trambusto online utilizzano le tecnologie piu recenti cosi mediante termini di design che di evento di stimolo. Le piattaforme sono oltre a veloci, funzionano agevolmente sopra dispositivi ambiente ed tablet ed offrono un’interfaccia piu sanità addirittura intuitiva. Cio significa fuorche problemi tecnici di inesperto una cabotaggio più grazioso […]

Confronto: Inesperto casinò online vs Casinò online oltre a datati Leer más »

Confronto: Nuovo casinò online vs Bisca online con l’aggiunta di datati

Tecnologie all’avanguardia e design attuale: i nuovi sacco online utilizzano le tecnologie ancora recenti cosi con termini di design ad esempio di carriera di arrembaggio. Le piattaforme sono piu veloci, funzionano affare riguardo a dispositivi mobilia di inesperto tablet addirittura offrono un’interfaccia piu pulizia ancora intuitiva. Cio significa fuorche problemi tecnici e una viaggio oltre

Confronto: Nuovo casinò online vs Bisca online con l’aggiunta di datati Leer más »

Riguardo a quali giochi da mucchio online trovi i migliori premio di ossequio

Si attiva in una equivoco minima, abitualmente 10-20�, ancora puo capire ad indivis stento astuto per 1.000� che tipo di piu con la. La grosso dei gratifica per macchinoso ti fanno acquisire una interesse stima al fondo, che razza di in la massima 100% del primo fondo scaltro per 1.000�. Cashback Risarcimento a Fun Gratificazione

Riguardo a quali giochi da mucchio online trovi i migliori premio di ossequio Leer más »

Che razza di procedere a volte premio in assenza di peso essenziale

SNAI Bingo Betflag Bingo Tutte le offerte presenti contro questa scritto offrono patrimonio o giri di slot machine a titolo generalmente infondato a verificare volte migliori mercanzia presenti riguardo a qualsiasi singola piano. Prendere la divulgazione da te individuata https://justspincasino.org/it/login/ ed facilissimo: bisogna aprire la bravura del compenso cliccando sui nostri banner pubblicitari oppure sui

Che razza di procedere a volte premio in assenza di peso essenziale Leer más »

Diese bekanntesten Live Kasino Spiele man sagt, sie seien z. b. Kartentische, Glucksrader weiters Gameshows

In welcher Cluster ist Ihnen als Nutzer von haus aus diese umfangreichste Auslese serviceleistungen. Auch actuel Hobbys entsprechend Gangbar Glucksspiele man sagt, sie seien durch die bank haufiger damit bietet. Zu diesem zweck farbe bekennen Eltern sich zu handen den Benutzernamen, geben Deren Eulersche zahl-Mail-Schreiben an oder setzen ein Geheimcode darbietung. Intensiv war aber wie

Diese bekanntesten Live Kasino Spiele man sagt, sie seien z. b. Kartentische, Glucksrader weiters Gameshows Leer más »

Supplier NetEnt Maximum Cash x2000 RTP % Discharge Go out 2016-03-twenty-five

Top casinos on the internet inside the Southern Africa. This is certainly is why definitive worry about-help guide to the major online casinos into South town Africa. Uncover a knowledgeable playing sense more than biggest gambling enterprises in the the fresh new Southern area Africa, where i score and feedback the absolute most reputable, high-top

Supplier NetEnt Maximum Cash x2000 RTP % Discharge Go out 2016-03-twenty-five Leer más »

It needs to be earliest and simply date you may have had registered on the playing agent

Totally free Dollars. For many who struck round the a zero-put internet casino NZ provide out-of totally free bucks, you can aquire precisely this. 100 percent free real money to play having all-around lots of a hundred % totally free zero-put online game. Totally free Revolves. If you place attract abreast of the web gambling

It needs to be earliest and simply date you may have had registered on the playing agent Leer más »

The way it operates: People discovered 100 % free revolves otherwise a position-specific extra

Gambling enterprises need visitors to be certain that brand new membership ahead of saying a no deposit slots bonus if you don’t withdrawing profits The advantage can just only be employed to their picked slot video game. Common titles commonly checked during these techniques become Starburst, Guide regarding Deceased, and Gonzo’s Trip. Wagering conditions typically

The way it operates: People discovered 100 % free revolves otherwise a position-specific extra Leer más »

How it functions: People discover 100 % totally free revolves or a slot-particular extra

Casinos may require people to verify new account prior to stating a no-deposit ports extra or even withdrawing winnings The bonus can just only be used to your own chosen slot online game. Common headings will seemed throughout these campaigns is Starburst, Book away from Dry, and you can Gonzo’s Quest. Wagering conditions typically incorporate,

How it functions: People discover 100 % totally free revolves or a slot-particular extra Leer más »