.
.
/** * 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();
Posts What is the unlock subscription months? ASAM Terms and conditions Our cancer principles help pay money for secondary will set you back including transportation and you may rooms, childcare expenses, and you will loss of income one to often surpass lead will cost you. End up being positive about your wellbeing package possibilities, understanding
Better twenty five Medical health insurance Companies in the You S. Leer más »
Provision nur ehemals für jedes Spielerkonto zugänglich. Freispiele erhältlich für welches Slotspiel Gold Rush with Johnny Bargeld (BGaming). Der Provision sei inoffizieller mitarbeiter persönlichen Bankkonto des Spielers auf Input des Bonuscodes verfügbar coeur. Die Auszahlungsquote liegt inside das deutschen Fassung inside 88,19 %. Inmitten ihr 10 Freispiele bleibt das höchste Kürzel (ein Torero) unter einen
Content The new Drug Regulates Lost Alzheimer’s Memory inside the Mice President Trump earliest started the newest withdrawal procedure in the 2020 during the their very first government The newest Daily Monster provides called the brand new Light House and you can Omar’s place of work to have review. “He then returned for the work
Exactly how Trump’s next label has inspired mental health features Leer más »
Articles Do i need to in reality victory a real income gambling on line? Symptoms to quit at the $3 Casinos Benefits of £step three Minimal Deposit Gambling enterprises Including playing on the Irish Lottery, Billionaire and you may PowerBall, therefore it is among the best using online casino sites up to. PricedUp is yet
Air Top No-deposit Added bonus Review: Vintage step three-Reeler Method Leer más »
Look consistently implies that intellectual restructuring minimizes warning signs of despair and you can stress. Intellectual restructuring try a center CBT technique you to definitely mental health counselors used to assist 27may subscribers pick and difficulty altered thought models. Medical studies have shown PMR efficiently decreases both mental and you may physical periods from nervousness.
The newest Feeling of Do it on your Mental health Leer más »
카지노의 전 직원 중 한 명이 셔플(Shuffle)의 소유주들과 긴밀한 관계를 맺고 있었습니다. 멜버른에서 셔플의 가짜 https://xn--1000-9g3pi68cvzqlga.com/en/ 감옥 게임을 운영하도록 허가받았던 세 명의 스트리머는 모두 온라인 "암호화폐 카지노"가 금지된 미국에 거주하고 있다고 밝혔습니다. 지역 카지노의 제휴사인 이 스트리머들은 셔플에서 발생한 플레이어들의 손실에 대한 일정 비율을 받을 자격이 있다고 주장했습니다. 이는 모두 셔플이라는, 호주에 초점을 맞춘 온라인
남아프리카공화국 현지 카지노에서 실시간으로 즐기는 라이브 온라인 카지노 게임, BetOlimp에서 만나보세요. Leer más »
Content Casino live: Online casino Canada Assessment Almost every other Common Online Slots It requires a king’s ransom to make a fortune One of the greatest maybe not for real money slots I have previously played however, does not get 5 celebrities because provides volital win proportion and never finish would like to drain your
Gamble Free Position Online game Zero casino live Download, Merely Enjoyable! Leer más »