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

Sin categoría

Ottenere il tuo ricompensa scompiglio discutibile apprezzamento provvisorio richiede 4-5 passaggi specifici

Regolazione addirittura Attivazione Premio La eccitazione dipende specialmente da quanto perfettamente carichi rso atto di verifica. Vedete il flusso standard controllato verso oltre 20 piattaforme: Crea l’account fornendo email, bravura di telefono anche dati anagrafici completi. Agit informazioni identiche per quel sui tuoi prova di accordo, perche discrepanze causano ritardi di controllo di 24-48 ore. […]

Ottenere il tuo ricompensa scompiglio discutibile apprezzamento provvisorio richiede 4-5 passaggi specifici Leer más »

Consigli sopra Sfruttare un Confusione Emolumento Senza Gremito

?? Confiscato di mano Il segregato di mano indica quante pirouette devi osare il riconoscimento anzi di poterlo detrarre. Indivis rollover 20x significa che razza di indivis riconoscimento da 10� achemine scommesso a un totale di 200�. Piu attenuato di nuovo il sequestrato, più modesto sara correggere il gratifica in averi esperto. ? Attendibilita e

Consigli sopra Sfruttare un Confusione Emolumento Senza Gremito Leer más »

Sopra quali giochi da bufera online trovi rso migliori gratificazione di commiato

Sinon attiva per una cambio minima, solitamente 10-20�, ancora puo giungere ad un fatica magro per 1.000� alquanto piu piu durante la. La preponderanza dei gratifica con difficile ti fanno prendere una importanza stima al intricato, come con la espressione 100% del davanti presso magro a 1.000�. Cashback Pratica a Fun Riconoscimento di una indice

Sopra quali giochi da bufera online trovi rso migliori gratificazione di commiato Leer más »

Totally free twist earnings is simply subject to a great 40x gambling needed

You cannot claim the fresh new https://711casino-online.com/ acceptance bonus that have deposits produced because the a direct result Neteller and you can Skrill. You really need to wager the benefit and you may qualifying set 35x. The fresh new local casino allows a max options sized �5 if incentive was energetic. You really need to

Totally free twist earnings is simply subject to a great 40x gambling needed Leer más »

No deposit totally free spins normally have a bit highest wagering constraints or even an earn limitation to own the latest gambling enterprise specific safety

You might perform an account in just a second; no novel inspections are required. Just like the software is actually 100 % totally free, delivering a physical notes could cost a little while delivering shipping. Safety measures including biometric personality secure the import, while making Revolut exactly as strong as the typical monetary possibilities. Making

No deposit totally free spins normally have a bit highest wagering constraints or even an earn limitation to own the latest gambling enterprise specific safety Leer más »

No deposit totally free spins normally have slightly highest wagering restrictions if not a win limit to offer the the fresh gambling establishment specific shelter

You could do a free account within just the next; no unique inspections are expected. Just like the app is actually 100 % 100 percent free, bringing an actual physical notes could cost a while bringing postage. Safety measures such as for instance biometric character safe the import, making Revolut just as strong due to

No deposit totally free spins normally have slightly highest wagering restrictions if not a win limit to offer the the fresh gambling establishment specific shelter Leer más »

No-deposit free revolves normally have quite large betting constraints otherwise a winnings restriction to own the fresh new gambling establishment specific shelter

You can would an account in only another; no unique checks are required. Just like the app is a hundred % free, delivering an actual physical notes could cost a bit getting postage. Safety measures for example biometric character secure most of the transfer, making Revolut just as strong given that regular monetary choices. Making

No-deposit free revolves normally have quite large betting constraints otherwise a winnings restriction to own the fresh new gambling establishment specific shelter Leer más »