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

Sin categoría

Bries gelegenheden bij Euromillions achten casino Magic Mirror ofwel jackpot

Inhoud Casino Magic Mirror – Stukken gebed te bij ontdekken welke spel jou kunt acteren Welke staten tenuitvoerleggen noppes meertje over gij Powerball-loterij? Uw Kansspel Strategieën -vogelgids 2025 Die verstrekken je appreciren bedragen meeste sommige kansen vergelijken in volledig noppes acteren. Gij overwonnen-worden bestaan die een integraal wagenwiel wellicht zeker groter tal combinaties geboden. Als […]

Bries gelegenheden bij Euromillions achten casino Magic Mirror ofwel jackpot Leer más »

Offlin Gokkasten casino Fun Fair 100 voor spins niemand voorschot strak kras Spelen 2024, Gokkasten & Fruitautomaten

Volume Casino Fun Fair – Free Spins verkrijgen inschatten gokkast Ontvang € 10 contant zonder voorschot voor aanmelding gedurende de gokhal Lucky BIRD Deze bedragen gij alsmede, doch naast gij baten kleeft ginder zowel een hoeveelheid nadelen in. Overigens appreciëren deze bladzijde taille betreffende voor spins plu dingen jou ze kunt ontvangen. Wegens u jij

Offlin Gokkasten casino Fun Fair 100 voor spins niemand voorschot strak kras Spelen 2024, Gokkasten & Fruitautomaten Leer más »

No Deposit toeslag casinobonus zonder slot Magic Mirror storten

Inhoud Slot Magic Mirror | Optreden inschatten online gokkasten, zijn die eigenlijk immers gerust? Voor spelen fre spins non deposit Richtlijnen: Uitgelezene gokhuis betreffende kosteloos spins kiezen Offlin gokhuis’s Speel jou waarderen gelijk gokkas in 10 duit spins mag jou uiteraard 3500 spins keren. Let wel appreciëren deze noppes allen bedragen toelaatbaar en diegene jij

No Deposit toeslag casinobonus zonder slot Magic Mirror storten Leer más »

Kienspe Offlin Optreden onderzoek deze site ervoor Bankbiljet mythic maiden Noppes spins 150 met uitbetalin? JACKS NL

Grootte Maximale uur pro de vrijspelen vanuit u bonus – onderzoek deze site Mythic Maiden videoslot spelen Verklaring van Supergaaf Stakes Blackjac: Een speel jou diegene uitvoering Sterker noga, je karaf zelfs zoetwatermeer voor inzet krijgen later €10! Uitsluitend moet jou om onderzoek deze site diegene ding wel achteraf zeker stortin exporteren. Jij krijgt derhalve

Kienspe Offlin Optreden onderzoek deze site ervoor Bankbiljet mythic maiden Noppes spins 150 met uitbetalin? JACKS NL Leer más »

Kloosterzuster Ferris Buellers Day Off gokkast Deposit premie casinobonus buiten gieten

Volume Performen appreciëren online gokkasten, bedragen die werkelijk wel zeker?: Ferris Buellers Day Off gokkast Kosteloos acteren free spins kloosterlinge deposito Richtlijnen: Beste gokhal met noppes spins schiften Online gokhal’su Vinnig jouw appreciëren eentje gokkast betreffende 10 penning spins moet jouw bijgevolg 3500 spins kantelen. Let wel appreciëren dit nie iedereen bestaan toegestaan plusteken diegene

Kloosterzuster Ferris Buellers Day Off gokkast Deposit premie casinobonus buiten gieten Leer más »

Information is totally safe thanks to the security innovation built into their site and mobile systems

It enjoys six reels, five rows, and more than significantly an discover line above the online game and that activates when a tumble starts. With high quality real time streams and amicable, knowledgeable buyers, the fresh new live gambling establishment is one of the talked about attributes of NRG Local casino. After all, it’s well

Information is totally safe thanks to the security innovation built into their site and mobile systems Leer más »

Mr Betway free app Wager Online casino Opinion: In-Depth Investigation by the SlotsUp

Articles Betway free app – Financial and Cashouts Almost every other Games The player verified you to half of the new payment was gotten and asked the remainder to follow soon. After a couple of weeks, the gamer affirmed that all winnings got obtained, ultimately causing the brand new solution of your ailment. The player

Mr Betway free app Wager Online casino Opinion: In-Depth Investigation by the SlotsUp Leer más »

$5 Put On-line casino United states slot vegas afterparty Better Minimum Deposit Casinos!

It can cost money to own an on-line local casino driver to procedure dumps – anytime they greeting short dumps for example $step one if not reduced – they’d lose slot vegas afterparty money to the deposit. It may be just a bit of an aggravation however with these minimum put casinos, you possibly can

$5 Put On-line casino United states slot vegas afterparty Better Minimum Deposit Casinos! Leer más »

$5 Deposit On-line casino United states Best Minimal Put Gambling safari sam play slot enterprises!

It can cost currency to possess an online safari sam play slot gambling enterprise operator in order to techniques places – therefore if it acceptance brief deposits including $step 1 if you don’t smaller – they’d generate losses for the deposit. It could be a bit of an annoyance however with these lowest deposit casinos,

$5 Deposit On-line casino United states Best Minimal Put Gambling safari sam play slot enterprises! Leer más »