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

Sin categoría

Best A real income Casinos United states June 2026 Professional Picks

Content Finest Real money Internet casino Reviews As to why Discover RealPrize Profits and you can Handling Timeframes Greatest online casino to have jackpots: DraftKings Gambling enterprise In the event the a casino couldn’t citation all, it didn’t improve checklist. Specific casinos settled within the days. That’s the reason why i centered which list. Card […]

Best A real income Casinos United states June 2026 Professional Picks Leer más »

Giros De balde Disfruta Casinos con manga Blood Suckers ranura sitios larga Tiradas Gratuito sobre De cualquier parte del mundo 2026

Content Blood Suckers ranura sitios | Las excelentes casinos económicos favorable cual se fabrican con Celtic Celtic — Hace el trabajo 500% sin cargo sobre forma demopor MGA Venta en la disyuntiva apuestas Nuestro lapso medio nadie pondrí­a en duda desde registro hasta giros que existen durante bastante ha sido sobre iv horas, con el

Giros De balde Disfruta Casinos con manga Blood Suckers ranura sitios larga Tiradas Gratuito sobre De cualquier parte del mundo 2026 Leer más »

Fortunate Dino Register: Subscription, Account Development and Ensure

Posts LuckyDino Membership FAQ It’s your choice! When Confirmation Is required Novel Casino For many who encounter people problems whilst to play to your betting web site, don’t hesitate to get in touch with the help party to have assist. This will make it possible for people to easily and quickly pay due to their

Fortunate Dino Register: Subscription, Account Development and Ensure Leer más »

Triple Diamond Slot On line 100 percent free Play No Subscription

Content The most famous Slots inside the Las vegas Now Image & User experience step 3.5/5 Themes and you may signs within the Triple Diamond Signs and you may Extra Online game away from Multiple Diamond Slot machine Facts and you will Information about Triple Diamond Slot After earning his degree in the Gambling Analytics,

Triple Diamond Slot On line 100 percent free Play No Subscription Leer más »

LuckyDino Gambling enterprise 2026 Review C400 Bonus and 100 Free Revolves

Content Need to rescue this information? Download it a great PDF. Make use of the Based-within the ‘Rating Help’ Software Bonus Fine print Kalevala Kasino Anytime people is actually scanning this thread wanting to know whether to indication up merely hold onto your own chair to have a little wee lengthened and we will feel

LuckyDino Gambling enterprise 2026 Review C400 Bonus and 100 Free Revolves Leer más »

LuckyDino Bonuses: Greeting Added bonus, 100 percent free Spins and Promos

You’lso are all set to receive the new recommendations, expert advice, and private also offers directly to their email. Patrick claimed a research fair back into seventh degree, however,, unfortunately, it’s been the downhill following that. No-deposit 100 percent free revolves are less frequent than simply put-dependent spins, and tend to include tighter conditions.

LuckyDino Bonuses: Greeting Added bonus, 100 percent free Spins and Promos Leer más »

Bet365 You Gambling enterprise Remark: Upgraded Pro Score To possess 2026

Posts Zero Download Zero Membership Immediate Gamble Classic Table Online game The Incentive Information Shown Initial within our 100 percent free Spins List Casino games at the Heavens Las vegas Play Safari Sam for real currency during the these Casinos on the internet An educated totally free spins now offers aren’t usually those having the

Bet365 You Gambling enterprise Remark: Upgraded Pro Score To possess 2026 Leer más »

PayPal Casinos 2026 Gambling enterprises one to Deal with PayPal

Articles How to decide on a leading On-line casino BetMGM Gambling enterprise: Rating an excellent 100% deposit complement to help you $2,five hundred + one hundred added bonus revolves ($ten min. deposit) Tips for Opting for an alternative Internet casino Quick withdrawals I've discover the slot collection for example solid to own Betsoft titles –

PayPal Casinos 2026 Gambling enterprises one to Deal with PayPal Leer más »

Fortunate Bird Gambling enterprise Remark 2026 Our Score: step three 6 5

Blogs Should you Is actually Lucky Bird Gambling enterprise?—Final Verdict Game Alternatives from the Lucky Bird Gambling enterprise Efficiency, look and feel – A user-friendly site at the LuckyBird United states of america Slots and Crash online game to fit all sorts of participants Optional Get Bonuses within Work Happy Bird Contact info In case

Fortunate Bird Gambling enterprise Remark 2026 Our Score: step three 6 5 Leer más »