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

Sin categoría

If you you prefer a lot more guidance or pointers, don�t think twice to get in touch with you personally

We have been right here to help with your inside the fixing this problem https://betanoslots.net/pt/codigo-promocional/ and promising your own pleasure. Many thanks for having your very own concerns on the appeal, and we a cure for a swift top quality to your withdrawal consult. System diversity guarantees all pro discovers games free of charge the […]

If you you prefer a lot more guidance or pointers, don�t think twice to get in touch with you personally Leer más »

Banker provide: Has the benefit of you to:you to in the place of a payment, because of a relatively highest successful solutions

Once i strategy the online game regarding Baccarat, I like keep in mind one , it is a vintage casino games which have an easy functions: betting on one of a few hands, the gamer or even the Banker. Although not, do not let the benefits fool your-having a powerful learn how to the fresh

Banker provide: Has the benefit of you to:you to in the place of a payment, because of a relatively highest successful solutions Leer más »

Banker promote: Also provides you to definitely:one instead of a fee, because of a relatively higher profitable opportunities

Whenever i strategy the game away from Baccarat, I love keep in mind you to , it is a classic online casino games with an easy functions: betting on one of a few hands, the player or the Banker. However, don’t allow the convenience deceive your-that have a powerful discover ways to the fresh foundational

Banker promote: Also provides you to definitely:one instead of a fee, because of a relatively higher profitable opportunities Leer más »

Banker bring: Has the benefit of that:one versus a payment, due to a comparatively higher profitable options

While i means the video game regarding Baccarat, I love keep in mind that , it is an old online casino games which have an easy https://bet-any-sports.io/nl/inloggen/ functions: gambling using one of a few hand, the gamer or perhaps the Banker. Yet not, do not let this new benefits deceive you-that have a robust discover

Banker bring: Has the benefit of that:one versus a payment, due to a comparatively higher profitable options Leer más »

Qual ancora il miraggio di qualsiasi scommettitore addirittura membro dei città da gioco?

Nell’eventualita ad esempio facessimo excretion accatto per rso giocatori italiani, risponderebbero quasi quale ed esso di divertirsi privato di dover riconoscere rso propri vitale. Fortunatamente, esistono delle offerte mediante Italia ad ipotesi lo permettono! Stiamo parlando del riconoscimento scoraggiante escludendo intricato, una particolarita di riconoscimento come viene erogata da una inizio di incanto d’azzardo privato

Qual ancora il miraggio di qualsiasi scommettitore addirittura membro dei città da gioco? Leer más »

Qual di nuovo il fantasia di ogni sportivo addirittura complesso dei paese da artificio?

Nell’eventualita come facessimo excretion caccia sopra rso giocatori italiani, risponderebbero incertezza che tipo di di nuovo quello di allietarsi privo di dover conoscere rso propri patrimonio. Faustamente, esistono delle offerte per Italia ad dimostrazione lo permettono! Stiamo parlando del gratificazione spontaneo senza contare complicato, una particolarita di onorario ad esempio viene erogata da una supporto

Qual di nuovo il fantasia di ogni sportivo addirittura complesso dei paese da artificio? Leer más »

Qual ed il visione di qualsiasi sportivo ed insieme dei casa da inganno?

Nell’eventualita come facessimo excretion accatto sopra rso giocatori italiani, risponderebbero forse come addirittura colui di ricrearsi senza dover apprendere rso propri patrimonio. Per fortuna, esistono delle offerte sopra Italia ad esempio lo permettono! Stiamo parlando del premio ingenuo escludendo oscuro, una particolarita di compenso quale viene erogata da una supporto di adescamento d’azzardo privo di

Qual ed il visione di qualsiasi sportivo ed insieme dei casa da inganno? Leer más »

Qual anche il fantasia di qualunque scommettitore ancora partecipante dei sede da artificio?

Nell’eventualita che tipo di facessimo excretion elemosina con rso giocatori italiani, risponderebbero forse che tipo di anche quello di dilettarsi senza dover sentire rso propri averi. Per buona sorte, esistono delle offerte sopra Italia ad campione lo permettono! Stiamo parlando del gratificazione ingenuo escludendo complicato, una particolarita di onorario che tipo di viene erogata da

Qual anche il fantasia di qualunque scommettitore ancora partecipante dei sede da artificio? Leer más »

Qual ancora il estro di qualsivoglia atleta anche insieme dei luogo da imbroglio?

Nell’eventualita come facessimo excretion accatto con rso giocatori italiani, risponderebbero incertezza ad esempio addirittura esso di svagarsi privo di dover imparare rso qbet applicazione propri ricchezza. Fortunatamente, esistono delle offerte con Italia ad caso lo permettono! Stiamo parlando del gratifica scoraggiante privo di complicato, una particolarita di premio che razza di viene erogata da una

Qual ancora il estro di qualsivoglia atleta anche insieme dei luogo da imbroglio? Leer más »