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

Sin categoría

Worldwide Web based casinos The Help guide to Around the world Gambling enterprises 2026

Of harbors and you will application dining table online game eg Roulette and Blackjack to help you real time specialist games, only come across everything you love. During the BestCasinos.com, there is the big Canadian-amicable on the web operators and that take on Canadian bucks and supply a broad directory of gambling games. Australian gambling […]

Worldwide Web based casinos The Help guide to Around the world Gambling enterprises 2026 Leer más »

All over the world Online casinos The Guide to All over the world Casinos 2026

Regarding slots and you can software dining table game for example Roulette and you can Black-jack to live agent video game, simply look for that which you like. At BestCasinos.com, discover the major Canadian-friendly on the web workers hence undertake Canadian cash and offer a broad directory of gambling games. Australian casinos deal with repayments

All over the world Online casinos The Guide to All over the world Casinos 2026 Leer más »

All over the world Casinos on the internet Their Guide to Around the globe Gambling enterprises 2026

Of ports and you can software desk video game instance Roulette and you will Black-jack in order to alive specialist online game, merely discover everything love. At the BestCasinos.com, there clearly was the top Canadian-friendly on the internet providers and this undertake Canadian dollars and supply a wide list of online casino games. Australian casinos

All over the world Casinos on the internet Their Guide to Around the globe Gambling enterprises 2026 Leer más »

All over the world Casinos on the internet Your own Guide to In the world Gambling enterprises 2026

Off ports and you will application table video game including Roulette and you may Blackjack to help you live agent video game, only see what you like. Within BestCasinos.com, you will find the big Canadian-amicable on the web providers and this take on Canadian bucks and offer a broad variety of online casino games. Australian

All over the world Casinos on the internet Your own Guide to In the world Gambling enterprises 2026 Leer más »

Worldwide Web based casinos Your Help guide to Around the globe Casinos 2026

Out of slots and you can app dining table video game such Roulette and you may Blackjack in order to alive agent game, simply come across that which you love. On BestCasinos.com, there clearly was the top Canadian-friendly on the web providers and that take on Canadian dollars and offer a wide set of online

Worldwide Web based casinos Your Help guide to Around the globe Casinos 2026 Leer más »

Casinos on the internet on the You S. the real deal Money

The absolute most genuine web based casinos are those you to definitely keep appropriate licenses out of accepted regulating bodies, making certain they work into the laws. It’s also essential to see reading user reviews and make certain the working platform have strong security features like SSL encryption to guard your very own guidance. Offered

Casinos on the internet on the You S. the real deal Money Leer más »

ten Ideal Real money Web based casinos to own Usa Players inside the 2026

Robert DellaFave ran the advantage Gambling routine just before paying within the due to the fact an online casino poker and you may gambling enterprise author when you look at the 2008. At least, put a deposit maximum before you start. Dont create a gambling establishment purely because of the welcome added bonus. All the

ten Ideal Real money Web based casinos to own Usa Players inside the 2026 Leer más »

5 Best Real cash Online casinos United states of america September 2026

To simply help, we’ve indexed what we imagine will be seven most critical enjoys to find when deciding on an internet casino to experience from the. Your website build and you will cellular use of to have FanDuel are several off the best you’ll select, and we love exactly how effortless that which you really

5 Best Real cash Online casinos United states of america September 2026 Leer más »