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

Sin categoría

Follow these types of procedures, and you’ll be seeing your hard earned money awards right away

Once you’ve at least fifty Sweeps Coins eligible for redemption, you could consult a primary transfer to your bank account because of the bringing the requisite information that is personal and you will verifying your own title. Although many people don�t make purchases having LuckyLand Ports and simply have fun with the website’s online game […]

Follow these types of procedures, and you’ll be seeing your hard earned money awards right away Leer más »

Gamble 19,610+ Online Slots – No Install otherwise Subscription!

As the explained, progressive jackpots grow until people places the newest winning combination. While they normally have brief philosophy (2x, 3x, or 5x), they could go up so you can 100x inside special incentive series. Generally triggered by the scatters, free revolves cause more rounds without the need for your coins (or real cash). Such

Gamble 19,610+ Online Slots – No Install otherwise Subscription! Leer más »

نادي كاباريه للمقامرة، ملاحظة 2024: سجّل حتى 600 دولار إضافية

مقالات متطلبات مكافأة شركة مونرو للمقامرة اشترك في العروض الترويجية بدء: التسبب في حسابك لكن للتواصل معهم عبر الدردشة، ستحتاج إلى الاشتراك في الخدمة الأساسية. جميع معلوماتك محفوظة بأمان تام، حيث أن خيارات الدفع في كاباريه باب مشفرة بتقنية SSL. كاباريه باب مسجل لدى هيئة مالطا للمراهنات، وستحصل على أحدث رسوم مراهنات من Kahnawake. جميع

نادي كاباريه للمقامرة، ملاحظة 2024: سجّل حتى 600 دولار إضافية Leer más »

It will be the very underused advantage online slots provides more home-depending hosts

A great deal more specifically, I am able to show how to choose ideal game, things to pay attention to, and what sort of online game to stop. Which outlined blog post provides you with some elementary resources and you may teach you the way to boost your odds of profitable from the slots. In

It will be the very underused advantage online slots provides more home-depending hosts Leer más »

There are many reasons as to the reasons a knowledgeable casinos on the internet mate which have Hacksaw Playing

Determined by the sky and you will thunder-god for the Greek mythology, Ze Zeus is amongst the better Hacksaw Gaming slots readily available for a real income betting. The online game includes features such as Unbelievable Get rid of, Moody Pet multipliers, and you will numerous extra cycles, enhancing the vibrant gameplay. We keep an

There are many reasons as to the reasons a knowledgeable casinos on the internet mate which have Hacksaw Playing Leer más »

If you will find genuine-money slots, are there in addition to free harbors?

A position winnings try paid for the gambling establishment membership before it becomes a complete detachment Thus, totally free ports are good for evaluation the online game observe whether or not it�s a great fit or otherwise not. Understanding how they works, you will have nothing wrong examining the latest titles and having enjoyable since

If you will find genuine-money slots, are there in addition to free harbors? Leer más »

Created from durable aluminum, our blog post-install mailboxes are created to become weathertight and reliable

It is the perfect mix of function and convenience, particularly in large-visitors neighborhoods Whether you’re avoiding severe climate, improving mail defense, or simply enhancing your residence’s suppress attention, a mail position guarantees their emails appear safely into the, and no vacation for the suppress expected. A residential send position is the best combination of safety,

Created from durable aluminum, our blog post-install mailboxes are created to become weathertight and reliable Leer más »

We picked all of them predicated on the newest deep dives and you may give-for the enjoy lessons

It’s necessary to research a slot game’s RTP just before to experience to help you create advised options Progressives create headline attract while they size based on community size Obviously, you can always pick an application creator and stick to their game, you can also enjoy online game with the exact same themes. When you’re

We picked all of them predicated on the newest deep dives and you may give-for the enjoy lessons Leer más »