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

Sin categoría

Differences when considering Free and Real money Ports?

This type of revolves render a zero-publicity chance to generate profits, whether or not people you want fulfill type of betting standards in advance of withdrawing you to earnings This particular aspect allows beginners to understand online game profile and build rely on just before committing their money. The option between them depends on private […]

Differences when considering Free and Real money Ports? Leer más »

Differences when considering 100 percent free and Real money Harbors?

This type of spins render a zero-exposure possibility to generate income, even though users you desire see sort of betting criteria in advance of withdrawing you to payouts This particular aspect lets novices to understand game profile and create believe in prior to Related Site committing their cash. The possibility between the two relies on

Differences when considering 100 percent free and Real money Harbors? Leer más »

With each login, you are a stride closer to the second huge earnings

Ignition Gambling enterprise offers a regular Crypto Freeroll, helping users so you’re able to participate for a good $dos,five-hundred or so prize that have in initial deposit out of $20 or higher in a number of cryptocurrencies Whenever you log on, you happen to be EZCash no deposit bonus came across that have a person-amicable

With each login, you are a stride closer to the second huge earnings Leer más »

Differences when considering 100 percent free and you can Real cash Ports?

This type of revolves render a zero-visibility possibility to earn cash, whether or not members you prefer satisfy form of playing requirements just before withdrawing one earnings This feature lets beginners to know video game reputation and create rely on ahead of committing their money. The option between them relies on personal betting expectations. Based

Differences when considering 100 percent free and you can Real cash Ports? Leer más »

Differences between Free and you can Real money Slots?

These spins give a no-publicity opportunity to earn cash, though people you want fulfill sorts of betting requirements before withdrawing that earnings This particular aspect lets beginners to know games reputation and build have confidence in before committing their cash. The possibility between the two depends on private gaming expectations. Predicated on Public relations Newswire,

Differences between Free and you can Real money Slots? Leer más »

Wagering standards influence how often you should wager the main benefit number before you withdraw people profits

Effectively managing their funds is essential when using No-deposit Bonuses, too prolong their gameplay while increasing your chances of winning Skills these terms is key to be certain that you don’t rating reduce the most and you may potential currency. Just how to maximize my personal gambling establishment bonuses? To increase the new gambling establishment

Wagering standards influence how often you should wager the main benefit number before you withdraw people profits Leer más »

Wagering requirements influence how often you need to wager the main benefit matter before you could withdraw any winnings

Effectively managing their cash is vital when using No-deposit Bonuses, as you are able to lengthen its gameplay and increase your odds of successful Skills such words is paramount to be sure that you don’t get eliminate your extra and possible money. How to optimize my local casino bonuses? To increase the gambling establishment incentives,

Wagering requirements influence how often you need to wager the main benefit matter before you could withdraw any winnings Leer más »

When you’re old-designed progressive slots aren’t considering, the fresh local casino now offers jackpot games plus Forehead out-of Wealth and you will Imperial Money

Poker gurus get access to several video poker variants: Jacks otherwise Finest Deuces Nuts Joker Web based poker Aces and also you can also be Confronts Tens or Ideal. App Business. Hopa Gambling establishment people with more twenty-five top software builders, promising higher-high quality gambling enjoy: NetEnt: Famous that have aesthetically stunning ports instance Starburst

When you’re old-designed progressive slots aren’t considering, the fresh local casino now offers jackpot games plus Forehead out-of Wealth and you will Imperial Money Leer más »

In the South Africa, this can be a permit provided of the National Gambling Panel

Less than, we offer a comprehensive publication on how to browse it procedure effectively: In search of Legitimate Casinos on the internet. Studying reliable no deposit gambling enterprises into the Southern Africa starts with thorough research and told you of a lot anything. Here are the magic procedures: Start by an email list: Begin by

In the South Africa, this can be a permit provided of the National Gambling Panel Leer más »

In South Africa, it is a permit provided by the Federal Betting Panel

Less than, you can expect an intensive publication on precisely how to navigate it process efficiently: Looking for Reputable Online casinos. Reading credible no-deposit gambling enterprises inside Southern Africa starts with thorough search and you can said many something. Here you will find the magic steps: Start with an email list: Begin by piecing together

In South Africa, it is a permit provided by the Federal Betting Panel Leer más »