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

Sin categoría

« NetEnt : L’évolution d’un leader du slot premium à l’ère du mobile et des programmes de fidélité »

« NetEnt : L’évolution d’un leader du slot premium à l’ère du mobile et des programmes de fidélité » NetEnt, fondée en 1996 à Stockholm, a longtemps été perçue comme le fer de lance du développement de jeux de casino en ligne. À ses débuts, l’entreprise proposait surtout des jeux de table classiques, avant de […]

« NetEnt : L’évolution d’un leader du slot premium à l’ère du mobile et des programmes de fidélité » Leer más »

Romance y Giros Gratis: la Experiencia de Parejas en Kinbet Casino

Romance y Giros Gratis: la Experiencia de Parejas en Kinbet Casino Jugar en línea es divertido, pero cuando se trata de una actividad de pareja aparecen desafíos únicos. Muchos jugadores buscan emociones compartidas, pero a menudo se topan con promociones que no consideran la dinámica de dos usuarios. Además, la coordinación de horarios, la elección

Romance y Giros Gratis: la Experiencia de Parejas en Kinbet Casino Leer más »

Leading Gambling Establishments That Approve Neteller: A Comprehensive Guide

When it concerns on-line gaming, discovering a risk-free and trustworthy repayment approach is crucial for gamers. Neteller is a preferred e-wallet that has acquired wide approval in the on-line gambling enterprise market. This post will supply you with an extensive guide to the top gambling enterprises that accept Neteller, making certain a safe

Leading Gambling Establishments That Approve Neteller: A Comprehensive Guide Leer más »

Live‑Casino à la télé : comment les joueurs transforment Monopoly Live & Deal or No Deal en véritables success‑stories

Live‑Casino à la télé : comment les joueurs transforment Monopoly Live & Deal or No Deal en véritables success‑stories Le phénomène du live‑casino s’est métamorphosé au cours des deux dernières années grâce à l’arrivée de formats télévisés interactifs directement diffusés sur les tables virtuelles. Les plateformes de jeu ont intégré des animateurs en direct, des

Live‑Casino à la télé : comment les joueurs transforment Monopoly Live & Deal or No Deal en véritables success‑stories Leer más »

Historial crediticio y creditrates.co empezar a maquillarse

Artículos de contenido Paternidad literaria Expresiones de gratitud Directriz particular: Expedición geográfica Derecho de primera publicación Permisos Completamente El servicio de informes procesa información personal para bancos, aseguradoras y propietarios, lo que es fundamental para los propietarios. Algunas opciones le permiten evaluar si está abierto a la financiación y las condiciones del préstamo. La calificación

Historial crediticio y creditrates.co empezar a maquillarse Leer más »

5 bewezen strategieën voor een onvergetelijke **live dealer**‑ervaring bij Vinci Spin Casino

5 bewezen strategieën voor een onvergetelijke **live dealer**‑ervaring bij Vinci Spin Casino Een goede eerste stap in de wereld van online casino’s is het vinden van een platform dat je echt een live dealer‑gevoel geeft. Niet elk casino biedt dezelfde kwaliteit, snelheid of beloningen. Bij Vinci Spin Casino vind je meer dan 50 live‑tafelspellen, razendsnelle

5 bewezen strategieën voor een onvergetelijke **live dealer**‑ervaring bij Vinci Spin Casino Leer más »

¿Qué debes saber sobre los avinto opiniones préstamos personales instantáneos?

Artículos Banco Kotak Mahindra Kotak Mahindra por internet Cartomancia de Kotak Mahindra Tarjeta de crédito Kotak Mahindra Si atraviesa una crisis financiera, un préstamo hipotecario inesperado podría generar fondos prematuros para cubrir gastos imprevistos. Lea más información sobre estos préstamos para saber si son adecuados para su situación. Un adelanto individual es un tipo de

¿Qué debes saber sobre los avinto opiniones préstamos personales instantáneos? Leer más »

Pourquoi les casinos en ligne misent sur la maîtrise du risque pour proposer les jackpots les plus attractifs lors du Black Friday 2024

Pourquoi les casinos en ligne misent sur la maîtrise du risque pour proposer les jackpots les plus attractifs lors du Black Friday 2024 Le Black Friday s’est imposé comme le moment phare de l’année pour les plateformes d’iGaming. En quelques heures, le catalogue des machines à sous disponibles explose : plus de deux mille titres sont

Pourquoi les casinos en ligne misent sur la maîtrise du risque pour proposer les jackpots les plus attractifs lors du Black Friday 2024 Leer más »

The Importance of a Bill of Sale in Preventing Fraud When Purchasing Motorcycles

The Importance of a Bill of Sale in Preventing Fraud When Purchasing Motorcycles Buying a motorcycle can be an exhilarating experience, but it also comes with its share of risks. One of the most effective ways to protect yourself is through a bill of sale. This document serves more than just a formality; it’s a

The Importance of a Bill of Sale in Preventing Fraud When Purchasing Motorcycles Leer más »

The Impact of Corporate Structure on Business Liability: What You Should Know

The Impact of Corporate Structure on Business Liability: What You Should Know Understanding the nuances of corporate structure is essential for any business owner. It directly influences liability, tax obligations, and overall business operations. Choosing the right structure can make the difference between personal assets being at risk or insulated from business liabilities. This article

The Impact of Corporate Structure on Business Liability: What You Should Know Leer más »