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

Sin categoría

DrückGlück de vegas single deck blackjack online casino Analysis Read Support service Recommendations from www.drueckglueck.com

Articles Vegas single deck blackjack online casino – DrueckGlueck Casino games – What you Desire for Virtual Game Issues in the relevant PlayOJO Gambling enterprise So it subsequent solidifies the new declare that on this site, you may enjoy a safe and safe playing feel when you are seeking to away probably the most fun […]

DrückGlück de vegas single deck blackjack online casino Analysis Read Support service Recommendations from www.drueckglueck.com Leer más »

DrückGlück casino next casino de Ratings Read Customer service Analysis out of www.drueckglueck.com

Blogs Casino next casino | DrueckGlueck Gambling games – Everything Wish to have Digital Game Issues in the relevant PlayOJO Local casino It subsequent solidifies the brand new say that on this web site, you may enjoy a safe and safe gambling sense while you are trying to out probably the most exciting position video

DrückGlück casino next casino de Ratings Read Customer service Analysis out of www.drueckglueck.com Leer más »

Mega Moolah Gambling establishment Slot History of the casino the wild chase online game

Content Finest Mega Moolah Casinos | casino the wild chase Extra game The new lion symbol try a crazy and can substitute for almost every other icons to form a good payline. This means any payouts the newest lion belongs to would be twofold, so that you’ll should keep an eye out it. Like the

Mega Moolah Gambling establishment Slot History of the casino the wild chase online game Leer más »

Whenever veteran bettors search online for brand new harbors to experience, there are certain standards that they watch out for

Finest Slots to relax and play inside 2026 Contained in this You playing book, we’re going to glance at most readily useful slots to tackle toward 2026. We will be highlighting the conditions that make these types of a knowledgeable slots servers to play. Along these lines, you’ll never simply leave towards experience with good

Whenever veteran bettors search online for brand new harbors to experience, there are certain standards that they watch out for Leer más »

Opting for a position games that fits their gaming means is gonna be problematic

Super Moolah Immortal Love 9 Bins out-off Silver Finding the best Slot Games to you personally Regardless if you are to tackle at the Microgaming so you’re able to Quickspin slot web sites, all of us has established a listing to help you like which ones is way better to you personally. ?Enjoy towards the

Opting for a position games that fits their gaming means is gonna be problematic Leer más »

Choosing a position online game that meets your gambling requires try gonna be tricky

Mega Moolah Immortal Love 9 Pots away-off Silver Finding the right Slot Online game for your requirements Whether you are to relax and play within Microgaming so you’re able to Quickspin position websites, all of us has established an email list to help you like which of them is better for you. ?Play to your

Choosing a position online game that meets your gambling requires try gonna be tricky Leer más »

Read on to learn more and you can talk about productive updates methods dependent to the higher volatility appreciate

Maybe you have stumbled upon a fraud website to provide a button slot way of give you loads of currency? Don’t invited things that way in this article. Ports cannot be outdone sooner. However, there are methods regarding to relax and play ports you should have fun with while making sure new casino’s enough time-name

Read on to learn more and you can talk about productive updates methods dependent to the higher volatility appreciate Leer más »

Depending on the old-designed mode might see in land-situated casinos, important position online game give a straightforward gameplay

Sometimes they has around three reels, in just you to definitely around three effective paylines. Icons generally is actually sevens, taverns, if you don’t fresh fruit. All of us recommends Super Joker (NetEnt) and Amber Diamond (Red-colored Tiger), two of the most useful on line status games managed to make throughout the Uk followers out

Depending on the old-designed mode might see in land-situated casinos, important position online game give a straightforward gameplay Leer más »

FreeSpins & slot shaolin spin 3 Far more @ Your brand-new Favorite Online gambling Webpages

Content The new Top-notch and you can Novice Sports Shelter Operate away from 1992 (PASPA): slot shaolin spin 3 Gamble Slots In the Insane Local casino Couple gambling enterprises have to offer these now offers, but the majority is actually lowest-quality casinos having undetectable terms for those incentive brands. Do your research and pick position

FreeSpins & slot shaolin spin 3 Far more @ Your brand-new Favorite Online gambling Webpages Leer más »