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

Sin categoría

100 percent free Revolves eye of horus slot free spins No deposit United kingdom Claim Ports Incentives December 2024

Content Finest 100 percent free Revolves Zero Betting Uk 2024 – eye of horus slot free spins Totally free Slots No deposit This type of offers give you lots of ammunition to experience a the brand new game with minimal eye of horus slot free spins chance. The fresh acceptance bonuses inside the focus is […]

100 percent free Revolves eye of horus slot free spins No deposit United kingdom Claim Ports Incentives December 2024 Leer más »

Totally casino Bell Fruit free Spins No deposit United kingdom Allege Slots Bonuses December 2024

Blogs Casino Bell Fruit – Greatest 100 percent free Spins Zero Betting Uk 2024 100 percent free Harbors No-deposit These campaigns make you a lot of ammo playing an excellent the fresh game with just minimal exposure. The new invited incentives inside the focus is somewhat of a rareness whenever versus deposit bonuses, however, i’ve

Totally casino Bell Fruit free Spins No deposit United kingdom Allege Slots Bonuses December 2024 Leer más »

Totally free Revolves No-deposit British goldbet promo codes Allege Harbors Bonuses December 2024

Content Goldbet promo codes – Best 100 percent free Spins No Betting British 2024 Totally free Harbors No deposit These types of offers give you loads of ammo to experience an excellent the newest games with minimal risk. The fresh greeting bonuses in the attention is actually a bit of a rarity whenever compared to

Totally free Revolves No-deposit British goldbet promo codes Allege Harbors Bonuses December 2024 Leer más »

Enjoy Lobstermania 2 Slot by the IGT Totally goldbet bonuses free

Articles Goldbet bonuses | A lot more IGT Totally free Slots playing 100 percent free Lobster Mania Game Doing the bucks put, you must utilize the monetary available options. An individual will be over, you could start playing Lobstermania for free. That is an especially efficient way to improve your own victories you to come

Enjoy Lobstermania 2 Slot by the IGT Totally goldbet bonuses free Leer más »

Bet £5 Get £31 Gambling Also provides Productive for kitty glitter casino December 2024

Blogs Kitty glitter casino – Competitive possibility Aggressive Chance From the Ladbrokes, Coral and you will bet365 you can begin with £5 minimal deposit limits. The brand new step one-2-Totally free games in the Ladbrokes, such, needs participants effectively guess the new score out of a couple activities games to help you victory a good

Bet £5 Get £31 Gambling Also provides Productive for kitty glitter casino December 2024 Leer más »

Bet £5 Score Royal Match slot machine £30 Gambling Now offers Productive to own December 2024

Articles Competitive possibility | Royal Match slot machine Aggressive Chance At the Ladbrokes, Royal Match slot machine Red coral and you will bet365 you can start having £5 minimum deposit constraints. The newest step one-2-Free video game in the Ladbrokes, such as, means participants to correctly assume the new rating out of a couple of

Bet £5 Score Royal Match slot machine £30 Gambling Now offers Productive to own December 2024 Leer más »

$5 Put Gambling enterprise Canada 2024, Fishing Frenzy online casino Finest 5$ Put Added bonus Local casino

Blogs Fishing Frenzy online casino: Exactly why are such an educated – a glance at 5 better lowest put gambling enterprises $step 1 Put Casinos for NZ People in the December 2024 Totally free Revolves for $5 Canada You never know exactly what 3rd party organization want to shoot in the program. Pursue our very

$5 Put Gambling enterprise Canada 2024, Fishing Frenzy online casino Finest 5$ Put Added bonus Local casino Leer más »

Totally free Revolves No-deposit British the genies gems slot machine Claim Harbors Incentives December 2024

Blogs The genies gems slot machine – Greatest Free Revolves Zero Betting Uk 2024 Free Ports No deposit These types of campaigns make you a lot of ammunition to experience a great the fresh video game with minimal chance. The newest welcome incentives in the attention are somewhat of a rareness when compared to deposit

Totally free Revolves No-deposit British the genies gems slot machine Claim Harbors Incentives December 2024 Leer más »

$5 Deposit Gambling enterprise Canada how to choose a safe online casino 2024, Finest 5$ Put Bonus Local casino

Posts What makes such a knowledgeable – a look at 5 best minimum deposit casinos – how to choose a safe online casino $step one Put Gambling enterprises to possess NZ Professionals inside the December 2024 Free Spins to have $5 Canada You never know just what 3rd party organization are trying to inject into

$5 Deposit Gambling enterprise Canada how to choose a safe online casino 2024, Finest 5$ Put Bonus Local casino Leer más »

$5 Deposit lucky 88 slot free spins Gambling establishment Canada 2024, Greatest 5$ Put Incentive Gambling establishment

Posts Why are these an informed – a peek at 5 best minimum put casinos | lucky 88 slot free spins $step 1 Deposit Gambling enterprises for NZ Participants in the December 2024 Totally free Spins to possess $5 Canada You will never know exactly what third-party team want to shoot in the system. Pursue

$5 Deposit lucky 88 slot free spins Gambling establishment Canada 2024, Greatest 5$ Put Incentive Gambling establishment Leer más »