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

Sin categoría

Best A real income Web based casinos luna park $1 deposit 2024 Best Payout Web based casinos

Content On line Roulette the real deal Currency: luna park $1 deposit Are there any novel threats for the crypto betting? Best Us Casinos on the internet Assessed High betting conditions can also be decrease profits, even though you prefer a simple withdrawal commission approach. On the view, exactly what is always to professionals find […]

Best A real income Web based casinos luna park $1 deposit 2024 Best Payout Web based casinos Leer más »

Climbing! Wikipedia, nieograniczona Najlepsze kasyno online encyklopedia

Content Najlepsze kasyno online: Najlepsze współczesne automaty typu "jednoręki bandzior" Bonusy pod sporty rzekome: najszybsze kody atrakcyjne Obowiązują Warunki🎁 Ekskluzywny bonus wyjąwszy depozytu 1xSlots (2026) Celowo w celu czytelników rodzimego serwisie 1xSlots Przygotowałem wyjątkowy podarek — możliwość rozpoczęcia gry wyjąwszy inwestowania rzeczywistych pieniędzy. Po większości przypadkópo kod promocyjny wpisuje się w trakcie rejestrowania się konta

Climbing! Wikipedia, nieograniczona Najlepsze kasyno online encyklopedia Leer más »

Limited Set Gambling enterprises to the play double exposure blackjack pro series high limit for real money online mr wager 10 euro bonus sites Up-to-date November 2024

Articles Play double exposure blackjack pro series high limit for real money online | Exactly how we Ensure that you Comment step one€ Put Gambling enterprise Websites Mr Choice ten Euro Added bonus Athlete never gamble a casino game. It bonus makes you discuss the working platform to your earliest date, that has to try

Limited Set Gambling enterprises to the play double exposure blackjack pro series high limit for real money online mr wager 10 euro bonus sites Up-to-date November 2024 Leer más »

Pay because of casino oxo the Cell phone Gambling establishment Websites: United kingdom Gambling enterprises having PayviaPhone Dumps

Articles Casino oxo: Is spend from the cellular casinos secure? Conclusion – Should i Gamble In the A wages From the Cellular phone Casino? Slot Lux The fresh 31 daily limit was a small lowest but it’s perfect for funds professionals. If you find Boku percentage from the an internet gambling enterprise and you’lso are

Pay because of casino oxo the Cell phone Gambling establishment Websites: United kingdom Gambling enterprises having PayviaPhone Dumps Leer más »

Best dj wild slot Cellular Local casino Incentives 2024 Zero-Deposit Software Requirements

Content Dj wild slot – Final Tips for a superior Cellular Playing Experience As to the reasons It is possible to Like Starburst Totally free Spins No deposit Bonuses After that, you may also gamble slots free of charge if you want to find out the laws and regulations before having fun with free spins

Best dj wild slot Cellular Local casino Incentives 2024 Zero-Deposit Software Requirements Leer más »

Totally free Ports Gamble Free online Slot Online game in the Las book of rebirth online slot vegas Expert

Blogs How to ensure my personal purchases is actually secure in the casinos on the internet?: book of rebirth online slot A knowledgeable Totally free Gambling games One to Shell out Real cash An informed free ports gambling enterprises No deposit incentives, for example, and 100 percent free revolves allows you to home real wins instead of

Totally free Ports Gamble Free online Slot Online game in the Las book of rebirth online slot vegas Expert Leer más »

Better iphone 3gs Casino Websites Real money Online game and Software for fenix play free spins 150 2024

Blogs Fenix play free spins 150 – Betting Library What exactly are my cellular live agent online game possibilities? Regardless, you’ll be playing online casino games to your a new iphone 4 within a few minutes. In terms of casino games, Black-jack is approximately as easy as it becomes. We like black-jack because it’s an

Better iphone 3gs Casino Websites Real money Online game and Software for fenix play free spins 150 2024 Leer más »

22 Better Online casinos I Rank mrbet deposit bonus A real income Ports and Playing Sites

Articles Mrbet deposit bonus: #10 BC.Game Should i enjoy 100 percent free games inside Nj-new jersey? Finest Casinos on the internet Australian continent: Finest Aussie Playing Sites Certification – We come across a legit legislation you to manages the new mrbet deposit bonus procedure. Licensing claims a gambling establishment works inside the laws and are

22 Better Online casinos I Rank mrbet deposit bonus A real income Ports and Playing Sites Leer más »

No-deposit Bonus Casino 50 free spins crazy genie Southern Africa Incentive Codes 2024

All of the progressive casinos on the internet come during your mobile web browser thanks in order to HTML5 tech. 50 free spins crazy genie Although not, some local casino workers perform offer an unique gambling establishment software to own consumers who need you to loyal experience.

No-deposit Bonus Casino 50 free spins crazy genie Southern Africa Incentive Codes 2024 Leer más »

Better Gambling enterprise Programs dark thirst slot free spins Uk Cellular No-deposit Incentives

Articles Dark thirst slot free spins: 3 Minimum Deposit Enjoy ten Score 31 Zero-Bet 100 percent free Spins Added bonus revolves to the chose game merely- can be used in this 72 occasions. Extra fund are one hundredpercent complement in order to 500, 50 added bonus revolves for the first put, 25percent match in order

Better Gambling enterprise Programs dark thirst slot free spins Uk Cellular No-deposit Incentives Leer más »