/** * 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(); xtw1838790ca – Página 63 – Partidas de San Luis

xtw1838790ca

Kasino BetLabel nabízí důvěryhodné a oprávněné odměňující

Jestliže v roli zkušených hráčů vybíráme online casino, hledáme propojení několika hlavních jistot – pevné důvěry, formální povolení a systému, který důsledně kompenzuje. BetLabel Casino nás v tomto směru zaujalo zejména tím, že všechny tyto pilíře ukládá do jednoho vyváženého celku. Hned při prvním průzkumu vypadá prostředí dospělým dojmem, a nikoliv pouze kvůli jasnému designu, […]

Kasino BetLabel nabízí důvěryhodné a oprávněné odměňující Leer más »

Ekskluzywna gra w kasynie HighFlybet dla fanów w Polsce

Zapraszamy w kasynie Highflybet Kasyno Recenzja, gdzie widzimy rozrywkę hazardową jako przygodę na szczytowym poziomie. Naszym celem jest oferowanie graczom z Polski wrażenia, które integrować elegancję, bezpieczeństwo i ekscytację w jednym miejscu. Rozumiemy, że poszukujecie nie tylko gier, ale i atmosfery, dlatego stworzyliśmy platformę, która waszym obejmie opieką od pierwszego wejścia. Zachęcamy do sprawdzenia, co

Ekskluzywna gra w kasynie HighFlybet dla fanów w Polsce Leer más »

Goldex Casino : Là où le Jeu Rencontre la Générosité au Canada

Sur la scène des casinos en ligne, Goldex Casino affiche une promesse qui retient l’attention : marier le divertissement de qualité à une réelle générosité. Pour les joueurs canadiens, cette plateforme devient vite plus qu’un simple site de jeux. Elle construit un univers où chaque action, qu’il s’agisse d’un dépôt, d’un pari ou même d’une

Goldex Casino : Là où le Jeu Rencontre la Générosité au Canada Leer más »

Sûreté et technologies de protection chez Gransino Casino pour les joueurs belges

Pour un amateur belge, la question de la protection des données et des opérations est primordiale. Est-Ce Légal? Casino Gransino en a fait sa préoccupation. Nous examinons les méthodes et les normes que cette enseigne met en œuvre pour offrir un cadre de jeu sûr. Vous verrez une stratégie structurée, qui associe des standards du

Sûreté et technologies de protection chez Gransino Casino pour les joueurs belges Leer más »

Enkelt att Gå Med, Tungt att Lämna – med Mega Riches Casino

Ett casino med ett stilrent gränssnitt och ett brett spelutbud drar många nyfikna https://megarichescasinoo.se/. Mega Riches Casino har utformat hela sin upplevelse kring just den idén. Registreringen är minimerad till det viktigaste och tar bara någon minut. När du loggar in välkomnas du av en plattform som är skapad för att roa och premiera. Den

Enkelt att Gå Med, Tungt att Lämna – med Mega Riches Casino Leer más »

Save Your Preferred Games: Lolo Casino Adds Wishlist Feature for UK

At Lolo Casino, we’ve seen the introduction of the Wishlist feature, a useful tool for UK players aiming to improve their gaming experience. This addition enables us to easily save and organize our preferred games, promoting a more personalized approach to our gameplay. But how do we build and manage this Wishlist effectively? And what

Save Your Preferred Games: Lolo Casino Adds Wishlist Feature for UK Leer más »

Warum die Ladeindikatoren im Slimking Casino die Angst vor ausdauernden Spielern in der Schweiz reduzieren

Wir sind uns wohl alle einig, dass sich Verzögerungen endlos anfühlen kann, besonders in einem Online-Casino. Es ist faszinierend, wie etwas so Simples wie ein Ladeindikator unsere Laune von gestresst zu gelassen verändern kann. Im Slimking Casino erfüllen diese visuellen Signale einen tieferen Zweck. Doch wie genau funktionieren sie, um unsere Gedanken zu besänftigen und

Warum die Ladeindikatoren im Slimking Casino die Angst vor ausdauernden Spielern in der Schweiz reduzieren Leer más »