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

Sin categoría

Wybierz Najlepsze Miejsce do Gry w polsce

Jedną https://velvetspinscasino.net/pl/ z najbardziej oczywistych zalet portalu jest hojny program lojalnościowy, jaki zawiera prezenty zarówno dla nowych, jak i stałych graczy. Kasyno Vavada jest dość nowym blogiem, jaki zapewnia jego użytkownikom korzystanie z interaktywnego hazardu. W tej samej instytucji wybierz operatora transakcji i zrealizuj wypłatę zgodnie z danymi i instrukcjami na ekranie. Zazwyczaj bonus powitalny […]

Wybierz Najlepsze Miejsce do Gry w polsce Leer más »

Hilton vs Marriott: jakie kasyno Stolica polski oferuje większą ilość wiadomości?

Lokalizacje, klimat, gry, poker ma do tego na Twe wydarzenie. 28 Krucza Streep Warsaw City owe fundament naszej filii eventowej, ogół warsztat ożywia ciarki emocji. Lokalizacje, nastrój, jaki to ripper casino pozostanie w sercu Stolicy polski, na terytorium polski. Odmienne punkty spośród kategorii Kasyno Stolica polski nie jest trochę więcej kameralną atmosferę. Istnieje właśnie opcja

Hilton vs Marriott: jakie kasyno Stolica polski oferuje większą ilość wiadomości? Leer más »

Bezpieczne Gry Online i Prawdziwe Pieniądze Czekają na Cię

Działa https://winbeatz.eu.com/pl-pl/login/ sprawnie zarówno na programie Android, jak i iOS, oferując dostęp do całkowitej oferty gier i funkcji. Im więcej grasz, tym większe masz szanse na wysoką pozycję w rankingu. Można zagrać zarówno na klasycznych owocówkach, jak i nowoczesnych slotach wideo z ciekawą grafiką i dodatkowymi funkcjami. Wszystkie pochodzą od uznanych dostawców, co zapewnia wysoką

Bezpieczne Gry Online i Prawdziwe Pieniądze Czekają na Cię Leer más »

Kasyno 1995 online

Sam zawiera kontrolę nad wieloma dochodowymi kasynami. Na wpływowym protektorom Sam zawiera kontrolę nad wieloma dochodowymi kasynami. Przed dazn bet końcem opłaconego czasu usługa GONET.Telewizji TOP pozostaje automatycznie przedłużona o 15 miesiąc za 48,99 złotych, a pakiet HBO za 33 złotych. Przed końcem opłaconego czasu usługa Mini GONET.Telewizji pozostaje automatycznie przedłużona o 15 miesiąc za

Kasyno 1995 online Leer más »

Mobile Apps and Mobile-Optimised Gambling enterprise Other sites having British People

One method to offer the latest adventure off a place based casino into online gambling be is by providing over benefit of real time casino web sites therefore will get real time specialist games. Live professional games are just gambling games one to services alive, with a bona-fide specialist trailing the brand new display. During

Mobile Apps and Mobile-Optimised Gambling enterprise Other sites having British People Leer más »

Cellular Apps and Mobile-Optimised Casino Other sites which have British Anyone

The easiest way to render the newest thrill out-of an area established local casino into online gambling end up being is through getting complete advantage of real time casino internet and also you could possibly get real time broker game. Real time specialist video game basically gambling games one services live, which have a bona

Cellular Apps and Mobile-Optimised Casino Other sites which have British Anyone Leer más »

GambleAware is actually a reports and assist system to own to relax and play addiction

Their work design requires the testing off ten groups and 73 conditions and therefore iGaming people must pursue to market a much safer to tackle ecosystem. An effective Uk casino registration ban isn’t an easy task to circumvent which have GamBlock active. Even when the additional period lapses, one to cannot always harmonize sympathy. Certain

GambleAware is actually a reports and assist system to own to relax and play addiction Leer más »

Kasyno Hilton Warszawa Opinie

Owe wyjątkowe wydarzenia, podczas których emocje wraz z hazardem kojarzą uwagi spośród uczynnością oraz serdecznością, komponując jedyną w swoim rodzaju aurę zaangażowania społecznego. Turnieje owe są niesamowitą szansą, aby poznać kulturę zabawy dzięki energicznie, delektując się otoczeniem bogatym w całej luksusowe aranżacje, przesycone estetyką i wyczuciem luksusu. Ogromne emocje wyłaniają uwagi coś znacznie więcej aniżeli

Kasyno Hilton Warszawa Opinie Leer más »

Taking new Gambling enterprise Internet sites You should Prevent

ELK Studios integrates big illustrations or photos with unique game aspects such as the X-iter ability. Well-known headings such as Nitropolis and you may Katmandu Silver show their commitment to immersive game play. Big-go out Gaming Writer of innovative Megaways mechanic, BTG https://hommerson-online.nl/ changed updates playing permanently. Having game such as for example Bonanza and

Taking new Gambling enterprise Internet sites You should Prevent Leer más »

I including appreciate casinos one enhance the kindness early in the day precisely the first put, offering lingering adverts to help you honor dedicated people

Together with, gambling enterprises including Parimatch be noticeable for their huge 100% added bonus to ?fifty,100, that delivers the best value as an alternative an excessive amount of tough terms and conditions. Support service Expert customer care is an additional extremely important basis i examine directly just in case determining a knowledgeable internet casino. The

I including appreciate casinos one enhance the kindness early in the day precisely the first put, offering lingering adverts to help you honor dedicated people Leer más »