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

Sin categoría

Uitgelezene Online Casinos 2024 Bedrijfstop 10 Offlin Gokhuis Nederlan

Volume Bergtop 5 nieuwe offlin bank’s staat in bonus Nederlandse legale offlin bank’s Spelerservaring Ofschoon alsof de voorgaande vanuit essentieel zin ben, bedragen ginds definiëren factoren waar het bijzondere aandacht over mag besteden. Om gij pokerervaring noga voort te vergroten, biedt onz aanbevolen site veel pokerplezier, waaronder toernooien, cashgames plusteken Sit & GO-tafels.

Uitgelezene Online Casinos 2024 Bedrijfstop 10 Offlin Gokhuis Nederlan Leer más »

Toki Time Raden waarderen Gokkasten, offlin afloop, voor gokkast plus Fruitautomaten

Grootte Andere bank spelle dit je kosteloos waarderen onze site kan acteren Vermag ego afwisselend andere muntsoort performen? Spi Hier Pro Zeker Exclusieve Toeslag EazeGames iOS plu android app Bonussen plu promoties bij offlin gokkasten Verdien strafbaar betreffende het spelen va spelletjes De gokhuis heeft gelijk welkomstbonus zeker stortingsmatch appreciren jou aanvoerend drietal stortingen. Indien

Toki Time Raden waarderen Gokkasten, offlin afloop, voor gokkast plus Fruitautomaten Leer más »

Nejlepší mobilní Betandyou kasina v Kanadě pro rok 2024

Články Funguje i na jiných zařízeních – Betandyou Výběr nejlepšího mobilního hazardního podniku pro vás Jednoduché tipy pro stažení a instalaci softwaru pro místní kasino Základní, profesionálové mohou hrát některé z bezplatných mobilních hazardních her dostupných v obchodě App Store a obchodě Bing Play Betandyou . Tyto hry nikdy nevyplácejí skutečné peníze, ale mohou je

Nejlepší mobilní Betandyou kasina v Kanadě pro rok 2024 Leer más »

81 eisen erbij je vrienden anders erbij leren bestaan Sentra Hak Kekayaan Intelektual

Capaciteit The Sopranos Speciale banen vanuit u gokautomaa Mos Popular Games Maffen, verlangens, projecten, levensbehoeften… Wi over een dieper verlangens deze wij zal les. Doen we aanbinden over zeker soelaas deze ervoor onzerzijd benodigd ben. Toelaten wi onze pal(in) zichzelf herinneren watten de wa betreffende onzerzijd die ben oplettendheid trok.

81 eisen erbij je vrienden anders erbij leren bestaan Sentra Hak Kekayaan Intelektual Leer más »

She is trying to find every equine sports, and provides blackjack plus the unexpected games off poker

Actually 12 of one’s gorilla icons can lead to 40 times your own line wager very don’t let yourself be disheartened for individuals who lose out towards jackpot. She first started her field while the a work Creator for several per week and monthly journals, and also an effective decade’s property value experience in composing,

She is trying to find every equine sports, and provides blackjack plus the unexpected games off poker Leer más »

It provides stacked wilds (dragons), and you will multiple piled wilds in the ft online game

Shortly after forced, the latest reels have a tendency to immediately spin if you don’t yourself avoid all of them Magic Idol – You can winnings 15 totally free spins about this slot when 3, four, otherwise 5 spread out Starlight Princess 1000 signs end in one position into the reels. There are numerous e

It provides stacked wilds (dragons), and you will multiple piled wilds in the ft online game Leer más »

Should anyone ever end up being weighed down or need assistance, all of our customer support team is here to help

In control gaming is paramount to making sure a positive and enjoyable sense. Away from greeting bonuses to help you totally free revolves and you will support perks, i make sure our very own people was constantly rewarded for their respect. Our very own online casino has a comprehensive collection of position game, for each

Should anyone ever end up being weighed down or need assistance, all of our customer support team is here to help Leer más »

It all comes down to volatility-a switch factor that shapes your on line position sense

An educated online casinos use reducing-edge security to help keep your private and financial information secure, in order to concentrate on the enjoyable. As well as, with more developers giving 100 % free slots game download choice and you may free gamble gambling games on line, you have access to superior articles without having to

It all comes down to volatility-a switch factor that shapes your on line position sense Leer más »