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

xtw1838790ca

Spinstein Casino – Cel Mai Bun Casino Online pentru Pe Toți din România

Vă urăm bun venit la Spinstein Casino https://spin-stein.ro/. În acest loc, jucătorii români regăsesc divertisment și posibilități autentice de câștig într-un mediu online securizat. Am dezvoltat acest loc cu intenția la experiența dumneavoastră, așa că veți găsi o gamă largă de jocuri, bonusuri generoase și servicii pe care vă puteți încrede. Toată oferta este potrivit […]

Spinstein Casino – Cel Mai Bun Casino Online pentru Pe Toți din România Leer más »

Ihr bevorzugter Slots-Hub in Österreich ist Lucky Ones Casino

Jeder, der die österreichische Glücksspielszene kennt, hat den Namen Lucky Ones Casino mehrfach gehört haben https://luckyonescasinoo.at/. Diese Plattform hat sich Ruf nicht nur durch eine umfangreiche Menge an Spielautomaten erworben, sondern insbesondere durch einen Ansatz, der den Spieler ernsthaft ernst nimmt. Ein reguliertes, sicheres Umfeld, eine benutzerfreundliche Bedienung und ein Service, der auf Österreich zugeschnitten

Ihr bevorzugter Slots-Hub in Österreich ist Lucky Ones Casino Leer más »

Där förströelse och lycka sammanstrålar för Sverige på Kingdom Casino

På Kingdom Kasino Kontoverifiering Casino upptäcker Sveriges äventyrslystna sin perfekta spelarena – en plats där förströelse och lycka smidigt sammanflätas. Vi bjuder på allt från tidlösa bordsspel till de senaste enarmade banditer, noggrant designade för att fascinera samt fånga varje användare. Med stark säkerhet och oemotståndliga kampanjer finns det mycket att utforska. Nyfiken på hur

Där förströelse och lycka sammanstrålar för Sverige på Kingdom Casino Leer más »

Casinacho Casino – Sicheres, zuverlässiges und lohnendes Spielen in der BRD

Wir haben uns Casinacho Casino genau angesehen und sind davon überzeugt, dass diese Website deutschen Spielern ein rundes Gesamtpaket bietet casinocasinacho.eu. Schon der Eindruck beim Betreten vermittelt Sicherheit: Eine klare Menüführung, offene Bonusbedingungen und eine Zulassung, die hohen europäischen Regulierungen folgt, bilden das Fundament. Dahinter verbirgt sich ein modernes Online-Casino, das mit Bedacht auf die

Casinacho Casino – Sicheres, zuverlässiges und lohnendes Spielen in der BRD Leer más »

Experience the Social Side of Play at Bwin Gambling

At Bwin Gambling, players don’t just involve in gaming; they join a group https://bwincasino.io/. This lively atmosphere encourages connections, making every gaming period a shared experience. Engaging features and customized options amplify these connections, but it’s the live contests that heighten the thrill. As players share wins and engage through social media, the sense of

Experience the Social Side of Play at Bwin Gambling Leer más »

Greetings Package and New Gamer Bonuses for Big Bass Splash Slot in United Kingdom

As we explore the exciting world of the Big Bass Splash Slot, we can’t ignore the enticing welcome packages and new player bonuses available in the United Kingdom. These promotions can really improve our gaming experience, offering us with additional money and complimentary spins to use. But what do we have to do to claim

Greetings Package and New Gamer Bonuses for Big Bass Splash Slot in United Kingdom Leer más »

Najwyższej klasy gry slotowe w tej chwili w kasynie Yep dla użytkowników z Polski

Odkrywanie topowych gier slotowych w Yep Kasyno Casino, dostosowanych do wymagań polskich entuzjastów, to przyjemne przedsięwzięcie. Od retro automatów owocowych, które wzbudzają nostalgię, po ekscytujące sloty przygodowe, które gwarantują angażujące doświadczenia – oferta jest niepowtarzalna. Grafika jest zachwycająca, a dzięki pasjonującym nowościom, urok jest aktualna. Dodaj do tego rosnące jackpoty, takie jak Mega Moolah, a

Najwyższej klasy gry slotowe w tej chwili w kasynie Yep dla użytkowników z Polski Leer más »

Destiny Beliefs Surrounding Book of Aztec Game Canadian Culture

Various online games do more amuse edenbookings.com. They spark conversations. In Canada, a country pieced from many traditions, the junction between well-known digital games and timeless ideas about fate creates a unique cultural picture. Take the Book of Aztec slot. It’s a digital game, a journey to a lost world of temples and treasure. Yet

Destiny Beliefs Surrounding Book of Aztec Game Canadian Culture Leer más »

Betalingspartnerschap: Wonderluck Casino Gaat een Verbinding aan met Vertrouwde Provider voor België

Een ander tijdperk voor veilige en vlotte transacties is aangebroken bij casino wonderluck! We zijn enorm trots om onze volledig nieuwe payment partnership bekend te maken met een van de zeer vertrouwde en gerespecteerde betaalproviders die operatief is in België. Deze strategische samenwerking is veel meer alleen een technische upgrade; het is een concrete belofte

Betalingspartnerschap: Wonderluck Casino Gaat een Verbinding aan met Vertrouwde Provider voor België Leer más »

Schrijf in en Neem deel Live bij Spinorhino Casino: Sluit je aan bij de Actie Direct in Nederland

Bij spannend casino spinorhino vinden we dat online gokken vooral staat om spanning, originaliteit en snelle toegang tot het beste entertainment. Daarom creëerden we een platform waarbij spelers uit Nederland eenvoudig kunnen registreren en binnen enkele ogenblikken kunnen stappen in de wereld van live casino games. Onze live dealer sectie is het middelpunt, opgezet om

Schrijf in en Neem deel Live bij Spinorhino Casino: Sluit je aan bij de Actie Direct in Nederland Leer más »