/** * 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(); xtw18387544d – Página 10932 – Partidas de San Luis

xtw18387544d

Maximisez vos performances sportives avec Stéroïdes et dualité tennis-badminton

Optimisez votre pratique du tennis et du badminton avec des stéroïdes Dans le monde compétitif du tennis et du badminton, chaque détail compte pour atteindre l’excellence. Les stéroïdes sont des alliés stratégiques qui peuvent booster vos performances en améliorant votre force, votre endurance et votre récupération. L’intégration de ces substances dans votre entraînement vous permet […]

Maximisez vos performances sportives avec Stéroïdes et dualité tennis-badminton Leer más »

Les Bienfaits de Vardenafil pour les Athlètes

Vardenafil Musculation est un produit innovant conçu pour optimiser les performances physiques des athlètes et des passionnés de musculation. Grâce à ses propriétés uniques, il permet d’améliorer la circulation sanguine et de favoriser une endurance accrue lors des entraînements intensifs. Que vous soyez un bodybuilder expérimenté ou un sportif amateur, ce complément peut devenir un

Les Bienfaits de Vardenafil pour les Athlètes Leer más »

Lord of the Sea Demonstration Slots by the Greentube Comment & Totally free Gamble

Posts Free Game having Special Broadening Icon Added bonus Have and you can Unique Aspects Incentives And ways to Allege Them Harbors Investment Gambling establishment Opinion Incentive Go out: Totally free Game because the an additional function Known as a hand in a credit card applicatoin provide, no deposit bonuses is basically most useful as

Lord of the Sea Demonstration Slots by the Greentube Comment & Totally free Gamble Leer más »

Kamagra Oral Jelly pour une Performance Sportive Optimisée

Le Kamagra Oral Jelly est un produit innovant conçu pour aider les athlètes et les amateurs de musculation à atteindre de nouveaux sommets de performance. Cette gelée buvable offre une solution pratique et efficace pour ceux qui cherchent à améliorer leur endurance et leur vitalité, tout en favorisant une meilleure circulation sanguine. Grâce à sa

Kamagra Oral Jelly pour une Performance Sportive Optimisée Leer más »

Eye

If you think you’re playing excessive and you will would want assist with stay in handle, a gambling establishment’s customer support representatives will be very enthusiastic that will help you nonetheless they can also be. Of numerous online gambling internet sites lay constraints for the restriction profits and detachment quantity to own participants. Most of

Eye Leer más »

Loto Club KZ onlayn, rəsmi veb saytına daxil olun

Rusiyada yalnız dövlət lotereyaları keçirilir və Rusiya Lotto lotereyasının təşkilatçısı müstəqil nəzarət sistemi qurmuş Rusiya İdman Nazirliyidir. Rusiyanın Federal Vergi fast loto 777 login Xidməti də lotereyaya, o cümlədən bilet satışına nəzarət edir. Rusiya Lotto xeyriyyə tiraj seriyası, digər dövlət lotereya tirajları kimi, bərabər ehtimal və təsadüfilik kimi fundamental prinsiplərə əsaslanır.

Loto Club KZ onlayn, rəsmi veb saytına daxil olun Leer más »

E-purses are commonly used and you will leading commission procedures from the on the internet playing industry

Invest ?10 to obtain ?forty Bingo Incentive (4x betting) + forty Free Revolves (worth ?0 The program comes with research functionalities and you can filters, enabling members so you can rapidly to locate particular online game otherwise explore new ones. With regards to transferring loans from the a ?3 minimum put gambling enterprise in the

E-purses are commonly used and you will leading commission procedures from the on the internet playing industry Leer más »

We think Heavens Vegas currently has the better incentive for new customers

We recommend seeking this game within Barz Gambling enterprise, where you’ll get a great 100% fits added bonus around ?300 along Speedy Casino with 50 bonus spins on the Starburst. You will find a lot of them to select from, they offer a reasonable come back price and they are right for easily consuming owing

We think Heavens Vegas currently has the better incentive for new customers Leer más »

And, they usually be eligible for particular content, which may differ depending on the gambling enterprise you select

Due to this fact it’s always required to utilize the bonus sooner instead of afterwards because you don’t want to chance dropping it. Up to 100 secured Totally free Revolves (FS) (20p) following first put granted during the sets more than ten months to fool around with to the Complete Metal Jackpot. In terms of

And, they usually be eligible for particular content, which may differ depending on the gambling enterprise you select Leer más »

Lucky Superstar Casino Log in and Subscription inside the Cote-dIvoire

Professionals can enjoy vintage table games such as black-jack, roulette, and you can web based poker. A number of the readily available tables provide classic regulations, while some establish imaginative has such multipliers and you will front side bets. Chat have ensure it is communication between people and traders, providing much more interaction.

Lucky Superstar Casino Log in and Subscription inside the Cote-dIvoire Leer más »