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

Sin categoría

Eye from Horus Demonstration because of the Merkur Video game Comment & Free Slot

Content Publication From Deceased How Is the Mobile Sense? Forecast Issues and you will Gameplay Progression The importance of Ages Confirmation in the Australian iGaming What you are able Assume for the Launch Date in the Canada They runs directly in mobile browsers as opposed to downloading, guaranteeing prompt weight minutes and limited slowdown, so […]

Eye from Horus Demonstration because of the Merkur Video game Comment & Free Slot Leer más »

Monopoly Local casino & Sports: Play A real income Ports, Wager & Far more

The new no-betting render is real, the brand new being qualified requirements are simple, plus the UKGC licence will give you right user protection. If you need the brand new cleanest bonus terminology in this post, it’s your discover. Deposit £5, wager it once on the people slot within 24 hours, therefore get 50 totally

Monopoly Local casino & Sports: Play A real income Ports, Wager & Far more Leer más »

Perché il Dosaggio è la Chiave del Successo con gli Steroidi

Negli sport moderni e nel bodybuilding, l’uso di steroidi anabolizzanti è diventato un argomento di grande discussione. Sebbene l’uso di queste sostanze possa portare a risultati significativi in termini di aumento della massa muscolare e delle prestazioni, la chiave per un utilizzo efficace e sicuro risiede nel dosaggio. Comprendere l’importanza del dosaggio è fondamentale per

Perché il Dosaggio è la Chiave del Successo con gli Steroidi Leer más »

Instagram Reels: mustang money slot machine Create & Display Quick Movies In the Instagram

Posts State more having music and you can music Show yourself which have brief, enjoyable video clips Invested in Reel Transform Reel Bamboo Toilet paper (12-ct) Manage, watch, and show small, funny movies Just the right cooperation between setting and you can mode, PENN fishing reels send unmatched results and you may unwavering top quality

Instagram Reels: mustang money slot machine Create & Display Quick Movies In the Instagram Leer más »

Pride Local casino 100 percent free spins, no deposit added bonus, advertising requirements

Posts KYC & Winnings — Simple tips to Withdraw Quicker Position tournaments Next Learning More info Different types of Free Revolves Added bonus Always including bonuses are intended for new profiles. That’s as to the reasons an informed discounts can be acquired around. Whether or not no-put incentives don’t need you to money your account,

Pride Local casino 100 percent free spins, no deposit added bonus, advertising requirements Leer más »

Gamble Dragon Shrine by the Quickspin cost-free on the Regional incentive position demolition team gambling enterprise Pearls Gümüş Kolye Gümüş Yüzük Gümüş Bileklik

Articles Position games no Earnings Respins If you like Dragon Shrine, you’ll love… Totally free Dragon Shrine slots Unleash the power of the fresh Dragon Shrine Position Video game My personal Credit Checklist Yet they’s started about me personally, within the white of your own tens from the millions we’ve obtained thus far, just how

Gamble Dragon Shrine by the Quickspin cost-free on the Regional incentive position demolition team gambling enterprise Pearls Gümüş Kolye Gümüş Yüzük Gümüş Bileklik Leer más »

Drahé diamanty Da Vinci Výherní automat, Davinci Diamonds Výběr bonusu Unlimluck porty pro skutečné peníze

Blogs Banking Choices my personal review Ideas on how to Play Da Vinci Expensive diamonds Slot Financial Alternatives and you will Punctual Payouts When you play pokie demos, having a good time is almost always the first consideration – however,, it’s also essential to take on individuals regions of the online game’s framework and you

Drahé diamanty Da Vinci Výherní automat, Davinci Diamonds Výběr bonusu Unlimluck porty pro skutečné peníze Leer más »