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

Sin categoría

Top Web based casinos for real Profit the us 2026

Concurrently, playing with cryptocurrencies generally speaking runs into down deal charges, it is therefore a fees-productive choice for gambling on line. Transactions playing with cryptocurrencies are quicker as opposed to those canned https://pinnacle-casino.net/nl/bonus/ as a result of banking companies otherwise creditors. One of many advantages of playing with cryptocurrencies such as for instance Bitcoin is […]

Top Web based casinos for real Profit the us 2026 Leer más »

Top ten Usa Casinos on the internet for real Currency Betting in 2026

Following this type of procedures, you could potentially improve your cover if you find yourself viewing online gambling. As well, alive broker game promote a very transparent and you may trustworthy gaming sense since the users understand the dealer’s measures from inside the actual-time. These types of online game are generally developed by top app

Top ten Usa Casinos on the internet for real Currency Betting in 2026 Leer más »

Top 10 Us Online casinos for real Currency Gambling inside 2026

By following such strategies, you can enhance your coverage when you find yourself seeing online gambling. As well, live agent game offer a transparent and you will reliable gaming experience just like the people understand the broker’s procedures in real-time. This type of online game are typically developed by top software providers, making sure a

Top 10 Us Online casinos for real Currency Gambling inside 2026 Leer más »

Top U . s . Casinos on the internet for real Currency Gambling for the 2026

By using these types of strategies, you might improve your cover while you are seeing gambling on line. While doing so, real time agent online game give a clear and you will trustworthy gambling experience while the people comprehend the dealer’s methods within the genuine-date. These types of games are usually developed by top application

Top U . s . Casinos on the internet for real Currency Gambling for the 2026 Leer más »

Top ten United states of america Casinos on the internet the real deal Currency Playing within the 2026

By using these actions, you might boost your security while watching online gambling. As well, alive dealer video game render a very transparent and reliable playing feel just like the people see the agent’s procedures in genuine-big date. Such video game are usually created by leading software company, guaranteeing a high-high quality and you will

Top ten United states of america Casinos on the internet the real deal Currency Playing within the 2026 Leer más »

Top 10 United states Online casinos the real deal Money Playing from inside the 2026

By following this type of methods, you might improve your cover while you are viewing online gambling. In addition, alive dealer video game provide an even more transparent and you may trustworthy gambling experience because the members see the dealer’s measures into the genuine-big date. These types of games are typically created by top app

Top 10 United states Online casinos the real deal Money Playing from inside the 2026 Leer más »

Top U . s . Online casinos for real Money Playing in 2026

Through such steps, you might increase safety when you are enjoying online gambling. Additionally, real time specialist games render a far more clear and you can dependable gaming experience due to the fact users comprehend the broker’s steps inside the genuine-date. Such games are usually produced by top software providers, making sure a leading-quality and

Top U . s . Online casinos for real Money Playing in 2026 Leer más »

Top ten Usa Online casinos for real Currency Playing in the 2026

By simply following these actions, you could enhance your safety if you’re watching online gambling. On top of that, real time agent video game render an even more transparent and you will https://race-casino.net/au/no-deposit-bonus/ reliable gambling experience given that players comprehend the dealer’s measures from inside the real-go out. Such video game are generally developed by

Top ten Usa Online casinos for real Currency Playing in the 2026 Leer más »

Ideal A real income Web based casinos in the usa 2026

Big gambling enterprises are often considered safer along with their resources and created character, whereas quicker casinos could possibly get deal with challenges inside satisfying high earnings. The greater the protection Index, a lot more likely you are to love a real income online casino game and cash out your payouts as opposed to situations.

Ideal A real income Web based casinos in the usa 2026 Leer más »

Top 10 Us Online casinos for real Money Playing in the 2026

Following these types of actions, you could boost your cover while you are seeing online gambling. At the same time, real time specialist game offer a very transparent and reliable betting sense since the members understand the agent’s measures inside real-date. This type of games are usually developed by best application providers, ensuring a top-top

Top 10 Us Online casinos for real Money Playing in the 2026 Leer más »