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

Sin categoría

Simple tips to begin to play on a genuine money slots web site?

Choose the best position � Whenever to try out toward an excellent bona-fide currency position website, choose harbors with a high RTP. Throughout these, you’ll be able to mathematically beat less overall eventually. Select the right playstyle � Your odds of effective in one single spin differ considering the most recent standing you select. perhaps […]

Simple tips to begin to play on a genuine money slots web site? Leer más »

How to start to experience throughout the a bona-fide currency harbors web site?

Select the right slot � Just in case to experience with the good bona-fide currency slot web site, choose ports with a high RTP. During these, you can easily statistically reduce less money in the long run. Select the right playstyle � Your odds of winning in a single spin disagree due to the latest

How to start to experience throughout the a bona-fide currency harbors web site? Leer más »

L’operatore e esibito di concessione europea (Curacao) addirittura supporta ed-wallet, carte ed criptovalute

Con scelta, puoi trasmettere una mail ancora aspettare una risposta, che razza di di solito accosta tra indivisible ricorrenza A fornirti informazioni accurate ed affidabili, conduciamo indivisible sobrio andamento di test per qualsivoglia casino che razza di valutiamo. Scopritore del inganno d’azzardo in Bitcoin dal 2013, offre certain disinteressato ausilio alle criptovalute addirittura fiducia comprovata.

L’operatore e esibito di concessione europea (Curacao) addirittura supporta ed-wallet, carte ed criptovalute Leer más »

Queste sono single alcune delle tipologie di premio privo di intricato disponibili nei casino online

Gia come volte free spins sono state assegnati al tuo account, puoi utilizzarli verso contare verso una ovverosia oltre a slot machine specifiche indicate dal bisca. I free spins privato di intricato sono indivis perfetto come a rso giocatori di tentare nuove slot machine addirittura superare averi competente privo di implicare volte propri finanza. Qualora

Queste sono single alcune delle tipologie di premio privo di intricato disponibili nei casino online Leer más »

Controllo come il casino deciso permetta l’accesso per queste offerte contatto depositi Visa

La fortuna della conciliazione di fitto e, certo, il ancora evidente opportunita di attuale metodo di pagamento. Il bonus di saluto offre scaltro al 200% + 350 free spin sopra quattro depositi, mediante requisiti di occhiata da x15 a x25 a avantagea della stadio. Il gratifica di ossequio offre 100% scaltro a 500� + 200

Controllo come il casino deciso permetta l’accesso per queste offerte contatto depositi Visa Leer más »

Navigando, puoi tentare la limpidezza del sito in legame ai bonus (es

Non esiste indivis miglior trambusto non aams mite per qualunque Sinon calcola sulle perdite effettive, privato di cosi eventuali importi vinti, di nuovo puo risiedere suggerito che razza di bonus di commiato ovvero quale divulgazione ricorrente. Indivisible lato fondamentale come tutti prendono sopra adempimento quando devono anteporre una trampolino di bazzecola e la adesione ancora

Navigando, puoi tentare la limpidezza del sito in legame ai bonus (es Leer más »

Bolje online casino igre na internetu za pravi novac s visokim profitima

Sadržaj Izbor igara – Postoje li najčešće korištene kasino igre? U čak 200 igara, program olakšava odabir i početak klađenja. Francuski rulet ima prednost od samo jednog koraka, 35%, a Higher Limits Single Deck Blackjack također nudi 99,91% RTP-a nakon prvog pokušaja. Bally Choice Sporting & Casino nudi više od 250 igara, kao i vrste

Bolje online casino igre na internetu za pravi novac s visokim profitima Leer más »

Sort to see a knowledgeable, latest, or easiest harbors websites earliest

At exactly the same time, there are various filter systems for you to use very you may be able in order to great-track the list of most useful reputation internet you will observe toward these pages, such as for example: Games Seller � Utilize this filter out if you’re looking having an in-line casino which

Sort to see a knowledgeable, latest, or easiest harbors websites earliest Leer más »