.
.
/** * 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();
Articles All of the Slots Gambling establishment Bonuses & Offers Exactly why are SugarHouse a high possibilities What is your favorite specialist type of? More comments you to talk about customer service is actually positive, though it’s value noting a number of players mention certain issue within the resolving its items. Cellular phone assistance remains
Top 10 Casino List & Analysis Leer más »
Blogs Doctor Cards Trump’s Actual Signs of Decline The newest hashtags #trumpisdead and you will #whereistrump spread including wildfire for the X regarding the expanded weekend, if you are many tuned on the TikToks guessing in the a potential medical drama. It observance triggered speculation you to definitely reached the brand new Light Home, to
4 what you should understand Trump’s medical diagnosis of chronic venous deficiency Leer más »
Content Gewinnlinien Kontrast bei Protestation unter anderem Echtgeldmodus Had been werden Echtgeld Casinos? Spielsaal Eye of Horus: Spielanleitung unter anderem Darstellung Testkriterien das besten Casinos über 5 Euro Einzahlung 2026 Kollationieren Die leser Eye of Horus Slot qua weiteren Vortragen Zu den diskretesten Funktionen gehört noch unser Gewinntabelle, wafer inoffizieller mitarbeiter Menü anders angrenzend diesem
Kostenlose Slots 2026 Religious exklusive Eintragung Slot book of ra 7 aufführen Leer más »
Content What’s the difference between temporary arrangements and you can ACA preparations? For over three decades, we’ve started enabling The brand new Yorkers of any age score high quality health agreements. And we can help you, also. Make sure you look at the exposure to understand what characteristics is actually secure using your certain bundle.
Medical health insurance Insurance Agency Commonwealth from Pennsylvania Leer más »
Flame Kirin은 경품 행사 방식으로 운영되어, 실제 현금을 직접 걸지 않고도 카지노에서 개발한 온라인 게임을 즐길 수 있습니다. 하지만 이는 미국 내 어떤 주에서도 합법적으로 운영되는 것은 아닙니다. Flame Kirin에 가입하면 다양한 독창적인 경품 행사 게임을 이용할 수 있습니다. 대표적인 게임으로는 고급 다이아몬드 & 광산, 독일 조종사, 룸 스프레이, 어썸 룰렛, 블랙잭, 빙고, 경마의 전설
Flames Kirin을 웹사이트에서 플레이하세요: 경품 행사 게임 포털 Leer más »
우리는 첨단 기술의 시대에 살고 있지만 변하지 않는 한 가지가 있습니다. 바로 국가별 제한 사항입니다. 특정 번호로 게임을 실행할 수 없다면, 그것은 바로 당신의 지역 때문입니다. 모바일 기기와의 호환성 문제 때문에 카지노 업체들은 HTML-5 기술로 기존 슬롯 머신을 대체하게 되었습니다. 더 간결하고, 더 간편하며, 모바일 친화적인 HTML-5는 이제 보편화되어 최신 게임들을 윈도우에서도 즐길 수 있게
온라인에서 크랩 게임을 즐겨보세요. 진짜 화폐를 사용하거나 100% 무료로 즐길 수 있습니다. Leer más »