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

Sin categoría

Gamble Totally free Practical Slots within the Trial & See Best Local casino Web casino Gorilla login sites

Posts Casino Gorilla login: Mobile-Amicable Desk Games Simple tips to Enjoy Online slots games one to Shell out A real income Better local casino software for real money in 2024 Just what can i look for in an internet slot gambling enterprise? Transitioning in order to A real income Game But not, mobile playing in […]

Gamble Totally free Practical Slots within the Trial & See Best Local casino Web casino Gorilla login sites Leer más »

The platform already brings more ten modern jackpots and you may ten Megaways video game

Bet365 � Highest quality Condition Collection MuchBetter casinos. With prompt purchases, premium mobile qualities, state-of-the-ways defense, incentives to possess MuchBetter local casino dumps, and many other games, that you’ll appreciate at simpler big date, they sure carry out. Find out more. Read on and determine how-to access to an informed brands which have web based

The platform already brings more ten modern jackpots and you may ten Megaways video game Leer más »

The working platform currently provides more 10 modern jackpots and fifteen Megaways video game

Bet365 � Highest quality Reputation Collection MuchBetter casinos. That have fast orders, superior mobile features, state-of-the-suggests coverage, incentives to have MuchBetter gambling enterprise places, and many various other game, which you yourself can see on easier date, it yes would. Find out more. Continue reading and see ideas on how to use of an educated

The working platform currently provides more 10 modern jackpots and fifteen Megaways video game Leer más »

The platform currently provides more than 10 modern jackpots and you can ten Megaways online game

Bet365 � Best quality Status Collection MuchBetter gambling enterprises. With fast orders, premium cellular attributes, state-of-the-suggests defense, bonuses having MuchBetter casino places, and several various other online game, which you’ll see in the convenient go out, it sure perform. Find out more. Read on and see ideas on how to usage of the best brands

The platform currently provides more than 10 modern jackpots and you can ten Megaways online game Leer más »

The working platform already provides over 10 progressive jackpots and you will fifteen Megaways game

Bet365 � Best value Status Inventory MuchBetter gambling enterprises. With quick commands, superior cellular characteristics, state-of-the-ways shelter, incentives to own MuchBetter gambling establishment deposits, and lots of additional games, which you can take pleasure in on convenient go out, it sure perform. Find out more. Continue reading and view simple tips to the means to

The working platform already provides over 10 progressive jackpots and you will fifteen Megaways game Leer más »

Gamble your favorite slots or table online game and you can get safe 5x Top Funds

To this day, the organization is the best recognized for the platform shufflers, which are now used in black colored-jack, baccarat, casino poker, and many more games Earn more after you Sign-up! Check in today and you may earn $10 into the Extra 100 % totally free Enjoy. Unity Top Fits. The brand new and

Gamble your favorite slots or table online game and you can get safe 5x Top Funds Leer más »

Play your chosen ports or desk game and you also could possibly get safer 5x Peak Money

Even today, the business is best known for the platform shufflers, which are now useful for black colored-jack, baccarat, casino poker, and so many more online game Earn more when you Sign-up! Check in today and you can secure $ten in Added bonus a hundred % free Gamble. Unity Height Matches. The latest and you

Play your chosen ports or desk game and you also could possibly get safer 5x Peak Money Leer más »

Gamble your chosen slots or table games and also you could possibly get safer 5x Height Loans

To this day, the organization is the best noted for the platform shufflers, which are now utilized for black-jack, baccarat, web based poker, and many other things video game Earn much more after you Sign-up! Register today and you may secure $ten for the Incentive a hundred % 100 percent free Play. Unity Level Fits.

Gamble your chosen slots or table games and also you could possibly get safer 5x Height Loans Leer más »

Discuss free affairs out-of slot video game to learn brand new game play process exposure-one hundred % totally free

Zero, real money slots aren’t rigged Step two: Sign in. Settings your bank account by providing your own activities for example identity, email address, or other documents, according to the verification procedure of each local casino. Action a dozen: Was a speech. Step four: Put money. Funding your finances because of respected fee channels. Look

Discuss free affairs out-of slot video game to learn brand new game play process exposure-one hundred % totally free Leer más »

The local casino also offers IGT’s iconic MegaJackpots video game such as for example as Cleopatra and you can Great Deity, and therefore send incredible remembers more than $five hundred,100

DraftKings � Perfect for Beginners. DraftKings Luckia casino online creates an accessible platform having newbies having an intensive online game range, attractive campaign also provides, and flexible economic options. The newest local casino possess a robust type of more than 700 reputation video game, attracting out-of a premier-tier combination of extreme and you may separate

The local casino also offers IGT’s iconic MegaJackpots video game such as for example as Cleopatra and you can Great Deity, and therefore send incredible remembers more than $five hundred,100 Leer más »