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

Sin categoría

Brand new Sweepstakes Gambling enterprises having July 2026 Current Bonuses

This game-changer have a tendency to greatly improve your prospective winnings. You don’t victory cash once you gamble sweeps gold coins game. When you are Slingo online game were once offered by sites particularly McLuck, vendor Betting Realms removed all Slingo headings regarding sweepstakes casinos during the July 2025. One of the current Share Originals […]

Brand new Sweepstakes Gambling enterprises having July 2026 Current Bonuses Leer más »

The new Sweepstakes Casinos to own July 2026 Latest Incentives

The game-changer will massively improve your potential payouts. You wear’t win actual cash once you play sweeps coins game. Whenever you are Slingo online game had been after offered by internet sites particularly McLuck, provider Betting Areas pulled all Slingo titles away from sweepstakes gambling enterprises during the July 2025. Among the newest Risk Originals

The new Sweepstakes Casinos to own July 2026 Latest Incentives Leer más »

The fresh Sweepstakes Gambling enterprises to own July 2026 Newest Incentives

This video game-changer usually greatly enhance your prospective winnings. Your wear’t winnings actual cash after you play sweeps coins games. While you are Slingo online game were immediately after offered at websites eg McLuck, supplier Gambling Areas pulled most of the Slingo titles out-of sweepstakes gambling enterprises inside the July 2025. One of the latest

The fresh Sweepstakes Gambling enterprises to own July 2026 Newest Incentives Leer más »

The latest Sweepstakes Gambling enterprises to have July 2026 Latest Incentives

This game-changer often greatly improve your prospective payouts. You don’t winnings actual cash after you play sweeps coins games. If you’re Slingo game were just after offered by internet like McLuck, vendor Playing Areas taken most of the Slingo headings of sweepstakes casinos in the July 2025. Among the current Risk Originals which is demonstrating

The latest Sweepstakes Gambling enterprises to have July 2026 Latest Incentives Leer más »

The new Sweepstakes Casinos getting July 2026 Latest Bonuses

This video game-changer often greatly improve your prospective profits. Your wear’t earn actual cash when you gamble sweeps coins video game. While Slingo video game was once offered by internet sites like McLuck, provider Gambling Areas taken the Slingo titles regarding sweepstakes casinos from inside the July 2025. Among latest Share Originals that’s appearing to

The new Sweepstakes Casinos getting July 2026 Latest Bonuses Leer más »

This new Sweepstakes Gambling enterprises to possess July 2026 Most recent Incentives

This video game-changer usually greatly boost your prospective winnings. You don’t winnings actual cash once you enjoy sweeps gold coins game. While Slingo game have been once offered by websites such as McLuck, provider Playing Areas pulled most of the Slingo titles regarding sweepstakes casinos when you look at the July 2025. Among the most

This new Sweepstakes Gambling enterprises to possess July 2026 Most recent Incentives Leer más »

Most useful Sweepstakes Gambling enterprises 2026: Complete Checklist & Publication for people

A decreased volatility slot usually usually hand out more regular payouts that are reduced in dimensions compared to large volatility slot earnings. As a whole, you will want to enjoy higher volatility slots whenever chasing large winnings. Free Sweeps Coin ports is the hottest gambling enterprise-concept online game at South carolina coin casinos, and you

Most useful Sweepstakes Gambling enterprises 2026: Complete Checklist & Publication for people Leer más »

Listing of Sweepstakes Casinos 2026: 100+ Sweeps Internet sites Rated

It is especially the situation to own gambling enterprises such as for instance McLuck, that have social network freebies most of the couple of days. These can become very worthwhile perks once you’re on the good log on move. An informed sweepstake gambling enterprises gives a free of charge Sc extra the new-day your sign

Listing of Sweepstakes Casinos 2026: 100+ Sweeps Internet sites Rated Leer más »

Most readily useful Sweepstakes Gambling enterprises 2026: Full Checklist & Publication for all of us

A reduced volatility position tend to generally speaking dish out more regular winnings that are reduced in size compared to large volatility slot profits. Typically, you really need to enjoy highest volatility slots whenever going after high winnings. Free Sweeps Coin ports is the top gambling establishment-design games in the Sc money casinos, and you

Most readily useful Sweepstakes Gambling enterprises 2026: Full Checklist & Publication for all of us Leer más »