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

Sin categoría

Bovada is sold with 150+ condition game, for instance the ideal-ranked Gold rush Gus, readily available playing with cryptocurrencies

Over 700 harbors Particular associate incentives and tournaments Bovada � Greatest Crypto Slots You can put into pursuing the cryptos: Bitcoin (BTC), Bitcoin SV (BSV), Bitcoin Bucks (BCH), Litecoin (LTC), Ethereum (ETH), and you will USD Tether (USDT). While you are fresh to crypto, the brand new gambling web site has actually a useful area […]

Bovada is sold with 150+ condition game, for instance the ideal-ranked Gold rush Gus, readily available playing with cryptocurrencies Leer más »

If you are searching to have an excellent sorts of ports having high commission prospective, 888 Gambling enterprise has plenty to give

Finest Position Games to the 888 Casino Noted for their selection of enjoyable online game with unique themes and you can imaginative will bring, 888 Local casino attracts one another the anyone and educated slot supporters. In this Aplicativos Bet99 post, we’ll fret the most effective slot video game so you’re able to the 888

If you are searching to have an excellent sorts of ports having high commission prospective, 888 Gambling enterprise has plenty to give Leer más »

If you are searching to own a good kind of ports with large payment potential, 888 Local casino has plenty to give

Top Position Games towards the 888 Gambling enterprise Noted for their selection of exciting game with exclusive layouts and you will innovative will bring, 888 Gambling establishment draws each other the fresh anyone and you can experienced slot supporters. In this post, we will stress a position games to help you your own 888 Gambling

If you are searching to own a good kind of ports with large payment potential, 888 Local casino has plenty to give Leer más »

If you’re looking to possess a quality style of harbors that have higher fee potential, 888 Gambling enterprise has a lot to offer

Ideal Slot Video game toward 888 Casino Recognized for its set of enjoyable video game with exclusive layouts and you may imaginative brings, 888 Local casino appeals to each other new somebody and experienced position followers. In this post, we shall worry ideal position video game so you’re able to your 888 Casino, and additionally

If you’re looking to possess a quality style of harbors that have higher fee potential, 888 Gambling enterprise has a lot to offer Leer más »

If you’re looking to own an excellent sort of ports which have highest percentage possible, 888 Gambling establishment has a lot to offer

Most useful Slot Online game towards 888 Gambling enterprise Noted for their set of fun game with unique templates and innovative brings, 888 Casino attracts each other this new people and knowledgeable position supporters. In this post, we’ll stress the most effective position video game in order to your 888 Gambling enterprise, along with those

If you’re looking to own an excellent sort of ports which have highest percentage possible, 888 Gambling establishment has a lot to offer Leer más »

Bovada boasts 150+ condition game, including the ideal-ranked Gold rush Gus, available using cryptocurrencies

More 700 ports Version of member incentives and you may competitions Bovada � Most useful Crypto Harbors You can deposit on adopting the cryptos: Bitcoin (BTC), Bitcoin SV (BSV), Bitcoin Cash (BCH), Litecoin (LTC), Ethereum (ETH), and USD Tether (USDT). Whenever you are a new comer to crypto, the new gambling web site has a

Bovada boasts 150+ condition game, including the ideal-ranked Gold rush Gus, available using cryptocurrencies Leer más »

The phoenix fire power reels casino new No deposit Local casino Added bonus Codes December 2024

Blogs Welche Bonusbedingungen sind a keen den 15 Euro gratis Incentive geknüpft?: phoenix fire power reels casino What are the better online game to make use of my Red-dog Local casino bonuses? Better step three Casinos on the internet with 100 percent free Spins Now offers The new betting needs is one of the most

The phoenix fire power reels casino new No deposit Local casino Added bonus Codes December 2024 Leer más »

If you are looking having an excellent sorts of ports with higher fee potential, 888 Gambling establishment has a lot supply

Finest Slot Games into the 888 Gambling enterprise Noted for their selection of fun games with exclusive themes and you can imaginative provides, 888 Casino brings one another the newest individuals and you can experienced slot followers. In this article, we’ll stress the number one slot games to help you your own 888 Gambling establishment,

If you are looking having an excellent sorts of ports with higher fee potential, 888 Gambling establishment has a lot supply Leer más »

The video game possess broadening wilds and respins, and realistic volatility and you will an enthusiastic RTP away-out of %

Finest Slots to experience toward Web based casinos While you are curious do you know the most readily useful slots to try out is actually, we’ve games in the ten very pupil-amicable and more than-recognized choices for their below. step one. Starburst Coming in basic to own ahti games casino bonuses what’s the best ports

The video game possess broadening wilds and respins, and realistic volatility and you will an enthusiastic RTP away-out of % Leer más »

RTP means Go back to Member that will be a critical title to understand whenever choosing reputation online game

Greatest Position Game for the Ladbrokes: High RTP Ladbrokes Harbors Ladbrokes has the benefit of an excellent group of slots that are not just enjoyable to try out are available having higher Return so you’re able to Player (RTP) pricing. In this article, we’ll direct you using some of the best condition game provided by

RTP means Go back to Member that will be a critical title to understand whenever choosing reputation online game Leer más »