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

xtw18387544d

Mobilní bonusy bez vkladu Spojené státy 2024 Zcela zdarma a bonusové dolary

Blogy Technologie, která stojí za 100% bezplatnými hazardními hrami Jaký je nejlepší podnik pro bezplatné online hazardní hry? Rozvoj online kasin navíc již pozitivně ovlivnil hazardní hry, díky čemuž jsou mnohem dostupnější pro mnoho lidí. Profesionálové už nemusí plánovat dovolenou do místních kasin, aby si užili nejnovější zábavné hry. Pokud má počítač, tablet nebo jiné

Mobilní bonusy bez vkladu Spojené státy 2024 Zcela zdarma a bonusové dolary Leer más »

On the web Reputation Game the real deal Money as compared to. 100 percent free Slots

Less than, we will stress the best online slots games the real thing currency, including cent ports that allow you to wager quick for many who wind up setting-out having higher masters. Discover these money-friendly options for a vibrant gambling feel and learn how to make the most of the cent bets trying to find

On the web Reputation Game the real deal Money as compared to. 100 percent free Slots Leer más »

Key mathematics most of the member should know: Home border, RTP, and you may differences

Online slots games come once the digital names off slots your own ing towns and cities. Since that time, video game music artists got discovering creative graphics, brings, game play items, or any other features that are to make slots the absolute most used gambling enterprise video game online now. Old-designed online slots put reels

Key mathematics most of the member should know: Home border, RTP, and you may differences Leer más »

Zcela zdarma porty na internetu Užijte si více než 10 000 automatů zdarma

Články Opravdu funguje počítání karet u blackjacku zdarma? Regulátoři One Manage Online kasina Většina tvůrců nyní nabízí odpuštění pro hraní gate777 můj účet celý web online kasinových her, které budou stejné jako u vyplacených konkurentů. Představte si, že máte neomezený čas na vyzkoušení nových tipů nebo si jen užít sledování otáčení nových válců. Tento typ

Zcela zdarma porty na internetu Užijte si více než 10 000 automatů zdarma Leer más »

It’s as easy as with your savings account or if you ought to make use of your Pursue bank card

Type of Monetary Selection & Fee Abilities Diversity try tall because have no idea very well what new future financial demands looks such as, however the important thing having financial solutions for the betting corporation programs is actually that they have the newest put approach i need to explore now. You can also prefer even

It’s as easy as with your savings account or if you ought to make use of your Pursue bank card Leer más »

Antique slots, Megaways, jackpots and other platforms come regarding the exact same membership

Regardless if you are towards a desktop computer stargames bônus de cassino or having fun with a gambling establishment software, the fresh new membership techniques usually takes just a few minutes. Below are a few all of our hand-chose mobile position web sites and you will applications to see which of these generated record. Search

Antique slots, Megaways, jackpots and other platforms come regarding the exact same membership Leer más »

You really must be ??18?? otherwise older to consult with Quick Gambling enterprise

Desired bonuses, reloads, totally free revolves and you can cashback all really works the same for the cellular since on the desktop computer, allowing you to claim these also offers from anywhere. JackpotCity Casino rounds from list, giving a loyal cellular application having a robust collection from high-quality harbors and you may live game. The

You really must be ??18?? otherwise older to consult with Quick Gambling enterprise Leer más »

The definitive goal will be to create registration because the safe and simple to make use of that you can

The guy coordinates a small grouping of thirty+ playing experts who analysed more than 600 web based casinos and had written over 900 informative courses for different . The newest sincere worthy of evaluation ranging from no deposit and you can earliest put offers must take into consideration extra terms, monetary risk and you can

The definitive goal will be to create registration because the safe and simple to make use of that you can Leer más »

Second, discover your favorite paylines when you find yourself to tackle modern ports, and commence spinning the new reels

For the chance to win free revolves every single day otherwise allege it desired extra and other extra advertising during the Skybet Local casino utilising the software because a person, there is certainly next to no reason to perhaps not allege that it very provide. While you are an enthusiast of new game, desk online

Second, discover your favorite paylines when you find yourself to tackle modern ports, and commence spinning the new reels Leer más »