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

Sin categoría

KISS: Shout It Noisy Position Remark Gamble lion festival slot jackpot Free Trial 2024

Content 100 percent free Kiss Slot machine – lion festival slot jackpot Totally free Spins Feature Santa’s Kiss Position Games Comment Victory with Three Insane Symbols Play on a hundred dazzling profitable outlines with lots of free spins and you can enjoyable extra games. Earn some authoritative Kiss merchandise otherwise show passes and VIP seats […]

KISS: Shout It Noisy Position Remark Gamble lion festival slot jackpot Free Trial 2024 Leer más »

10 Best Real cash Online slots games Internet ice age slot machine real money sites from 2024

Articles Ice age slot machine real money | ComeOn Incentive Terms Harbors Glossary: Understanding the Terminology Strengths Video slot Signs Real cash Ports compared to. 100 percent free Slots And this Denominations Are the Loosest Slots in the Missouri? The guy transforms the newest time clock straight back, therefore the gambler gets 10 a lot

10 Best Real cash Online slots games Internet ice age slot machine real money sites from 2024 Leer más »

10 Best Real casino caxino 25 free spins cash Online slots Sites out of 2024

Posts Casino caxino 25 free spins: ComeOn Incentive Conditions Harbors Glossary: Knowing the Lingo Strengths Slot machine game Symbols Real cash Ports versus. 100 percent free Slots And this Denominations Would be the Loosest Harbors inside the Missouri? The guy turns the fresh time clock right back, and so the casino player will get ten

10 Best Real casino caxino 25 free spins cash Online slots Sites out of 2024 Leer más »

Courage Local casino Review Awaken to help you C$2 hundred Bonus + one hundred 300 bonus deposit Totally free Spins

Blogs 300 bonus deposit | Exactly what do Real Players Consider Courage Gambling enterprise? 100 percent free Revolves No-deposit to the ID Confirmation Bravery Casino Game Possibilities Just what Games Team Does Guts Local casino Features? These may tend to be betting standards, limit cashout limits, game constraints, and expiry times. Understanding such words is

Courage Local casino Review Awaken to help you C$2 hundred Bonus + one hundred 300 bonus deposit Totally free Spins Leer más »

a hundred Totally free Spins No-deposit Incentive 2024: Da Vinci bonus Wager Real money

Blogs Da Vinci bonus – Local casino Book How we Price Casinos Without Put Totally free Spins Casombie Gambling establishment: 100 Totally free Revolves + C$750 Added bonus Render Just in case you create the first put within this couple of hours out of subscription, KayaMoola rewards your that have an extra 50 totally free

a hundred Totally free Spins No-deposit Incentive 2024: Da Vinci bonus Wager Real money Leer más »

Buffalo Slot machine game: Totally free Slot Video game to play from karamba casino no deposit code the Aristocrat On the internet Trial

Content Karamba casino no deposit code | Dawn Reels Perfect for free desk video game — Switch Studios Themes Aplenty: Have fun with the Better 100 percent free Pokies Online No Download Popular titles featuring streaming reels tend to be Gonzo’s Journey because of the NetEnt, Bonanza because of the Big time Betting, and you

Buffalo Slot machine game: Totally free Slot Video game to play from karamba casino no deposit code the Aristocrat On the internet Trial Leer más »

White Racers Video wizard of oz no deposit Slot Remark The new Game Business

Numerous on the web slot builders has popped on the move race train recently. RTG’s Fantasy Work with slot machine is actually packed with fast automobiles and you may higher octane. Built on a great 5-reel online game place-right up you will find 25 paylines but it’s worth persevering that have. Whenever striking successive wins

White Racers Video wizard of oz no deposit Slot Remark The new Game Business Leer más »

Online Slots: Play Gambling enterprise Slot jack and the beanstalk game machines For fun

Posts Jack and the beanstalk game | Track No deposit Free Spins Bonuses Finest No deposit Bonus Casinos Australia Is the incentive number nice adequate to secure the player’s desire and you may adventure? I amount the number of spins, weigh up the fresh casino’s no-deposit extra also offers and you may compare him or

Online Slots: Play Gambling enterprise Slot jack and the beanstalk game machines For fun Leer más »

100 percent free Online casino games One beasts of fire slot online casino to Pay Real cash No Deposit

Articles Beasts of fire slot online casino: Real money Online casino games with high Payouts And that online slots spend the most currency? You to definitely downside to be aware of would be the fact never assume all harbors lead to the rollover requirements, thus i highly recommend checking and therefore video game count before

100 percent free Online casino games One beasts of fire slot online casino to Pay Real cash No Deposit Leer más »

Split Da Lender Once again Slot best casino new slots online A good & Bad Type, Demonstration Gamble & RTP

Content The new Supplier’s Honors: Cap Out over Game Global | best casino new slots online 3: Find Your preferred Slots Break da Lender Restriction Winnings Video game Figure. Split Da Bank Once again 4Tune Reels by the Game Around the world The original spins produced average victories between dos to 5 loans, function a

Split Da Lender Once again Slot best casino new slots online A good & Bad Type, Demonstration Gamble & RTP Leer más »