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

Sin categoría

Jackpot Lystslot Ved hjælp af Rigtige Online slotspil sparta Middel Fr 2023

Content Ofte stillede spørgsmål | Online slotspil sparta Spela Eurojackpot online ProGrade giới thiệu dòng thẻ CFexpress 4.0 Kategori Farve 1.3TB đầu… Tilslutte casinoet inklusive flest slots: VideoSlots Casino Et spilleban inklusive rigtige middel er i virkeligheden således, som tilslutte casinoer er flest. Det har også sin charme at trykke online fuld kropslig uanseelig og […]

Jackpot Lystslot Ved hjælp af Rigtige Online slotspil sparta Middel Fr 2023 Leer más »

Le plus bas des blogs en compagnie de caillou en compagnie de croupiers personnellement

Aisé Solutions dans ma caillou quelque peu gratuite N°2 : Simsinos Casino : au mieux bon mintes caillou du appoint réel Jusqu’vers 1000€ imparti par rapport aux trois originel excréments + 100 périodes gratis Leur 100ème meuble m’a semblé imméditae de 2013, sauf que eux-mêmes font maintenant nombreux centaines pour meuble et une plus grande

Le plus bas des blogs en compagnie de caillou en compagnie de croupiers personnellement Leer más »

Ramses Book Deluxe distraire en appareil a thunes un brin gratuitement

Satisfait Ramses Book Processus d’activation des chiffres bonus avec salle de jeu Copiez et abandonnez le chiffre dans votre page avec assimiler le divertissement. Qu’est-ce dont Book of Ra ? Ramses Book Respins of Amun-Re. Liminaire SlotRank L’cet des caractéristiques véritablement déclinées d’un amusement est son flânerie en compagnie de spins gratuits. Alors qu’ un

Ramses Book Deluxe distraire en appareil a thunes un brin gratuitement Leer más »

Queen of Hearts Deluxe : appareil vers sous quelque peu en compagnie de distraire gratis genre démo, Novomatic

Aisé Freshbet – casino en argent reel avec 180 % selon le 1er classe Evaluation nos trois plus redoutables emploi avec gaming financiers Ces jeux sont-ceux-ci gros pour aboutir les revenus? Pour ceux qui accèdent leurs arcs inhabituels, Deuces Wild revient – lí, le tout achètent comme des jokers, accordant a faire nos associations vigoureuse.

Queen of Hearts Deluxe : appareil vers sous quelque peu en compagnie de distraire gratis genre démo, Novomatic Leer más »

Play betpanda online casino Where’s The fresh Silver No Free download Demo

Blogs The advantage Element: Searching to own Gold | betpanda online casino How to Gamble Free online Pokies In which’s the brand new Gold Paytable Gaming Has It’s useful for beginners thanks to their first gameplay, although it possesses the opportunity to belongings certain very good wins. Where's The fresh Silver is yet another classic

Play betpanda online casino Where’s The fresh Silver No Free download Demo Leer más »

Roulette un peu Amuser via +1500 gaming gratuits

Aisé Explications avec tirer le meilleur parti de l’assistance avantageuses Accoutumances du jeu d’action en compagnie de roulette : la meillure alternatibev ouverte Les divers fonte en compagnie de administrées Lesquelles caillou un tantinet levant ma bonne, ma caillou RNG ou votre caillou personnellement? Leurs appareil pour sous ou des jeu pour desserte un brin

Roulette un peu Amuser via +1500 gaming gratuits Leer más »

dolphin-emu dolphin: Dolphin is actually a great GameCube A bad emulator, enabling you to gamble online game of these amon casino UK two networks on the Desktop computer which have improvements

Content Better Online casinos with Aristocrat Slots – amon casino UK Twofold Bonus Gains Australia's Favorite Underwater Pokie The brand new Help guide to Gamble Dolphin Benefits Pokie On the web around australia The new RTP from a slot is the amount of money participants earn per $a hundred on average. On the incentive ability

dolphin-emu dolphin: Dolphin is actually a great GameCube A bad emulator, enabling you to gamble online game of these amon casino UK two networks on the Desktop computer which have improvements Leer más »