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

Sin categoría

Lotoclub KZ Официальный Веб-журнал & Скачать Дополнение Apk

Нате главной странице веб-сайта ищите грабанул из прибавлениями во самом низу вдобавок выберите версию для Android. В Lotoclub KZ воздействует бонусная ай-си-кью, демократичная абсолютно всем lotoclub скачать зарегистрированным пользователям. Детали а также условия получения скидок бог велел найти в области Акции, расположенном во верхней части важнейшей вебстраницы.

Lotoclub KZ Официальный Веб-журнал & Скачать Дополнение Apk Leer más »

Finest On-line casino Incentives 2025 Attract more Gambling enterprise Credits!

I’m usually to your hunt for the fresh and greatest gambling establishment incentive out there. The newest no-deposit bonus, 100 percent free spins, and you may welcome incentives would be the top on-line casino bonuses your’ll come across on line. Enthusiasts Local casino pages can be entitled to every day twist benefits because of the

Finest On-line casino Incentives 2025 Attract more Gambling enterprise Credits! Leer más »

Chicken Road – unieke eigenschappen en voordelen – nieuwste analyse

In de huidige tijd ontwikkelt de markt voor online slots zich in razend tempo. Chicken Road is een titel die opvalt dankzij zijn unieke benadering van thematiek en speelbaarheid. De dienst Chicken Road app biedt een professioneel spelplatform dat gemak combineert met de hoogste veiligheidsnormen. Het verhaal van de kip die de weg oversteekt is

Chicken Road – unieke eigenschappen en voordelen – nieuwste analyse Leer más »

Voetbalpool Gokhuis: Gij nr 1 Offlin Gokhuis vanuit Nederland

In u keus afwisselend knal winsten gedurende scoren en bonusrondes vol over verrassingen, bestaan Sweet Bonanza eentje activiteit diegene jij nie wilt mislopen. Poke ben een activiteit van bedrevenheid plusteken tactiek, en erbij Unibet kun jouw u commotie vanuit diegene kaarten ervaren. Ofwe jij nou Texas Hold’em, Omaha ofwe Stud Poker wilt spelen, we beschikken het

Voetbalpool Gokhuis: Gij nr 1 Offlin Gokhuis vanuit Nederland Leer más »

Strategic Analysis of Asian Dating Platforms: How Hbdragons.Com Elevates Connections

Strategic Analysis of Asian Dating Platforms: How Hbdragons.Com Elevates Connections The Asian online dating market has grown rapidly over the past five years. Founded on trust and technology, japanese dating app now serves millions seeking authentic connections across Asia. Hbdragons.Com uses a proprietary matching algorithm that blends cultural compatibility scores with real‑time activity data. The platform’s

Strategic Analysis of Asian Dating Platforms: How Hbdragons.Com Elevates Connections Leer más »

Guide complet du casino en ligne – tout ce que vous devez savoir

Guide complet du casino en ligne – tout ce que vous devez savoir Les casinos en ligne ont connu une croissance exponentielle au cours de la dernière décennie, portée par la démocratisation du haut débit et l’essor des smartphones. En France, le marché passe aujourd’hui le cap du milliard d’euros annuels et attire aussi bien

Guide complet du casino en ligne – tout ce que vous devez savoir Leer más »

Live Casino Meesterschap: Hoe Gigaspinz Casino 2 Spelers Verbindt en Winnen

Live Casino Meesterschap: Hoe Gigaspinz Casino 2 Spelers Verbindt en Winnen De laatste jaren hebben live dealer tafels een enorme groei doorgemaakt. Spelers zoeken een authentieke casinobeleving, maar willen dit vanuit hun eigen woonkamer. Het idee is simpel: een echte croupier, real‑time video en de mogelijkheid om via chat vragen te stellen. Maar waarom is

Live Casino Meesterschap: Hoe Gigaspinz Casino 2 Spelers Verbindt en Winnen Leer más »

Demystifying the Risks Involved in Vehicle Financing

Demystifying the Risks Involved in Vehicle Financing Financing a vehicle can be a daunting experience, especially for first-time buyers. While it offers the chance to drive the car of your dreams, it also comes with a unique set of risks. Understanding these risks is important for making informed decisions. This article will walk you through

Demystifying the Risks Involved in Vehicle Financing Leer más »