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

Sin categoría

Are Gambling enterprise Court Inside the The serious hyperlink new Zealand

Articles Serious hyperlink – Greatest Casinos The best places to Gamble Large Crappy Wolf For real Money «little Pig, Nothing Pig, Allow me to In the Huge Crappy Wolf On line Position Games Big Crappy Wolf For the Cellular The full minimum wager is actually €0.twenty five and also the restrict are €250 for one […]

Are Gambling enterprise Court Inside the The serious hyperlink new Zealand Leer más »

Top no free spins casino no deposit 10 Slots For the High Rtp Inside 2024

Content No free spins casino no deposit | Do Casino Payment Payment Features Almost anything to Do With Fast Cashouts? Making A wages By Cell phone Statement Put? The initial mechanical slot machine are called the brand new ‘Liberty Bell’ and delivered no free spins casino no deposit to life from the Charles Fey within

Top no free spins casino no deposit 10 Slots For the High Rtp Inside 2024 Leer más »

Best Commission Internet casino In britain To play Gladiator Jackpot own January 2024

Articles What exactly is Rtp In the Ports and Why is it Very important? – play Gladiator Jackpot Commission Rates Concepts Kid United V Tottenham Gaming Render: Score 29 Tip six: Discover what Responsible Gambling Actions Have been in Lay After verified, the bucks might possibly be put in your bank account straight away. Your

Best Commission Internet casino In britain To play Gladiator Jackpot own January 2024 Leer más »

Try High Payout Slots and Jackpots at Kaasino Casino in UK

We built the game library at Kaasino Casino to place real return‑to‑player numbers in front of you, not vague promises https://kaasinocasino.eu/. Our team chooses slots where the published RTP sits above 96 per cent and maintains a jackpot section that mixes progressive pools with fixed prize tiers. Play from a desktop in London or a

Try High Payout Slots and Jackpots at Kaasino Casino in UK Leer más »

And therefore On the web Pokies Is the better online casino Spartacus Gladiator of Rome Rtp free spins no deposit in australia? Top Online game and Profitable Resources

A fully subscribed and you can secure online pokie platform providing its participants a selection of over cuatro,2 hundred pokies, entertaining extra software, and you can a good customer care services. It’s one of the leading web based casinos with a powerful playing collection, fast dumps, and you may many promotions. You’ll see everything you

And therefore On the web Pokies Is the better online casino Spartacus Gladiator of Rome Rtp free spins no deposit in australia? Top Online game and Profitable Resources Leer más »

Tragamonedas Gratis Asgardian Rocks De Fishing Frenzy casino Netent

Blogs Spela Asgardian Rocks Hos: | Fishing Frenzy casino Rtp Live Slot Joker Do you know the Highest Percentage Gambling games? Such signs is also result in the brand new game’s unique incentive function, Colossal Smash. As well as having the individuals symbols, totally free spins can easily be brought about. I love the game

Tragamonedas Gratis Asgardian Rocks De Fishing Frenzy casino Netent Leer más »

Tragamonedas no deposit King Billy 2023 Gratis Asgardian Stones De Netent

Content No deposit King Billy 2023 | Spela Asgardian Rocks Hos: Rtp Alive Position Joker Do you know the Higher Percentage Casino games? Such symbols can be lead to the newest game’s unique bonus element, Colossal Break. Along with having those individuals symbols, totally free spins can be simply caused. I enjoy the game quite

Tragamonedas no deposit King Billy 2023 Gratis Asgardian Stones De Netent Leer más »

Michigan Goldfish Strategy win Internet casino No-deposit and Deposit Extra Codes

Articles First-time Deposit Bonuses At the Pa Betting Sites | Goldfish Strategy win Greatest Pa Local casino Incentives Red dog Local casino: Finest No deposit Bonuses You have Won A no cost Spin Suitable Online game Choices More Slots Away from Vegas Incentive Requirements Professionals is withdraw profits thanks to ACH Bank Transfer, PayPal, Hotel

Michigan Goldfish Strategy win Internet casino No-deposit and Deposit Extra Codes Leer más »

Grand Mondial Gambling free no deposit bonus establishment Canada 150 Free Revolves To have ten

Content Withdrawal Actions and Times: free no deposit bonus What exactly are 100 percent free Revolves For 5 Cash And exactly how Could you Have them? Better 10 Put Gambling establishment Incentives Luckybay Casino: 115 Totally free Revolves No-deposit The same local casino might have a welcome extra, however the minimum pick in order to

Grand Mondial Gambling free no deposit bonus establishment Canada 150 Free Revolves To have ten Leer más »

Highway Casino 120 Totally free Revolves To the Cash Bandits 3 online casino 10 bonus Exclusive No Put Invited Offer

Content Online casino 10 bonus – Getting 120 100 percent free Spins For the Doubleu Local casino 100 percent free Revolves Actual Conclusion Of our own El Royale Gambling enterprise Opinion 100 percent free Revolves The real deal Money Australia, 120 Totally free Revolves The real deal Currency Totally free revolves are known to getting

Highway Casino 120 Totally free Revolves To the Cash Bandits 3 online casino 10 bonus Exclusive No Put Invited Offer Leer más »