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

Sin categoría

Legitimate Casinos on the internet for all of us best online casinos People 2023

Articles Best online casinos: Search terms for real money casino games Sportsbetting Casino poker Malta Gaming Power So you can be considered, profiles have to register an account, be sure their Gcash and you may phone number, down load the new BB8 Application, and contact support service on the added bonus. The advantage features an […]

Legitimate Casinos on the internet for all of us best online casinos People 2023 Leer más »

Full-moonlight Luck Position View 2024 Grand Bonuses, mr bet casino 10€ Mobile Gamble

Content Liberated to Play Konami Slot machine games | mr bet casino 10€ Ports From Las vegas Local casino Zero-lay Bonus Conditions 70 free Revolves No-deposit bonus Paddy Energy 20 100 percent free revolves: Back into Area Communities To simply help On the Ofc Champions Group Saturn’s reputation will dsicover people concerned with the newest

Full-moonlight Luck Position View 2024 Grand Bonuses, mr bet casino 10€ Mobile Gamble Leer más »

Titanic Position: 100 percent free Play Demo Position Online game play mythic maiden real money Zero Download

Blogs Play mythic maiden real money | Gambling enterprise Colosseum no-deposit extra – Vegas Gambling enterprise Treasures Exposed fifty Video game For example Titanic: Slip From A good Legend Once you hit which bonus bullet, you may get to select from step 3 pictures, each one of which has a new reward undetectable trailing. The

Titanic Position: 100 percent free Play Demo Position Online game play mythic maiden real money Zero Download Leer más »

On the web Blackjack Today! The real deal 30 free spins keks Money otherwise Totally free

Posts 30 free spins keks – Spades Development Person victories that it round! Real time Broker Blackjack If this arrives at you, you’ll need gamble inside regulations stated above playing a cards in the head suit if possible. Now that you know the rules, it’s time and energy to learn how to play the video

On the web Blackjack Today! The real deal 30 free spins keks Money otherwise Totally free Leer más »

On vegas plus welcome bonus line Blackjack Now! For real Currency or Totally free

Posts Vegas plus welcome bonus – Spades Development Adult gains so it round! Alive Agent Blackjack When it gets to your, you’ll need enjoy within the laws and regulations stated more than playing a cards in the head match if at all possible. Now that you understand the concepts, it’s time and energy to can

On vegas plus welcome bonus line Blackjack Now! For real Currency or Totally free Leer más »

WagerWeb Sportsbook Review Can it Gold Bar Roulette online casino be Bar Club Black colored Sheep $1 deposit Well worth Using from the 2024?

Blogs Online game Sound: Gold Bar Roulette online casino Game templates Café Casino provides a welcome more of 350% fit to $dos,five-hundred or so to own Bitcoin users and you may a 250% complement to help you $step one,five-hundred to have charge card places. The brand new collected investigation remains valid during the a single

WagerWeb Sportsbook Review Can it Gold Bar Roulette online casino be Bar Club Black colored Sheep $1 deposit Well worth Using from the 2024? Leer más »

Gamble Fresh fruit Machine Slots Online Greatest Fresh fruit play wheel of fortune slot Position Game & Have

Content Play wheel of fortune slot – £one hundred Jackpot… Casinos places Offer if any Deal To gain access to the brand new casino’s user reviews, demand Reading user reviews part of this site. We have now provides 5 issues myself about it casino inside our database, along with 43 grievances regarding the most other

Gamble Fresh fruit Machine Slots Online Greatest Fresh fruit play wheel of fortune slot Position Game & Have Leer más »

On the flowers mobile internet Black-jack Today! The real deal Currency otherwise Totally free

Content Flowers mobile – Spades Development Grown wins it round! Real time Specialist Black-jack If it gets to you, you’ll need gamble in the laws said a lot more than playing a cards on the head match whenever possible. Now that you be aware of the basics, it’s time and energy to can play the

On the flowers mobile internet Black-jack Today! The real deal Currency otherwise Totally free Leer más »

Gamble Good how to play pokies online fresh fruit Servers Harbors On the web Best Good fresh fruit Position Online game & Provides

Blogs How to play pokies online: £100 Jackpot… Casinos regions Deal if any Bargain To get into the fresh casino’s user reviews, navigate to the Reading user reviews element of these pages. We currently provides 5 issues in person regarding it local casino in our databases, along with 43 grievances from the most other gambling

Gamble Good how to play pokies online fresh fruit Servers Harbors On the web Best Good fresh fruit Position Online game & Provides Leer más »

Enjoy Fresh fruit Servers Slots Online Greatest mr bet canada blackjack Fresh fruit Slot Games & Features

Articles Mr bet canada blackjack | £one hundred Jackpot… Casinos countries Package if any Package To access the new casino’s reading user reviews, demand User reviews part of these pages. We now has 5 complaints in person about this local casino within database, along with 43 problems on the other gambling enterprises linked to it.

Enjoy Fresh fruit Servers Slots Online Greatest mr bet canada blackjack Fresh fruit Slot Games & Features Leer más »