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

Sin categoría

Poker online pozwala ogladac emocjami tej legendarnej obstawianie bez wychodzenia z domu

Automaty online na pieniadze zapewniaja natomiast niepowtarzalne znaczek z powodu wysokim wygranym i mozesz dynamicznej zabawie. Wybierz dokladnie przetestowane przedsiebiorstwa hazardowe na prawdziwa gotowka z naszej posty. Do kasyno internetowe na prawdziwy dochod rozwiazania wydawania kto lubi wybor rakiety tuz przed meczem Porozumienie budzetem oni jeden z wielu elementow wplywajacych w morale gra online na […]

Poker online pozwala ogladac emocjami tej legendarnej obstawianie bez wychodzenia z domu Leer más »

Greatest Internet casino Enjoyment – 40 Revolves for $step 1 – Happy Nugget

Loyalty apps, including MGM Advantages and BetRivers’ iRush Advantages, open bigger prizes the greater amount of your gamble. The best casino offers remain satisfying participants even after they have finalized upwards, that have commitment apps, cashback, regular totally free revolves, and you will every day honor game. Particular participants focus on prompt withdrawals, while others

Greatest Internet casino Enjoyment – 40 Revolves for $step 1 – Happy Nugget Leer más »

Best Online casino Enjoyment – 40 Spins to possess $step one – Fortunate Nugget

Commitment apps, such MGM Perks and you can BetRivers’ iRush Perks, open big honours the greater amount of your play. An informed gambling establishment advertisements continue fulfilling players long afterwards they have closed upwards, that have commitment apps, cashback, typical free spins, and daily prize video game. Certain participants prioritize prompt distributions, while others work

Best Online casino Enjoyment – 40 Spins to possess $step one – Fortunate Nugget Leer más »

Better Online casino Enjoyment – 40 Revolves to own $1 – Happy Nugget

Loyalty software, including MGM Perks and you can BetRivers’ iRush Rewards, unlock large honors the greater your enjoy. An informed casino promotions keep rewarding professionals even after they usually have finalized up, having commitment programs, cashback, typical totally free revolves, and every day honor online game. Certain professionals prioritize prompt distributions, and others work with

Better Online casino Enjoyment – 40 Revolves to own $1 – Happy Nugget Leer más »

Gambling enterprise also provides an effective 2 hundred% rakeback bonus all the way to ten ETH

In lieu of the regular matched put bonus, TG. Its subscribed character guarantees people feel safe when you are interesting on the platform. The new gambling establishment gift ideas a 2 hundred% matched up put extra as high as $25,000 and boasts 10 100 % free spins, at the mercy of good 35x wagering criteria.

Gambling enterprise also provides an effective 2 hundred% rakeback bonus all the way to ten ETH Leer más »

As among the main crypto gambling enterprises currently available, BC

When Twin Casino you’re crypto casino bonuses are fantastic an effective way to extend your own playing big date, particular has the benefit of have high wagering requirements or any other requirements. When it comes to Bitcoin gambling enterprises the fresh new paperwork called for are restricted but it’s nonetheless necessary for withdrawal. While Bitcoin

As among the main crypto gambling enterprises currently available, BC Leer más »

The fresh Gambling establishment implements maximum cashout restrictions out of 5x, making certain a good gaming sense for all users

The fresh gambling platform isn�t inferior compared to almost every other casinos on the internet Each one is separated according to the dining table, like the restriction cashout conditions you to separate the fresh new really an effective also provides regarding simply largepare most of the newest Highway Local casino bonus less than, on $eight,000

The fresh Gambling establishment implements maximum cashout restrictions out of 5x, making certain a good gaming sense for all users Leer más »

Tropicana Casino’s rewarding loyalty system after that raises the player’s excursion by the providing private rewards and incentives

To start with suggested because an effective $four Although not, it had been finalized for a while under Caesars’ upgrade of your own platform and you will try unsealed once again during the 2024. However,, the key is – you could potentially only legally play on the website when you are an effective Nj pro.

Tropicana Casino’s rewarding loyalty system after that raises the player’s excursion by the providing private rewards and incentives Leer más »