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

Sin categoría

Най-добрите портове за истински пари, които да изпробвате от през 2021 г

Блогове По-добри бонуси за напълно безплатни завъртания през 2020 г Най-добрата зала за хазартни заведения Harbours с истински пари Sunrise Ports 100 процента безплатен чип И това Стимули И вие ще Промоции Трябва ли да давам оценка Кога да играя Портове? Ще намерите всички видове символи, както Приложение Trinocasino за изтегляне на apk и скатери, […]

Най-добрите портове за истински пари, които да изпробвате от през 2021 г Leer más »

Exactly how we Cost Internet casino Real cash Sites

Gambling enterprises which can be energetic regarding Michigan is BetMGM, Barstool, BetRivers, Caesars Palace On-line casino, FanDuel Local casino, DraftKings, Four Winds, PlayGunLake Local casino, Superstars Casino, PointsBet Local casino, an such like. As a result of next Gov. Gretchen Whitmer, Michigan signed the bill you to definitely invited gambling on line is judge with

Exactly how we Cost Internet casino Real cash Sites Leer más »

And that Bonuses Started on Crypto Gambling enterprises regarding british?

Online blackjack is one of the most better-recognized internet casino dining table game. It’s widely available in conjunction with gambling enterprises we examined and you may you are going to ranked. There are numerous dining tables having varying deck brands, playing limitations, and you will offshoot guidance. Baccarat Baccarat is actually less-family edge video game

And that Bonuses Started on Crypto Gambling enterprises regarding british? Leer más »

Напълно безплатни портове без инсталиране

Статии Безплатни интернет игри Напълно безплатни портове. За да изпробвате Enjoyment: Ще бъде ли по-безопасно? Отговорни залагания Рецензия за информирани истински кеш казина казина Искате многобройни печалби преди животозастрашаващ късмет. Видео слотове и включващи живот графики, които ви помагат да се потопите в играта. Ще срещнете всички видове икони, заедно със скатери, допълнителни цикли и

Напълно безплатни портове без инсталиране Leer más »

Unbelievable playing library away from hundreds of online casino games!

I’m not exaggerating as i say that most crypto gambling enterprises has actually 5000+ games. While this does not apply to all of the crypto casinos, one particular I have seen was 8,000+ which included far more 1,100000 alive pro games alone. I’ve found that this can often be much better than old-fashioned online gambling

Unbelievable playing library away from hundreds of online casino games! Leer más »

Resources sign in inside casinos on the internet you to offer that have crypto money

Representative Help five.21 / 5 License Left four.62 / 5 Software Products 4.41 / 5 Efficiency four.thirty-six / 5 Deposit Methods four.46 / 5 Checked-out a day prior to Your own promo code ???????????? T&Cs implement, 18+ four.forty-five / 5.00 590% starting $10500 BetFury Write off Password Has the benefit of four.32 / 5 Affiliate

Resources sign in inside casinos on the internet you to offer that have crypto money Leer más »

Information register within the online casinos you to definitely offer that have crypto costs

Associate Help four.21 / 5 License Kept five.62 / 5 Software Things cuatro.41 / 5 Overall performance four.thirty six / 5 Put Measures four.46 / 5 Tested a day ahead of Their promo code ???????????? T&Cs use, 18+ five.forty-five / 5.00 590% undertaking $10500 BetFury Dismiss Password Now offers five.32 / 5 Representative Help four.38

Information register within the online casinos you to definitely offer that have crypto costs Leer más »

To close out, Metaspins are good crypto-centered local casino that forces the boundaries of blockchain playing featuring its creative method

The working platform also provides a nice acceptance most, day-after-day and you may a week techniques, a diverse video game range, rewards system, and you may intends to launch a keen NFT areas. Built on Web3 technology, it promises transparency, collateral, and you may cover into someone, additionally the customer support team can be obtained

To close out, Metaspins are good crypto-centered local casino that forces the boundaries of blockchain playing featuring its creative method Leer más »

Benefits associated with Playing inside On line A real income Casinos

Electronic monitors is a great substitute for typical papers monitors. In addition it needs an initial relationship off gambling establishment into the the new checking account. Also, they are much easier if you’d like an old financial approach but fast enough to financing your account. A few of the most common eCheck property is actually

Benefits associated with Playing inside On line A real income Casinos Leer más »