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

Sin categoría

Top Casinos on the internet 2026 ️ Ranked Because of the Actual Participants

A knowledgeable blackjack internet online bring several variants which have advantageous laws and regulations and aggressive house sides. High quality roulette platforms render several variants on the classic video game, plus Eu, American, and you will French sizes. An educated ports websites on line companion which have multiple software organization so you can offer everything […]

Top Casinos on the internet 2026 ️ Ranked Because of the Actual Participants Leer más »

Most useful Web based casinos 2026 ️ Ranked Because of the Genuine Professionals

An educated blackjack sites online promote numerous alternatives having beneficial laws and regulations and aggressive home corners. Quality roulette platforms render multiple versions of the vintage game, including European, American, and French versions. An educated slots internet on line mate which have numerous software organization in order to promote everything from classic three-reel video game

Most useful Web based casinos 2026 ️ Ranked Because of the Genuine Professionals Leer más »

Better Online casinos 2026 ️ Ranked By Actual People

An informed blackjack internet on the internet provide multiple variants which have positive laws and competitive domestic sides. High quality roulette networks promote several variations associated with the classic video game, plus Eu, Western, and you will French models. An educated harbors web sites on the internet mate that have several application business so you’re

Better Online casinos 2026 ️ Ranked By Actual People Leer más »

Most useful International Casinos on the internet 2026 Full Self-help guide to INT Gambling enterprises

As benefits offering is actually good, the house-situated experts are not backed by an equivalent nationwide gambling establishment impact https://whitelotus-casinos.net/fr/ just like the software such as MGM Advantages. This new iRush Perks program perks uniform enjoy much more earnestly than just really competition, having every day 2x prize multipliers, a plus store, and you can

Most useful International Casinos on the internet 2026 Full Self-help guide to INT Gambling enterprises Leer más »

Best Global Online casinos 2026 Complete Help guide to INT Gambling enterprises

Just like the rewards giving is strong, its belongings-depending masters are not supported by an identical all over the country gambling establishment impact because apps such as for instance MGM Perks. The newest iRush Advantages program perks consistent play so much more earnestly than very opposition, with daily 2x reward multipliers, a bonus store, and

Best Global Online casinos 2026 Complete Help guide to INT Gambling enterprises Leer más »

Most useful International Casinos on the internet 2026 Full Help guide to INT Gambling enterprises

Due to the fact advantages offering try strong, its residential property-created professionals aren’t backed by the same nationwide gambling establishment footprint given that programs such as MGM Perks. The latest iRush Benefits system rewards uniform gamble so much more definitely than simply very competition, having everyday 2x award multipliers, a plus shop, and you may

Most useful International Casinos on the internet 2026 Full Help guide to INT Gambling enterprises Leer más »

Casinos on the internet inside Malaysia Top Casinos 2026

Regular audits and you may checks ensure that operators realize every courtroom conditions plus don’t resist regulations to get several thousand gamblers inside legal peril. Fortunately, the Local casino on the internet Malaysia on this listing do the homework regarding security and you will fair gameplay. Malaysian casinos assistance several fee tips, from e-purses in

Casinos on the internet inside Malaysia Top Casinos 2026 Leer más »

Web based casinos inside Malaysia Trusted Casinos 2026

Typical audits and inspections ensure that workers go after all of the judge standards plus don’t resist regulations to put a great deal of bettors inside the legal peril. Thank goodness, the Local casino online Malaysia about record have done its homework away from safeguards and you will reasonable gameplay. Malaysian casinos service multiple commission

Web based casinos inside Malaysia Trusted Casinos 2026 Leer más »

Casinos on the internet from inside the Malaysia Trusted Casinos 2026

Regular audits and you can monitors make sure that providers pursue most of the court criteria and do not defy the law to get tens of thousands of gamblers inside court peril. Fortunately, new Local casino on the web Malaysia on this subject checklist have done the homework regarding security and you will reasonable game

Casinos on the internet from inside the Malaysia Trusted Casinos 2026 Leer más »