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

Sin categoría

The Evolution of Visual Design in Modern Slot Games: A Deep Dive into Horus Slot

Over the past decade, the landscape of digital slot gaming has undergone a transformative shift, driven primarily by advancements in graphics technology, user interface design, and the pursuit of immersive player experiences. Today’s leading titles are no longer just about spinning reels; they are cinematic experiences that intertwine history, mythology, and cutting-edge visual artistry. Understanding […]

The Evolution of Visual Design in Modern Slot Games: A Deep Dive into Horus Slot Leer más »

Elevating Online Casino Play: Innovations in Immersive Gaming Experiences

The evolution of digital gambling platforms over the past decade illustrates a concerted effort to enhance player engagement through increasingly sophisticated technologies. In an era where digital entertainment saturates daily life, online casinos strive not only to replicate the thrill of physical gaming but to push boundaries that create truly immersive experiences. Understanding the Modern

Elevating Online Casino Play: Innovations in Immersive Gaming Experiences Leer más »

The Cultural Significance of Eye of Horus Symbols in Ancient Egypt and Modern Interpretations

The symbols associated with ancient Egyptian mythology continue to permeate contemporary culture, spirituality, and popular media. Among these, the Eye of Horus stands out not only for its distinctive appearance but also for its profound symbolic resonance. Its meaning has spanned millennia, embodying protection, royal power, and divine insight. Understanding the historical context and evolving

The Cultural Significance of Eye of Horus Symbols in Ancient Egypt and Modern Interpretations Leer más »

Harnessing Player Psychology: The Role of Gamble Features in Modern Slot Design

In the evolving landscape of online gambling, game developers continuously innovate to balance entertainment with risk management. Among the myriad features that heighten player engagement, the gamble or double-up feature stands out as a strategic tool. It taps into fundamental human instincts—thrill-seeking and the desire for reward—while offering players a sense of control over their

Harnessing Player Psychology: The Role of Gamble Features in Modern Slot Design Leer más »

Strategi för framgång i online slots: expertinsikter och bästa praxis

Online slots fortsätter att dominera den globala spelmarknaden, med en uppskattad omsättning på över €50 miljarder årligen enligt Eurobars senaste rapporter från 2023. Trots denna imponerande tillväxt är det få spelare som fullt ut förstår de underliggande mekanismerna bakom de populära slotspelen, eller hur man optimerar sina chanser att vinna. För att navigera denna värld

Strategi för framgång i online slots: expertinsikter och bästa praxis Leer más »

The Art and Strategy of Engaging with Egyptian-Themed Slot Games in Online Casinos

Introduction: The Enduring Appeal of Ancient Egyptian-Themed Slots Egyptian mythology and iconography have fascinated audiences for centuries, inspiring countless stories, artworks, and cultural symbols. In the digital age, this fascination manifests prominently within the realm of online slot gaming, where Egyptian-themed machines have become a staple for both casual players and high rollers. Their allure

The Art and Strategy of Engaging with Egyptian-Themed Slot Games in Online Casinos Leer más »

Empowering Digital Entrepreneurs: The Role of Innovative AI Tools in Business Transformation

In today’s rapidly evolving digital landscape, entrepreneurs and established businesses alike face unprecedented challenges and opportunities. The advent of artificial intelligence (AI) has shifted the paradigm of how companies operate, compete, and innovate. As the marketplace becomes more saturated and customer expectations elevate, leveraging cutting-edge AI technologies is no longer optional but essential for those

Empowering Digital Entrepreneurs: The Role of Innovative AI Tools in Business Transformation Leer más »

Evolution of Casino Gaming: A Deep Dive into Interactive and Fair Play Technologies

Over the past decade, the landscape of casino gaming has undergone a profound transformation, driven by rapid advancements in digital technology, regulatory developments, and consumer expectations for transparency and fairness. As the industry shifts towards immersive experiences, understanding the technological innovations underpinning this evolution is essential for regulators, operators, and players alike. The Shift Toward

Evolution of Casino Gaming: A Deep Dive into Interactive and Fair Play Technologies Leer más »

Deciphering the Symbolism and Payouts of Ancient Egyptian-Themed Slot Games

In the rapidly evolving landscape of online casino gaming, thematic slots have emerged as a compelling fusion of entertainment and storytelling, offering players an immersive experience rooted in history and mythology. Amongst these, ancient Egyptian-themed slots remain particularly popular, capturing fascination with their iconic symbols, rich narratives, and potentially lucrative payout structures. The Enduring Allure

Deciphering the Symbolism and Payouts of Ancient Egyptian-Themed Slot Games Leer más »

Deciphering Returns: The Significance of RTP in Online Slot Gaming

In the vibrant and fiercely competitive world of online casino gaming, understanding the intricacies of game design and player value is essential for both seasoned gamblers and industry strategists. Central to this understanding is the concept of Return to Player (RTP), a statistical measure that indicates the percentage of wagered money a game is expected

Deciphering Returns: The Significance of RTP in Online Slot Gaming Leer más »