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

Sin categoría

Alive Group Bingo Bingo Trend critical link Applications on the internet Play

Blogs Critical link | Restriction Cashout Willing to gamble Aloha Xmas Release for real? To experience harbors at no cost without deposit 100 percent free spins ‘s the best way to understand more about video game. Then give yourself the chance of profitable a real income in the the method? Here are the most famous […]

Alive Group Bingo Bingo Trend critical link Applications on the internet Play Leer más »

Free Welcome Billionairespin app download Bonus ️ No-deposit Necessary October 2024

Articles Exactly what are the finest online slots playing for real currency inside 2024? | Billionairespin app download Totally free Spin Playthrough and Betting Conditions Be cautious about Ports Incentives Our very own position benefits evaluate all facets of your own games and then make sure the new harbors i encourage are the most useful

Free Welcome Billionairespin app download Bonus ️ No-deposit Necessary October 2024 Leer más »

100 percent free Revolves Gambling establishment Bonuses The fresh 50+ Free Spin Web Golden Goddess Rtp slot rtp sites

Content Golden Goddess Rtp slot rtp: Extra Spins Better Online slots games the real deal Cash in Canada – Top 10 Canadian Slot Internet sites inside 2024 Scegli l’offerta migliore For those who’re also seeking to control your playing, Jackpot Area has many basic systems for your requirements. You could limitation exactly how much you

100 percent free Revolves Gambling establishment Bonuses The fresh 50+ Free Spin Web Golden Goddess Rtp slot rtp sites Leer más »

Mystic casino Sizzling Hot Chance Deluxe Trial Totally free Gamble & Slot Review

Articles Gameplay – casino Sizzling Hot VOLATILITY, Come back to Athlete And Strike Frequency Within the Online slots Mystic Dragon Trial – Enjoy Video game to own Freeby Merkur Gaming Mystical Chance Deluxe – standard discussion Meanwhile, when the players trigger the newest function with Wild symbols, the payouts are increased because of the 5x.

Mystic casino Sizzling Hot Chance Deluxe Trial Totally free Gamble & Slot Review Leer más »

Better casino Mbit mobile Position SitesNew Jersey2024 Finest Websites forNJSlots On line

Articles Casino Mbit mobile | Totally free Spins Luck (Bally) – 96.00% RTP 22bet Casino – Biggest Slots Alternatives Fugaso is acknowledged for doing a number of classic Vegas-style harbors you to definitely replicate the look and you may be of one’s actual package. casino Mbit mobile Don’t think twice to reach to have service for

Better casino Mbit mobile Position SitesNew Jersey2024 Finest Websites forNJSlots On line Leer más »

Best Football Betting Websites & Applications United states of america Wager on NFL On the play online Galera Bet Aviator web 2024

Articles Advantages and disadvantages of Property-Based Slot machines: play online Galera Bet Aviator Good for Crypto Deposits Gambling establishment Tall Saying Your own Greeting Bonus Is actually Online slots Courtroom in the us? The blend out of diverse bet models and you will a wide spectral range of sports solidifies Colorado’s gambling on line platforms

Best Football Betting Websites & Applications United states of america Wager on NFL On the play online Galera Bet Aviator web 2024 Leer más »

Finest Slot Sites within the Mr Mobi 50 free spins no deposit Canada A perfect Listing to possess 2024

You could gamble one another type of online game without having to install her or him. Once finding out which free slot machines you like to experience, you can then pick the ports you love far better gamble for real money. You’ll never ever become to experience free online local casino slots your don’t take

Finest Slot Sites within the Mr Mobi 50 free spins no deposit Canada A perfect Listing to possess 2024 Leer más »

Gamble Wolf Silver Slot because casino Galaxypig mobile of the Practical Enjoy

Content Casino Galaxypig mobile: Examine Other types of Totally free Revolves Offers Availability your totally free revolves extra No deposit Free Spins – The Pro Evaluation and you will Confirmation Process Only instantaneous extra? Having an enthusiastic RTP from  92.50%, the probability of winning maximum is actually down. Whether or not Wolf Work at are

Gamble Wolf Silver Slot because casino Galaxypig mobile of the Practical Enjoy Leer más »

Master Heart Of Vegas pokie game Spins Gambling enterprise Comment Score Extra as much as C$1200 + 260 Free Spins

Blogs ✨ Better 50 Totally free Twist Incentives from the The new Zealand Casinos – Current October 2024 | Heart Of Vegas pokie game Online casinos Offering fifty Free Twist Deposit Extra How to calculate totally free spins wagering conditions? Pros and cons from fifty 100 percent free Revolves No-deposit Incentives: Who’ll Such as the

Master Heart Of Vegas pokie game Spins Gambling enterprise Comment Score Extra as much as C$1200 + 260 Free Spins Leer más »