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

Sin categoría

The bonus are added just after, and you will use it to your some body online casino games, leaving out progressive harbors

It will enables you to discuss the new casino, take to whatever they bring, and you will most likely in reality profit some cash Says Eligible for BetMGM Local casino Incentive Currency. Michigan BetMGM Gambling establishment MI $twenty-four Nj-new jersey BetMGM Gambling enterprise Nj-new jersey $25 Pennsylvania BetMGM Local casino PA $25 West Virginia BetMGM […]

The bonus are added just after, and you will use it to your some body online casino games, leaving out progressive harbors Leer más »

The advantage is extra immediately after, and you will use it to your some one casino games, excluding progressive slots

It does enables you to speak about the fresh new casino, shot what they promote, and you may probably indeed earn some cash Says Qualified to receive BetMGM Local casino Added bonus Money. Michigan BetMGM Gambling enterprise MI $twenty-four New jersey BetMGM Gambling establishment Nj $25 Pennsylvania BetMGM Gambling establishment PA $25 West Virginia BetMGM

The advantage is extra immediately after, and you will use it to your some one casino games, excluding progressive slots Leer más »

The advantage is actually additional once, and you can use it to your somebody casino games, excluding modern slots

It will will let you explore brand new gambling enterprise, shot what they give, and you will probably in reality winnings some funds Says Qualified to receive BetMGM Gambling enterprise Added bonus Money. Michigan BetMGM Gambling establishment MI $twenty-five New jersey BetMGM Gambling enterprise New jersey $twenty five Pennsylvania BetMGM Local casino PA $25 Western

The advantage is actually additional once, and you can use it to your somebody casino games, excluding modern slots Leer más »

The benefit was extra shortly after, and you can operate it to your people gambling games, leaving out modern slots

It does allows you to mention this new gambling enterprise, shot whatever they render, and probably in reality victory some cash States Eligible for BetMGM Local casino Bonus Money. Michigan BetMGM Casino MI $twenty-five Nj-new jersey BetMGM Gambling enterprise Nj-new jersey $twenty five Pennsylvania BetMGM Gambling establishment PA $twenty-five West Virginia BetMGM Gambling enterprise WV

The benefit was extra shortly after, and you can operate it to your people gambling games, leaving out modern slots Leer más »

The bonus are extra shortly after, and you may use it to your some body online casino games, leaving out modern ports

It can will let you discuss the brand new casino, decide to try what they offer, and you can most likely indeed winnings some funds States Entitled to BetMGM Gambling enterprise Added bonus Currency. Michigan BetMGM Casino MI $twenty-five Nj BetMGM Casino Nj $twenty-five Pennsylvania BetMGM Casino PA $25 West Virginia BetMGM Casino WV $50

The bonus are extra shortly after, and you may use it to your some body online casino games, leaving out modern ports Leer más »

Produce brand new Respin element randomly to get your built-up Wilds redistributed for the reel getting big development!

Into the Betting Somebody, our very own professionals make a detailed and you can goal make an effort to ensure that the the fresh new business and you can live web based casinos when you look at the China are great sufficient become a portion of the esteemed record Dark Oceans Strength Fusion dos. In

Produce brand new Respin element randomly to get your built-up Wilds redistributed for the reel getting big development! Leer más »

Lead to the fresh Respin element randomly to really get your collected Wilds redistributed into the reel providing huge increases!

On the Betting People, our advantages carry out an in depth and purpose attempt to make sure the the fresh team and you may alive web based casinos for the Asia are good enough as an element of the esteemed number Ebony Oceans Strength Mix dos. In the heart of this new black colored seas,

Lead to the fresh Respin element randomly to really get your collected Wilds redistributed into the reel providing huge increases! Leer más »

Cause the newest Respin element randomly to get your compiled Wilds redistributed towards the reel delivering larger development!

On the Playing Anybody, all of our pros run an in depth and you will purpose try to ensure that the brand new team and you will alive casinos on the internet inside Asia are great enough as part of the prestigious record Black Waters Electricity Mixing dos. In the middle of the fresh new

Cause the newest Respin element randomly to get your compiled Wilds redistributed towards the reel delivering larger development! Leer más »

End in the Respin function at random to truly get your compiled Wilds redistributed into the reel providing big growth!

To the Gambling Someone, our very own gurus perform an in depth and you will goal attempt to make sure the brand new providers and real time casinos on the internet from inside the China are great sufficient to be a portion of the prestigious checklist Black Waters Strength Collection dos. In the middle of

End in the Respin function at random to truly get your compiled Wilds redistributed into the reel providing big growth! Leer más »

Produce the fresh Respin ability randomly to really get your gathered Wilds redistributed towards the reel taking larger gains!

Toward Gaming Individuals, our gurus carry out a detailed and objective attempt to ensure that the the fresh business and you may alive web based casinos when you look at the Asia are good adequate to be area of the esteemed checklist Ebony Oceans Stamina Blend 2. In the heart of the latest black seas,

Produce the fresh Respin ability randomly to really get your gathered Wilds redistributed towards the reel taking larger gains! Leer más »