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

Sin categoría

Better Payment Casinos on the internet 2026 – Best-paying Gambling enterprises in the us

Eligible people aged 21 or over (or perhaps the legal chronilogical age of vast majority inside their legislation, in the event the large). See and you will evaluate casinos online to the finest profits, and best games to own earnings, payment steps and a lot more. Those sites constantly deliver some of the high gambling […]

Better Payment Casinos on the internet 2026 – Best-paying Gambling enterprises in the us Leer más »

Finest Ukash Casinos on the internet 2026 – Best Internet sites Acknowledging Ukash

If you undertake that it banking option to techniques your internet gaming money, you won’t have to deal with including issues as the insufficient privacy or non-fast purchases. Only just remember that , everything consider because the web based casinos one take on Ukash is now known as PaysafeCard gambling enterprises. I adjusted Google’s Privacy

Finest Ukash Casinos on the internet 2026 – Best Internet sites Acknowledging Ukash Leer más »

Kiss Slots Online – Play the 100 percent free Kiss Casino slot games because of the WMS

That have products in casino options and you may functions, lotto, and digital games, the overall game vendor features all you have to regarding on line gaming. As among the online game team having a full set of characteristics, WMS has exploded for the an international organization. The fresh Hug online game has preferred an

Kiss Slots Online – Play the 100 percent free Kiss Casino slot games because of the WMS Leer más »

Hug Slots Online – Play the Free Hug Slot machine because of the WMS

That have products in gambling enterprise solutions and you may functions, lotto, and you can digital games, the game seller provides all you have to with regards to online gaming. As among the games business that have a full listing of services, WMS has grown on the a worldwide business. The fresh Kiss game features

Hug Slots Online – Play the Free Hug Slot machine because of the WMS Leer más »

Greatest $5 Lowest Deposit Gambling enterprises: Deposit $5 Rating FS

Although not, you’ll likely nevertheless be restricted in terms of incentives and you can claimed’t manage to take part in gambling enterprise tournaments. Since the number is actually highest, will still be lowest exposure, specifically for people who don’t have far experience in playing. Online casinos that have a good $5 lowest deposit be aren’t

Greatest $5 Lowest Deposit Gambling enterprises: Deposit $5 Rating FS Leer más »

Finest Zero-Deposit Incentives inside 2026 – 100 percent free Spins & Extra Dollars

Free spins put offers try bonuses offered whenever players make an excellent being qualified put at the an online local casino. Therefore, it will always be vital that you understand and you will understand the brand’s words and standards prior to signing up. These now offers are provided to the fresh players through to sign-up

Finest Zero-Deposit Incentives inside 2026 – 100 percent free Spins & Extra Dollars Leer más »

Forgotten Las vegas Position Video game – Demo Enjoy & Free Revolves

Betting standards let you know how frequently you should choice because of extra fund before you can withdraw one payouts. Enter any promo code if necessary through the membership or even in the new incentive point. Sweepstakes no-deposit incentives is actually courtroom in the most common You claims — also in which managed online casinos

Forgotten Las vegas Position Video game – Demo Enjoy & Free Revolves Leer más »