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

Sin categoría

First Deposit Extra gate777 bonus wagering Now offers to possess Canadian Professionals Upgraded within the December 2024

Articles Gate777 bonus wagering: Matches Added bonus Local casino Also offers Better Casino Incentives Conclusion Looked Games By-the-way, that it relates to all the mobile gambling enterprises in the Zaslots as well. Which have reduced bonuses it’s far better gamble reduced unstable video game and sustain your choice number for every spin, short. With increased […]

First Deposit Extra gate777 bonus wagering Now offers to possess Canadian Professionals Upgraded within the December 2024 Leer más »

Bonanza Games Gambling enterprise Comment casino William Hill $100 free spins Greeting Extra 100%% up to $a thousand

Articles Casino William Hill $100 free spins | Bonanza Slot Settings, Control, & Paytable Celebrate Christmas at the Winz.io with exclusive Festive Perks! Bonanza Comment: Could it be Legitimate & Simple tips to Offer On the Bonanza? But as is usually the circumstances having Bonanza slot, it’s not that simple. An additional horizontal reel above

Bonanza Games Gambling enterprise Comment casino William Hill $100 free spins Greeting Extra 100%% up to $a thousand Leer más »

8 Finest one top novomatic gaming slots hundred% Deposit Added bonus Sportsbook Also provides Signed up Books

Posts Top novomatic gaming slots: Must i withdraw a gambling establishment incentive? How to get a hundred no deposit totally free revolves inside the an on-line local casino? Stick to playing within the casinos having correct certification and a good character and you will certainly be safe to help you claim one incentive you to

8 Finest one top novomatic gaming slots hundred% Deposit Added bonus Sportsbook Also provides Signed up Books Leer más »

Enjoy 19,000+ Free online Gambling games for lucky leprechaun $1 deposit fun

The newest game’s quick but fascinating style is best for lovers of 100 percent free online casino games so you can down load. If you’d like the brand new nostalgia away from classic ports with modern game play aspects, provide the Dollars Volt free demo below. You will also have a choice of playing for

Enjoy 19,000+ Free online Gambling games for lucky leprechaun $1 deposit fun Leer más »

Finest Real money Us Gambling enterprises 2026 casino Spin and Win Payouts Verified

Blogs What issues can i believe when selecting an internet gambling establishment to possess slot betting? | casino Spin and Win Losings Limits Less than, we stress among the better quick payment gambling establishment options for All of us professionals. Debit notes and you can elizabeth-wallets will be the fastest actions, while you are courier

Finest Real money Us Gambling enterprises 2026 casino Spin and Win Payouts Verified Leer más »

Greatest A real income Us bitkingz mobile app Casinos 2026 Winnings Affirmed

Content What points should i believe when selecting an online casino for slot betting? – bitkingz mobile app Losings Constraints Less than, i stress some of the best punctual payment gambling enterprise choices for United states professionals. Debit notes and you may e-purses would be the quickest procedures, if you are courier inspections are the

Greatest A real income Us bitkingz mobile app Casinos 2026 Winnings Affirmed Leer más »

Better Free £5 No-deposit play book of ra real money Incentives to your British Casino and Bingo Internet sites

Articles Play book of ra real money: The best casinos on the internet to experience the real deal currency Far more free slot video game – zero obtain otherwise put needed! As the deposit and you can risk are complete, the new 125 totally free spins was paid instantaneously. Such revolves are legitimate for one

Better Free £5 No-deposit play book of ra real money Incentives to your British Casino and Bingo Internet sites Leer más »

Mr Vegas Casino Remark 100% Extra As much as £200 & eleven Bet Free online casino with no deposit bonuses Spins

Articles Online casino with no deposit bonuses | Player’s unable to discovered his earnings. ⃣ What is the Mr Play invited bonus to own British people? As the are founded inside 2017, mr.play Local casino went out of energy in order to energy. Today it brings the participants a huge selection of games away from

Mr Vegas Casino Remark 100% Extra As much as £200 & eleven Bet Free online casino with no deposit bonuses Spins Leer más »