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

Sin categoría

It�s as simple as utilizing your bank account or you desired to make use of individual Pursue charge card

Kind of Financial Alternatives & Payment Efficiency Diversity try tall given that we do not know very well what the newest following monetary form seems such as for example, nevertheless the important matter which have economic ways to the gambling establishment applications is basically they’ve the new deposit method we need to explore now. You’ll […]

It�s as simple as utilizing your bank account or you desired to make use of individual Pursue charge card Leer más »

What sort of bonuses carry out online condition other sites give?

To play websites provides bonuses or any other offers in order on new and introduce professionals . Incentives for brand new professionals are usually the absolute most higher, since they’re always attract the fresh profiles and provide them an incentive to join up and begin to play. You can aquire particular bonuses completely one hundred%

What sort of bonuses carry out online condition other sites give? Leer más »

What type of bonuses perform on the internet reputation websites give?

To tackle websites will bring bonuses and other offers in acquisition with the the fresh and introduce participants . Bonuses for new masters are often the most high, because they’re regularly notice the newest users and give them an incentive to join up and commence to try out. You should buy particular incentives totally 100%

What type of bonuses perform on the internet reputation websites give? Leer más »

Key math all the associate should know: Domestic border, RTP, and you will huge difference

Online slots been since electronic designs away-regarding ports your own ing halls. Since that time, video game musicians and artists is creating imaginative themes, keeps, gameplay procedure, or other characteristics and that is and make slots usually the very popular gambling establishment games on the internet now. Old-designed online slots games consist away from reels

Key math all the associate should know: Domestic border, RTP, and you will huge difference Leer más »

Key mathematics every member should become aware of: Domestic edging, RTP, and you can improvement

Online slots games come since electronic habits out-off ports the ing places. Since that time, video DuffSpin μπόνους χωρίς κατάθεση game musicians and artists try coming up with imaginative themes, possess, game play matter, or other functions and that is and come up with harbors typically the really well-known gambling establishment games on the internet

Key mathematics every member should become aware of: Domestic edging, RTP, and you can improvement Leer más »

Secret mathematics all member should know: Residential edging, RTP, and you can differences

Online slots games become once the electronic habits out-out-of harbors your ing halls. Ever since, video game music artists is creating imaginative templates, have, gameplay topic, or any other services in fact it is and work out harbors typically the extremely well-known gambling enterprise games online now. Old-fashioned online slots games consist off reels with

Secret mathematics all member should know: Residential edging, RTP, and you can differences Leer más »

Trick math most of the member should become aware of: Home-based border, RTP, and you will distinction

Online slots games started as the electronic designs aside-from slots your ing halls. From the time, video game writers and singers was picking out imaginative layouts, features, game play material, and other features in fact it is and also make ports usually the very popular local casino video game on the internet today. Old-fashioned online

Trick math most of the member should become aware of: Home-based border, RTP, and you will distinction Leer más »

Trick mathematics all of the member should know: Domestic border, RTP, and huge difference

Online slots games started due to the fact electronic activities aside-out of ports your ing halls. From the time, online game musicians and artists try picking out creative themes, enjoys, game play procedure, or any other characteristics and that’s and then make slots often the really prominent local casino video game on the web today.

Trick mathematics all of the member should know: Domestic border, RTP, and huge difference Leer más »

The new reels, added bonus enjoys, RTP, and gameplay are often an equivalent

Many of the totally free slot demonstrations on this page are the exact same games you will find at registered online casinos and you may sweepstakes casinos. The sole distinction is you play with digital loans instead from real cash, very there is no financial chance, and no actual winnings possibly. You may enjoy free

The new reels, added bonus enjoys, RTP, and gameplay are often an equivalent Leer más »