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

Sin categoría

Gorgeous Sexy Lottostar Demonstration & Position Review: Free Play in the Demonstration Function

Content Copy and paste that it password to your site to embed which games Betting while the a corporate There’re also 7,000+ totally free slot online game having extra rounds no obtain zero membership no deposit expected that have quick gamble setting. Casinos provide trial video game to own professionals to learn info and methods.

Gorgeous Sexy Lottostar Demonstration & Position Review: Free Play in the Demonstration Function Leer más »

You to Provides Your business Having Visually Eye-popping & Enthralling Game

Gambling establishment Video game Development. Want to make your specific gambling enterprise games? Lookin able-to-discharge online game otherwise will be release a good-video game clone? GammaStack gambling enterprise game innovation business is your you to help you needless to say-stop-pick your casino games requires. Equipped with a small grouping of 100+ builders, there is without

You to Provides Your business Having Visually Eye-popping & Enthralling Game Leer más »

You to Provides Your company Which have Aesthetically Fantastic & Enthralling Game

Casino Game Advancement. Should make your specific local casino games? Lookin in a position-to-launch online game if not should release a good-online game clone? GammaStack gambling enterprise video game advancement organization is the your in order to needless to say-stop-purchase your local casino online game needs. Armed with several one hundred+ designers, discover effortlessly released

You to Provides Your company Which have Aesthetically Fantastic & Enthralling Game Leer más »

Even in the event your beat or even earn, you receive the brand new cashback extra providing you get to the address

The fresh new ports and you may head a hundred% to your wagering fulfilment conditions instead of a great deal more expertise-situated game, including blackjack, roulette although some In order to be eligible for that it promote, you will want to do a merchant account into the site and you will choose the newest the

Even in the event your beat or even earn, you receive the brand new cashback extra providing you get to the address Leer más »

Even in the event your treat if you don’t earn, you can get the fresh new cashback added bonus as long as you reach the address

Brand new slots and you can lead a hundred% towards your betting fulfillment requirements as opposed to a lot more skill-dependent online game, particularly blackjack, roulette though some To help you be eligible for so it bring, you really need to create a merchant account into the website and you may opt to new this

Even in the event your treat if you don’t earn, you can get the fresh new cashback added bonus as long as you reach the address Leer más »

Even though you get rid of if you don’t secure, you can get the fresh new cashback incentive so long as you get to the target

The newest slots and you may lead one hundred% to your betting fulfilment criteria as opposed to even more expertise-established video game, such as black-jack, roulette while some To help you qualify for so it render, you need to create a merchant account for the website and you may opt to the brand new new

Even though you get rid of if you don’t secure, you can get the fresh new cashback incentive so long as you get to the target Leer más »

Even if you get rid of if you don’t earn, you get this new cashback added bonus so long as you get to the address

Brand new harbors and you can direct 100% to your betting fulfilment conditions in the place of even more expertise-built game, like blackjack, roulette however some To help you qualify for it provide, you ought to perform an account toward website and you can decide to the new the new venture to find the prize.

Even if you get rid of if you don’t earn, you get this new cashback added bonus so long as you get to the address Leer más »

Hellboy out of BrandGames: Purchase the Fascinating Casino slot games

Blogs TED – Jackpot Queen Must i enjoy the online slots games United kingdom to the cellular? Best websites will also combine these incentives which have reasonable, transparent words and practical wagering requirements to send greatest offers to people. Yes, you might gamble online slots free of charge and have the chance in order to

Hellboy out of BrandGames: Purchase the Fascinating Casino slot games Leer más »

100 percent free Spins Gambling establishment No-deposit Totally free Revolves in order to Victory Real money 2024

Articles Can you Winnings Real cash For the Free Ports? Utilize the 100 percent free Revolves bonus password (if necessary) Totally free Revolves to the Robin on the Woods in the Rumors Ports When users register with the proper BetMGM Local casino extra password, they will get household money just for enrolling. You have made

100 percent free Spins Gambling establishment No-deposit Totally free Revolves in order to Victory Real money 2024 Leer más »