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

Sin categoría

winit casino Overview: What You Need to Know

For seasoned players seeking value in their gambling experience, understanding the intricacies of a casino’s offerings is essential. Winit Casino presents a variety of games and bonuses, but how do they stack up in terms of key metrics like RTP (Return to Player), bonus terms, and wagering requirements? Let’s break it down. The Verdict Winit […]

winit casino Overview: What You Need to Know Leer más »

Insights into Betfoxx Casino’s Game Design Philosophy

Betfoxx Casino has established itself as a premier destination for discerning players, particularly those who appreciate the finer nuances of game design. The philosophy behind their games is not merely to entertain but to engage and entice high-rollers. Here, we explore the intricacies of their design approach, focusing on the elements that make their offerings

Insights into Betfoxx Casino’s Game Design Philosophy Leer más »

Η Σημασία της Ασφαλούς Διαχείρισης Πούρων στον Σύγχρονο Τζόγο

Ο κόσμος του online τζόγου έχει βιώσει μια ραγδαία εξέλιξη την τελευταία δεκαετία, με την τεχνολογία να αλλάζει δραστικά τον τρόπο που οι παίκτες έχουν πρόσβαση στα στοιχηματικά προϊόντα. Καθώς αυτός ο κλάδος αυξάνεται, η διασφάλιση της ασφαλούς διαχείρισης χρημάτων αποτελεί κορυφαία προτεραιότητα τόσο για τους παίκτες όσο και για τους παρόχους υπηρεσιών τυχερών παιχνιδιών.

Η Σημασία της Ασφαλούς Διαχείρισης Πούρων στον Σύγχρονο Τζόγο Leer más »

Αντιμετώπιση και Ανάλυση των Προβλημάτων στον Κλάδο του Online Στοιχηματισμού στην Ελλάδα

Εισαγωγή Ο ελληνικός κλάδος του online στοιχηματισμού έχει βιώσει ραγδαία ανάπτυξη τα τελευταία χρόνια, δημιουργώντας ένα δυναμικό και ανταγωνιστικό περιβάλλον. Ωστόσο, παρά τις ευκαιρίες, η βιομηχανία αντιμετωπίζει σειρά προκλήσεων που διαμορφώνουν το πλαίσιο λειτουργίας και αξιοπιστίας. Με αυξανόμενη ψηφιοποίηση και αυστηρότερους νομικούς κανονισμούς, η αποτελεσματική διαχείριση αυτών των ζητημάτων αποτελεί κλειδί για μια βιώσιμη ανάπτυξη.

Αντιμετώπιση και Ανάλυση των Προβλημάτων στον Κλάδο του Online Στοιχηματισμού στην Ελλάδα Leer más »

How to Play Roulette at bonusstrike casino: A Complete Guide

Roulette is one of the most popular casino games, known for its thrilling gameplay and the excitement it brings to players. At bonusstrike casino, you can experience various forms of roulette, each offering unique features and betting options. This guide aims to provide a comprehensive understanding of how to play roulette effectively, focusing on key

How to Play Roulette at bonusstrike casino: A Complete Guide Leer más »

How to Play Cryptocurrencies at Coinpoker Casino

Coinpoker Casino is an exciting platform for players looking to gamble with cryptocurrencies. With a user-friendly interface and a variety of games, it’s a great place for both novice and experienced players alike. This guide will help you navigate the world of Coinpoker, focusing on user-friendly registration, quality support, and payment options. The Verdict Coinpoker

How to Play Cryptocurrencies at Coinpoker Casino Leer más »

How to Stay Within Your Budget at fancyreels casino

Managing your finances while indulging in the luxurious offerings of fancyreels casino requires a strategic approach. As a high-roller, understanding the nuances of VIP programmes, withdrawal limits, and exclusive games can aid in maintaining your budget while maximising your gaming experience. This article will illuminate key strategies to ensure your gambling remains enjoyable without compromising

How to Stay Within Your Budget at fancyreels casino Leer más »

The Pros and Cons of Cybet Casino’s Signup Bonus

When considering a new online casino, the Cybet Casino signup bonus can be a significant attraction. However, it’s crucial to examine both the advantages and drawbacks of such offers, particularly in terms of licensing, safety, and fair play. Below, we break down the essential steps to effectively utilise the signup bonus while also pointing out

The Pros and Cons of Cybet Casino’s Signup Bonus Leer más »

Cybet Casino Customer Support – A Detailed Review

When it comes to online gambling, customer support is a crucial aspect that can significantly affect your overall experience. At Cybet Casino, players need to know how responsive and effective the support team is, especially when dealing with issues related to bonuses, wagering requirements, and transactions. This review provides a thorough examination of Cybet Casino’s

Cybet Casino Customer Support – A Detailed Review Leer más »

Coinpoker Casino Loyalty Program: What You Need to Know

Coinpoker Casino offers a dynamic loyalty program designed to reward players for their continued engagement. This step-by-step guide will walk you through how to make the most of this programme, ensuring you enjoy the benefits while playing on the go. Step 1: Registration Before you can start enjoying the benefits of the loyalty programme, you

Coinpoker Casino Loyalty Program: What You Need to Know Leer más »