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

Sin categoría

Czesto, osiagnac motywacja powitalny, wystarczajaco dolaczyc pierwszy raz na danym kasynie internet

Dobre systemy bukmacherskie oferuja tok studiow konkurencyjne wzgledem liderow rynku, natychmiastowe rozliczenia wygranych i mozesz do negocjacji limity stawek Wiele chopine chca natomiast wpisania kodu promocyjnego. Dobierajac sieci do naszego rankingu kasyn internet, podeszlismy na tematu w sumie i mozesz przeanalizowalismy wiele aspektow. Wybierajac kasyno online, powinienes wziac pod uwage technologia informacyjna, na czym niezwykle […]

Czesto, osiagnac motywacja powitalny, wystarczajaco dolaczyc pierwszy raz na danym kasynie internet Leer más »

Przez dni osiemnascie miesiecy my wszyscy przeprowadzil komp preferencji polskich graczy

Prowadzimy kochanie kampanie cashback do jeden z stalych graczy Wydajnosc z szukaj umozliwiaja nam ktorzy maja pelnym przekonaniem zaobserwowac, i to przedsiebiorstwa hazardowe ciesza sie najwiekszym zaufaniem polskiej organizacje hazardowej i dokladnie dlaczego. W oparciu o jeden z naszych szacunkow opartych na danych z programow afiliacyjnych oraz raportach branzowych, wiecej niz 2,3 miliona Polakow codziennie

Przez dni osiemnascie miesiecy my wszyscy przeprowadzil komp preferencji polskich graczy Leer más »

Zanim przejdziemy z artykulu na placowek, powinienes madrosc podstaw prawnych

Zdania pytajacego technologia informacyjna i albo hazardu stacjonarnego, od internetowy. W tym przewodniku dowiedz sie konto jeden z najbardziej bonusow bez depozytu na Polsce, negocjujemy warunki ich uzyj oraz podpowiadamy, co zapewnia ci, i to ny kasyno online, stad rowniez oferuje dodatkowy bonus bez depozytu, zrobic ostatecznie zwyciezyc i rozwidlic wygrana zdobyta niedawno z powodu

Zanim przejdziemy z artykulu na placowek, powinienes madrosc podstaw prawnych Leer más »

The initial 777 casino slot games was basically really effortless inside their construction along with only one pay range

As for the web based casinos, players had use of all of them on the 1990s to your development of the Internet sites and family hosts. The development of app typically made it simple for brand new makers to add far more reels, fascinating icons, and entrar stargames entrar pay lines towards the online game.

The initial 777 casino slot games was basically really effortless inside their construction along with only one pay range Leer más »

These types of games pool wagers regarding people all over the world, performing enormous jackpot prizes that struck seven data

MetaWin Local casino is an in, offering a different blend of conventional online casino games and you may reducing-border blockchain technology Such incentives allow you to try an excellent Bitcoin position gambling establishment as opposed to moving funds into your wallet. These bonuses are a great deal for new members, providing you with additional money

These types of games pool wagers regarding people all over the world, performing enormous jackpot prizes that struck seven data Leer más »

As well, of many members take advantage of the adventure from local casino harbors, which offer a modern spin for the classic betting experience

We have appeared all the facts on every render below, in order to comprehend the wagering, the minimum deposit and everything you actually get before signing right up Preferred vintage position video game tend to be titles such as for instance �Triple Diamond� and you can �Double Diamond,� which have stood the exam of time

As well, of many members take advantage of the adventure from local casino harbors, which offer a modern spin for the classic betting experience Leer más »

You might also feel fortunate enough to help you house a new ability when you are to tackle

Out of an effective way to winnings to help you winnings to games image. But not, it’s still best if you familiarize yourself with the online game one which just purchase any cash involved. Viking Runecraft 100 is actually a remarkable slot online game set in an enthusiastic ancient globe Speak about the position publication,

You might also feel fortunate enough to help you house a new ability when you are to tackle Leer más »

An excellent 1x betting specifications is more realistic than just 15x, 20x, or 25x playthrough for the added bonus earnings

To own huge deposit-situated totally free revolves bundles, high-volatility slots helps make a whole lot more experience whenever you are more comfortable with the possibility of profitable little otherwise absolutely nothing. If you possibly could select numerous eligible ports, look for video game having a powerful RTP, essentially to 96% or higher. Rather, payouts could

An excellent 1x betting specifications is more realistic than just 15x, 20x, or 25x playthrough for the added bonus earnings Leer más »

It down playthrough endurance can make extra money more obtainable than simply within of a lot contending platforms

Your website has actually tens of thousands of titles away from created online game organization and you may runs on a clean, receptive screen enhanced both for desktop and mobile browsers. The working platform helps cryptocurrency costs, offers a good variety of casino games, and you will integrates modern log in alternatives for comfort. Users

It down playthrough endurance can make extra money more obtainable than simply within of a lot contending platforms Leer más »

Only a few wagering conditions try equivalent, also in the exact same regulatory cap

It device can help you remark your current playing spend, lay restrictions, and you will enjoy sensibly, so you’re able to take pleasure in local casino also provides as opposed to exceeding your allowance Along with, look at the minimal put expected to bring about the offer. The proper offer hinges on the manner in

Only a few wagering conditions try equivalent, also in the exact same regulatory cap Leer más »