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

Sin categoría

Mul?i jucatori vad reclame pe re?elele sociale cu diverse oferte la cazinouri spa?iu virtual

Shining Crown este din actual in prim plan cand vine vorba de rotiri gratuite fara alimentare cont La noi, de exemplu, e?ti capabil gasi mai multe oferte exclusive pe care nu le e?ti capabil intalni altundeva. De exemplu, daca ai ob?ine un sold VBET autentificare cazinou beneficiu special ?i ai face extragere fonduri inainte de […]

Mul?i jucatori vad reclame pe re?elele sociale cu diverse oferte la cazinouri spa?iu virtual Leer más »

Po?i ob?ine 50 de invartiri gratuite oarecum cu adaugarea detaliilor cardului tau in website-ul operatorului

Rotirile gratuite (free spins) reprezinta un tip de cadou jucator fara plata oferit de cazinourile re?ea Regula principala de a putea amagi in un casino https://royalcasinoonline.ro/bonus/ online liber interj figura sa promo?ie cazino ci achitare este conj de matricula macar aiba varsta legala de 18 ani. Uganda Shilling este moneda utilizata in Uganda, magic casino

Po?i ob?ine 50 de invartiri gratuite oarecum cu adaugarea detaliilor cardului tau in website-ul operatorului Leer más »

Cazinoul i?i crediteaza un numar clar de free spins pe jocuri eligibile

Foloseste informatii personale corecte si totodata vezi daca trebuie sa introduci un cod promo?ie cazino pentru activarea ofertei de bun venit. Programele de loialitate desfasurate in tot mai multe cazinouri de pe online reprezinta o alta oportunitate pentru jucatorii activi sa primeasca bonusuri cu jocuri rotative gratuite fara depunere. Nu uita deci sa te conectezi

Cazinoul i?i crediteaza un numar clar de free spins pe jocuri eligibile Leer más »

Po?i compara operatorii consultand recenziile noastre sau vizitand pe viu aplica?ie-urile lor

In concluzie, Betano este un cazinou web complet, care cuprinde o selec?ie impresionanta de jocuri, un cazinou pe viu favorabil Aplicație mobilă RoyalCasino dezvoltat ?i o website prietenoasa cu utilizatorii. Fie ca e?ti in cautarea unei selec?ii variate de jocuri, a unor strategii de adaugare fonduri flexibile sau a unei experien?e de cazinou real time,

Po?i compara operatorii consultand recenziile noastre sau vizitand pe viu aplica?ie-urile lor Leer más »

Platforma pastreaza standardele de siguran?a ?i include o selec?ie larga de jocuri pentru jucatorii din Romania

Platforma dispune rota?ii gratuite recurente ?i o gama variata de jocuri, inclusiv sloturi ?i cazinou transmisie live Toate acesta cazinouri web pregatite aici au ob?inut licen?a ONJN ?i func?ioneaza in conformitate cu legea in vigoare referitoare la jocurile casino web, deci ai voie juca conform legii la oricare dintre aceste cazinouri. Daca bonusul de bun

Platforma pastreaza standardele de siguran?a ?i include o selec?ie larga de jocuri pentru jucatorii din Romania Leer más »

Particular online game, like progressive jackpots was well known getting providing a big finest award

Eatery Gambling enterprise, while doing so, impresses featuring its colossal collection of over 6,000 games, making sure possibly the very discreet slot enthusiast are able to find things to love. Still, to tackle a real income harbors gets the added benefit of various bonuses and you may advertisements, which can offer additional value and you

Particular online game, like progressive jackpots was well known getting providing a big finest award Leer más »

Essentially, volatility methods how many times and how far a casino slot games will pay out

At MrQ, we’ve dependent an internet site that gives a real income game play having nothing of nonsense A knowledgeable 100 % free harbors online game are known for its simple game play, ensuring a seamless and you can fun experience any time you twist. Plus, with developers offering totally free harbors online game down

Essentially, volatility methods how many times and how far a casino slot games will pay out Leer más »

These are generally cashback product sales, level-upwards perks, special offers, weekly put suits, and weekend incentives

Most of the choices are safe and enables you to build small deals You choose the offer you want from the cashier at moment your deposit and is credited following that, generally there is absolutely nothing to enter. Typical people rating a good Wednesday reload to An excellent$450, a weekend match in order to An

These are generally cashback product sales, level-upwards perks, special offers, weekly put suits, and weekend incentives Leer más »

Even though the gambling enterprise is actually popular, their place is fairly brief yet , no problem finding

The newest bonuses recently – sign in to track your own personal Tap in order to log in or sign in For example, at Hype Bingo, the brand new players pay only 5? the original two times it visit. Entry is strictly getting website visitors old 18 as well as over Activities admirers may also

Even though the gambling enterprise is actually popular, their place is fairly brief yet , no problem finding Leer más »

Really redemptions from the finest sweepstakes casinos come in a single to eight weeks

Honor redemptions constantly take more time, which have waiting times of to five business days I found it easy to get into every offers and also offers to the desktop and you can cellular-optimized website, as well as the webpages enjoys obvious menus and a very easy style. Of ongoing massive advertisements, so you can

Really redemptions from the finest sweepstakes casinos come in a single to eight weeks Leer más »