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

Sin categoría

Slots Kingdom Gambling enterprise : To $8000 Acceptance Incentive and no Put Incentive casino Be the Dealer Requirements

Articles Ports Kingdom Casino Other Incentives – casino Be the Dealer Newest gambling enterprises Slots Empire Casino Opinion No-deposit free spins In addition to the higher betting requirements, be prepared to find a mistake message in lots of online game one won’t use the added bonus. And, payouts are prepared to help you the lowest […]

Slots Kingdom Gambling enterprise : To $8000 Acceptance Incentive and no Put Incentive casino Be the Dealer Requirements Leer más »

Free Spins No deposit 2024 ️ Victory Casino Holdem slots real cash Real money

Content Casino Holdem slots real cash: Register & Rating 2 hundred No deposit Totally free Revolves Pros & Drawbacks away from three hundred No-deposit Totally free Revolves A knowledgeable Strategy Whenever Playing with No deposit Put 100 percent free Spins Be sure to view the list of spin gambling enterprises away from date in order

Free Spins No deposit 2024 ️ Victory Casino Holdem slots real cash Real money Leer más »

Totally free Spins No-deposit 2024 casino Metro Play $100 free spins ️ Victory A real income

Posts Sign up & Rating 2 hundred No deposit Free Spins – casino Metro Play $100 free spins Pros & Disadvantages out of 300 No-deposit Totally free Spins An educated Method Whenever Having fun with No-deposit Deposit 100 percent free Revolves Be sure to take a look at all of our set of twist gambling

Totally free Spins No-deposit 2024 casino Metro Play $100 free spins ️ Victory A real income Leer más »

Currency Instruct 4 Slot A Bonuses good & Bad Type, Trial Enjoy & RTP

Articles Bonuses – Zeus vs Hades – Gods from Combat On the web Position Review Play for Fun (Routine Function) Oceanic Theme Take advantage From the Real cash Slots Gamble Therefore, avoid today, because there’s absolutely no way to boost your odds of profitable the good Blue jackpot. This is because the online game uses

Currency Instruct 4 Slot A Bonuses good & Bad Type, Trial Enjoy & RTP Leer más »

fifty Free Revolves No casino Betser no deposit bonus deposit Necessary 2024

Blogs Deposit Extra | casino Betser no deposit bonus Do you require 50 Free Spins No deposit on the Mobile phones? Were there Of several No-deposit Free Spins Southern Africa so you can Earn Real money? Trying to find your ideal 100 percent free spins extra Better Broker Game First, no deposit totally free spins

fifty Free Revolves No casino Betser no deposit bonus deposit Necessary 2024 Leer más »

Play Hot-shot Progressive Aztec Warrior Princess for real cash Position

Blogs Score 100% around €five hundred + 200 Totally free Spins: Aztec Warrior Princess for real cash Most popular Game From the Hot shot Local casino MOD APK Willing to enjoy Hot-shot Progressive for real? The brand new Hot shot team is one of the finest-known slot brands as much as, and you may Hot-shot Modern

Play Hot-shot Progressive Aztec Warrior Princess for real cash Position Leer más »

Enjoy Hot-shot Progressive casino Reef Club no deposit bonus code Slot

Content Casino Reef Club no deposit bonus code: Get 100% around €five-hundred + 200 Totally free Spins Top Game From the Hot shot Local casino MOD APK Willing to gamble Hot-shot Modern the real deal? The brand new Hot-shot team is among the better-known slot labels around, and you will Hot-shot Modern is a game that

Enjoy Hot-shot Progressive casino Reef Club no deposit bonus code Slot Leer más »

Bienfaits du Pioz Mf 15 500 Mg Usv Private Ltd pour le Culturisme

Le Pioz Mf 15 500 Mg Usv Private Ltd est un complément alimentaire incontournable pour les passionnés de culturisme souhaitant optimiser leurs performances. Connu pour ses propriétés adaptées à l’amélioration de l’endurance et du développement musculaire, ce produit est spécifiquement formulé pour répondre aux besoins des athlètes de haut niveau. Sa composition unique favorise non

Bienfaits du Pioz Mf 15 500 Mg Usv Private Ltd pour le Culturisme Leer más »

Nostradamus Prophecy Casino slot games Enjoy 100 percent free Casino Game On Butterfly Staxx Rtp no deposit the internet from the Ash Playing

Posts Real cash Casino games – Butterfly Staxx Rtp no deposit Greatest Spending Online slots for real Money in the united states 2024 No deposit Bonus Revolves GAME-Specific No-deposit Bonuses For each and every globe features a great multiplier, just in case they traces right up across the earn range, it will give it to

Nostradamus Prophecy Casino slot games Enjoy 100 percent free Casino Game On Butterfly Staxx Rtp no deposit the internet from the Ash Playing Leer más »

Nostradamus Prophecy Casino slot games Play Totally free Casino Online game On the web best Evolution casino games by Ash Gambling

Content A real income Online casino games: best Evolution casino games Greatest Using Online slots games the real deal Cash in the united states 2024 No deposit Incentive Revolves GAME-Specific No deposit Bonuses For each planet features a good multiplier, just in case they traces upwards over the earn range, it will give it to

Nostradamus Prophecy Casino slot games Play Totally free Casino Online game On the web best Evolution casino games by Ash Gambling Leer más »