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

xtw1838790ca

Zeus Bingo Casino – Actual Cash Prizes Every Week in UK

Zeus Bingo offers a straightforward, appealing guarantee for UK players: actual cash prizes, distributed each week zeusbingo.eu. This is far more than just a typical online bingo site. It represents a full-scale casino featuring slots, live dealer games, and instant wins, all united by a regular timetable of cash rewards. The primary appeal is the […]

Zeus Bingo Casino – Actual Cash Prizes Every Week in UK Leer más »

Δωρεάν Spins και Μπόνους με το Skyhills Casino στην Ελλάδα

Ας μιλήσουμε για τα προνόμια και τις δωρεάν spins στο Skyhills Casino https://skyhillscasino-be.com/el-gr/. Στην Ελλάδα, όπου η κάθε μία προσφορά είναι σημαντική, αυτά τα perks είναι ικανά να αλλάξουν τα δεδομένα. Θα σας παρουσιάσω πώς να τα πάρετε στα χέρια σας και να ενισχύσετε τόσο το χρόνο ενασχόλησης σας όσο και το μπάνκερ σας. Γιατί

Δωρεάν Spins και Μπόνους με το Skyhills Casino στην Ελλάδα Leer más »

Recenzie completă și evaluare pentru casino online la Betamo Casino în România

În găsirea unui casino online care să combine o gamă bogată de jocuri, condiții echitabile și o experiență de utilizare imersivă, am studiat în adâncime platforma Înregistrează-Te La Betamo Cazinou Casino. Această analiză completă, redactată din perspectiva unui jucător avizat, își dorește să prezinte o privire de ansamblu completă asupra întregii game esențiale: de la

Recenzie completă și evaluare pentru casino online la Betamo Casino în România Leer más »

Comment débloquer un Bonus à Infinity Casino pour les membres du Canada

Infinity Casino attire de nombreux joueurs canadiens avec ses promesses de distraction et de récompenses https://infinitycasinoo.ca/fr-ca/. Ce guide vous indique comment activer vos bonus et en bénéficier pleinement. Vous y découvrirez des étapes claires et des conseils utiles pour optimiser votre temps de jeu. 1. Pour quel motif les Bonus d’Infinity Casino sont Incontournables Chez

Comment débloquer un Bonus à Infinity Casino pour les membres du Canada Leer más »

Instant Casino staat altijd klaar voor jouw volgende game-avontuur in Nederland.

Bij instant casino vertellen we met plezier hoe we jouw spelervaring in Nederland naar een beter niveau tillen. Met een uitgebreid aanbod aan klassieke tafelspellen en innovatieve gokkasten hebben we voor iedereen wat wils. Ons platform is ontworpen voor een vlotte navigatie, zodat je snel toegang hebt tot je lievelings spellen. Nieuwsgierig wat ons uniek

Instant Casino staat altijd klaar voor jouw volgende game-avontuur in Nederland. Leer más »

Perfekt für frische und versierte Spieler in der Schweizer Region bei Gamblerina Casino

Das Suchen nach dem passenden Online-Casino vermag in der Schweiz eine echte Herausforderung sein https://gamblerina.it.com/de-ch/. Strenge Ansprüche an Sicherheit, ein gutes Spieleangebot und einen zuverlässigen Service sind für viele Spieler selbstverständlich. Gamblerina Casino begegnet genau dieser Herausforderung. Unsere Prüfung zeigt: Diese Plattform bringt eine harmonische Mischung mit sich, die Anfängern den Beginn einfach macht und

Perfekt für frische und versierte Spieler in der Schweizer Region bei Gamblerina Casino Leer más »

Casino site online en Interface Tour bij Spinaura Casino voor Nederlandse spelers

Als deskundige reviewer van online casino’s ga ik met je op vandaag een diepgaande rondleiding door de website en interface van Spinaura Casino, in het bijzonder gericht op de Nederlandse markt https://spinauraa.com/nl-nl/. Het allereerste wat mij opvalt bij het bezoeken van een vers platform is de directe gebruikerservaring: hoe snel laadt de site, hoe logisch

Casino site online en Interface Tour bij Spinaura Casino voor Nederlandse spelers Leer más »

Sankra Casino hat die top Slots für Spieler aus Deutschland

Wer oft Online-Casinos für den deutschen Markt testet, dem fällt Sankra Casino rasch auf. Die Plattform stellt einen eindeutigen Schwerpunkt auf Spielautomaten. Dieses Portfolio ist nicht allein groß, sondern erscheint, als wäre es eigens für die Wünsche hiesiger Spieler zusammengestellt. In diesem Artikel schauen wir uns an, was die Slots bei Sankra so attraktiv macht.

Sankra Casino hat die top Slots für Spieler aus Deutschland Leer más »

Authentic Cash Entertainment Starts Here for Canada With Realz Casino

At Realz Casino, we have revolutionized the online gaming experience for Canadians https://realzcasinologin.com/. With a wide array of classic slots and table games, there’s something for everyone to enjoy. Plus, our attractive bonuses and promotions can significantly boost your winning potential. As we navigate the seamless interface and the thriving community we have created, you’ll

Authentic Cash Entertainment Starts Here for Canada With Realz Casino Leer más »

Princess Casino – Ihre erstklassige Spieladresse in Österreich

Im aktiven Herzen der österreichischen Online-Gaming-Landschaft präsentiert sich Princess Casino als eine exzellente Destination für Spieler, die Wert auf Vielfalt, Sicherheit und ein hervorragendes Spielerlebnis Wert legen. Die Plattform, die gezielt auf den deutschsprachigen Raum und die Wünsche des österreichischen Publikums angepasst ist, besticht durch eine gründlich kuratierte Auswahl an Spielen, verlockenden Bonusangeboten und einem

Princess Casino – Ihre erstklassige Spieladresse in Österreich Leer más »