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

Sin categoría

The guidelines of Gaming contained in this Canada’s On the-range gambling enterprise Internet sites

An educated Casino To tackle Feel On the web This really is Awesome Gambling enterprise! We need to healthy one to the finding the right gambling on line Canada will bring due to the fact ideal alive gambling enterprise website on the the internet. We have been really delighted you will end up signing up […]

The guidelines of Gaming contained in this Canada’s On the-range gambling enterprise Internet sites Leer más »

When looking for your perfect even more, below are a few of the biggest factors to keep an enthusiastic eager attention with the

Most of the extra also offers are made to search tempting while may good-sized to encourage the this new benefits aboard, so it’s vital that you take a look at for each and every casino’s small print to see the real features of your bring. Blended Balance Incentive With this particular, for each and every

When looking for your perfect even more, below are a few of the biggest factors to keep an enthusiastic eager attention with the Leer más »

When shopping for your ideal extra, here are some of the biggest points to remain a keen eager vision into

All extra also offers are created to browse enticing and you can get big to help you encourage the the fresh new professionals on-board, making it important to take a look at for each casino’s conditions and terms to see the actual services of your give. Blended Balance Extra With this, for every single choice

When shopping for your ideal extra, here are some of the biggest points to remain a keen eager vision into Leer más »

When searching for your perfect even more, here are some of the biggest what to keep an keen vision into

All added bonus also provides are made to research enticing therefore may generous to help you encourage the the new professionals aboard, so it is important to consider per casino’s fine print observe the true properties of your own bring. Mixed Equilibrium Added bonus Using this, for every single choice you will be making just

When searching for your perfect even more, here are some of the biggest what to keep an keen vision into Leer más »

While looking for your dream additional, below are a few of the biggest things to continue an enthusiastic eager eyes towards

Most of the added bonus now offers are created to search tempting and you also could possibly get ample so you can enable the the fresh positives up to speed, therefore it is crucial that you have a look at each casino’s small print to see the genuine properties of your provide. Combined Balance Bonus

While looking for your dream additional, below are a few of the biggest things to continue an enthusiastic eager eyes towards Leer más »

Of the exploring all of the small print, we discover and that 100 % free spins remain legitimate really worth

We are able to find and that harbors was assigned likewise to your app journalist. Of wearing a far greater experience in pub casino any free revolves offer, it is possible to make better options that suit their to play construction, bankroll, and effective choice. Form of Basic Set Casino Bonus The main strategy an

Of the exploring all of the small print, we discover and that 100 % free spins remain legitimate really worth Leer más »

Because of the exploring most of the fine print, we discover hence a hundred % free spins keep legitimate worth

We can come across which ports is actually assigned while doing so with the application writer. Of gaining a much better experience in one free spins provide, it is possible to make smarter selection that fit the to experience build, money, and you can profitable selection. Style of Basic Lay Local casino Extra An element

Because of the exploring most of the fine print, we discover hence a hundred % free spins keep legitimate worth Leer más »

By examining every terms and conditions, we find hence a hundred % 100 percent free spins remain genuine worth

We are able to look for and therefore slots was tasked on top of that towards software journalist. Of one’s putting on a far greater knowledge of one free revolves provide, you’re able to make better options that fit the playing construction, money, and you can effective possibilities. Version of First Lay Local casino Bonus

By examining every terms and conditions, we find hence a hundred % 100 percent free spins remain genuine worth Leer más »

Of the examining most of the terms and conditions, we discover hence a hundred % free revolves remain legitimate well worth

We could get a hold of https://miami-dice-casino.com/nl/ and therefore harbors is assigned on the other hand with the application author. Of one’s gaining a far greater expertise in people free spins give, it is possible to make smarter solutions that fit their to tackle construction, money, and effective solutions. Types of First Lay Local casino

Of the examining most of the terms and conditions, we discover hence a hundred % free revolves remain legitimate well worth Leer más »