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

xtw1838790ca

Dlaczego Komunikacja Glorion Casino Wyróżnia się na Tle Polski? Gracze Są Zachwyceni

Oceniam platformy hazardowe od lat. Spotkałem już wszystkie możliwe podejścia do obsługi klienta. Najczęściej to bezosobowy, skryptowy proces, który powoduje, że gracz ma wrażenie jak kolejny numer w bazie danych. Moje zetknięcie z Glorion Casino stało się inne. Dla nich komunikacja nie stanowi przykrym obowiązkiem, ale podstawą relacji z klientem. Na polskim rynku, gdzie ważny

Dlaczego Komunikacja Glorion Casino Wyróżnia się na Tle Polski? Gracze Są Zachwyceni Leer más »

Casino Online România Sweet Bonanza la Palms Bet Casino Jocuri să Cazino

Reputație și recenziiPlatforme conj Winboss of câștigat înc încrederea multor utilizatori. Winboss Casino redefineste conceptul ş interludi online in Romania prin intermediul unei platforme moderne, sigure si generoase când jucatorii sai. Diversitatea titlurilor este concepută de a feri toate prefrințele, ş în păcănele clasice în sloturi când mecanici inovatoare.

Casino Online România Sweet Bonanza la Palms Bet Casino Jocuri să Cazino Leer más »

Организация онлайн-игрового бизнеса с готовым решением — казино лучшие слоты провайдера Spinomenal под ключ.

Прежде чем приобрести казино (вам следует зайти в админ панель), чтобы проверить ее функциональность, ознакомиться с разделами и задать вопросы службе поддержки. При выборе игрового слота для реальных ставок необходимо учитывать не только его популярность, но и другие важные аспекты. Мы анализировали критерии, которые оказывают прямое влияние на игровой процесс, чтобы заранее понять, чего можно

Организация онлайн-игрового бизнеса с готовым решением — казино лучшие слоты провайдера Spinomenal под ключ. Leer más »

UK Regulatory Approved Penalty Shoot Out Game Fully Licensed Gaming

We are delighted to introduce the Penalty Shoot Out Game, a leading online gaming adventure that stands apart in the UK market. Completely licensed by the UK Gambling Commission, our platform provides the excitement of a penalty shootout with the absolute assurance of a protected, just, and supervised environment. We have built this game for

UK Regulatory Approved Penalty Shoot Out Game Fully Licensed Gaming Leer más »

Experiência realista e Como descobrir a Lightning Roulette gratuitamente? imersiva em tempo real: Casinos ao vivo!

Com a nossa lista pode aceder diretamente aos melhores casinos online em Portugal e jogar em segurança e em casinos legalizados. Neste período (que pode ir até três meses), os utilizadores ficam impedidos de jogar. Ao efetuar um pedido de autoexclusão, os utilizadores ficam proibidos de se registar nos casinos online durante um período mínimo

Experiência realista e Como descobrir a Lightning Roulette gratuitamente? imersiva em tempo real: Casinos ao vivo! Leer más »

Leon Casino Is a Safe Casino for Real Players in India Looking for Fun

Trusted Leon Casino Account Identification has established itself as a reliable choice for players in India looking for a safe and enjoyable gaming experience. With a broad variety of games, strong security protocols, and a focus on player privacy, it appeals to both new and experienced gamblers. But what truly distinguishes it are its tailored

Leon Casino Is a Safe Casino for Real Players in India Looking for Fun Leer más »

Goldzino Casino présente un monde d’opportunités au Canada

Le Canada dispose un domaine des casinos en ligne à la fois dynamique et rigoureux. Les amateurs y cherchent une plateforme sûre qui peut aussi les divertir. Aperçu Casino Goldzino s’est taillé une position dans ce environnement en proposant une expérience élaborée pour les particularités locales. Ce n’est pas un ordinaire site de jeux. C’est

Goldzino Casino présente un monde d’opportunités au Canada Leer más »

Spinational Casino site – Getting in Touch with Support for UK Players

As an analyst of online gaming platforms, I find that the quality of customer support is a essential, non-negotiable feature for any casino operating in the UK market. For players at Spinationalcasino, being aware of the available contact channels, their operational hours, and the type of assistance one can expect is crucial to a secure

Spinational Casino site – Getting in Touch with Support for UK Players Leer más »

Vegasino Casino vereint Adrenalin und Durchsichtigkeit

vegasino casino ist in kürzester Zeit als eine der aufregendsten Adressen für österreichische Nutzer etabliert, und das aus nachvollziehbarem Anlass. Die Website vereint den vibrierenden Kitzel eines echten Casino-Erlebnisses mit einer glasklaren, ehrlichen Durchsichtigkeit, die man in der Welt oft ohne Erfolg sucht. Alle der erste Eindruck auf die Seite zeigt eine wohlüberlegte Ordnung, die

Vegasino Casino vereint Adrenalin und Durchsichtigkeit Leer más »