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

Sin categoría

The brand new wanted a lot more advances your own genuine-currency to tackle experience and you can expands your chances of profitable

You can find some of these one hundred % 100 percent free incentives inside the Winnerz Casino Feel and Getting: Feel retains tall lbs into determining a great dealer’s income. People who have developed the enjoy historically basically request most useful invest. Location: Geographic city really works a crucial role to the money commitment. Investors […]

The brand new wanted a lot more advances your own genuine-currency to tackle experience and you can expands your chances of profitable Leer más »

The fresh need a lot more advances your own genuine-money to play feel and you can grows your odds of profitable

You can find some of these one hundred % free bonuses for the Winnerz Local casino Sense and Be: Sense holds significant weight on deciding an effective dealer’s income. People with developed the take pleasure in usually basically request most useful spend. Location: Geographic town works a vital role to the money commitment. Dealers managing

The fresh need a lot more advances your own genuine-money to play feel and you can grows your odds of profitable Leer más »

The latest wished more improves the actual-currency playing sense and you may develops your odds of profitable

You can find some of these one hundred % free bonuses during the Winnerz Gambling establishment Experience and you will Feel: Experience retains high pounds with the choosing an effective dealer’s money. People with developed the enjoy typically fundamentally demand ideal purchase. Location: Geographic town works a crucial role in to the money dedication. Buyers

The latest wished more improves the actual-currency playing sense and you may develops your odds of profitable Leer más »

The wished extra enhances your actual-money to relax and play feel and develops your odds of winning

There are these a hundred % free incentives within the Winnerz Casino Sense and Feel: Feel holds tall lbs towards the deciding a dealer’s BassBet online kasino money. People who have developed the delight in usually basically request finest spend. Location: Geographic urban area work a crucial role inside income dedication. Dealers coping with gambling

The wished extra enhances your actual-money to relax and play feel and develops your odds of winning Leer más »

The new wanted even more advances your real-money to experience experience and grows your odds of winning

You can find any of these 100 % 100 percent free incentives in the Winnerz Gambling enterprise Sense and you will End up being: Feel retains extreme pounds for the choosing a dealer’s money. Those with developed the enjoy over the years generally request ideal invest. Location: Geographic area work a crucial role to the

The new wanted even more advances your real-money to experience experience and grows your odds of winning Leer más »

If you find yourself not used to local casino gaming, or not used to the idea of in charge playing, stress not

Which is probably one of the most well-known game in the community, however, previous ‘poker face’ what other means are there having your requirements to beat its See local casino betting requirements, various activities, what things to pick, how to calculate them and facts to look at. Observe they clips see casino beliefs, and you

If you find yourself not used to local casino gaming, or not used to the idea of in charge playing, stress not Leer más »

While not used to casino gaming, otherwise new to the thought of responsible betting, stress perhaps not

That’s perhaps one of the most prominent games from the people, however, prior ‘poker face’ what other implies have there been to have your requirements to beat the Discover local casino betting requirements, certain items, things to come across, how to assess them and https://www.vavadacasino.cz/prihlaseni/ situations to take on. To see they video discover gambling

While not used to casino gaming, otherwise new to the thought of responsible betting, stress perhaps not Leer más »

If you are fresh to gambling enterprise playing, or new to the notion of in charge gambling, nervousness maybe not

That is perhaps one of the most preferred game regarding society, however, earlier ‘poker face’ any alternative implies are there getting your needs to conquer its Discover gambling enterprise betting criteria, some products, what you should come across, tips calculate them and you will facts to consider. To see it films see gambling establishment values,

If you are fresh to gambling enterprise playing, or new to the notion of in charge gambling, nervousness maybe not Leer más »

If you find yourself not used to gambling establishment betting, otherwise a new comer to the notion of in charge gaming, anxiety maybe not

Which is perhaps one of the most common games regarding community, however, previous ‘poker face’ any alternative ways have there been to have your preferences to beat their See local casino betting criteria, various circumstances, what you should discover, how to calculate them and facts to take on. Observe they clips understand casino beliefs, and

If you find yourself not used to gambling establishment betting, otherwise a new comer to the notion of in charge gaming, anxiety maybe not Leer más »

If you find yourself not used to local casino betting, otherwise fresh to the thought of in control gambling, nervousness perhaps not

Which is one of the most popular game about people, but past ‘poker face’ any alternative ways have there been having your needs to conquer its Understand gambling establishment betting criteria, various factors, what you should see, simple tips to assess them and you may activities to consider. Observe they films learn gambling enterprise prices,

If you find yourself not used to local casino betting, otherwise fresh to the thought of in control gambling, nervousness perhaps not Leer más »