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

Sin categoría

The fresh new local casino possess multiple updates online game, vintage desk game, and you may live dealer degree

Midaur Local casino Feedback: Know Betting Diversity, Incentives, and you will Help Today. Speak about all of our in the- https://kansinocasino-nl.com/ depth overview of Midaur Gambling establishment, in which exciting to play enjoy predict! Having larger bonuses and simple commission methods, Midaur Gambling establishment provides each other experienced people and you can beginners a similar. […]

The fresh new local casino possess multiple updates online game, vintage desk game, and you may live dealer degree Leer más »

Brand new gambling establishment has actually numerous reputation video game, vintage table game, and you can alive dealer training

Midaur Local casino Review: Learn Gaming Range, Bonuses, and you may Support Today. Discuss all of our from inside the-depth summary of Midaur Gambling establishment, in which exciting playing knowledge predict! With larger bonuses and easy payment measures, Midaur Gambling establishment brings both knowledgeable participants and you will newbies an equivalent. Learn more about the

Brand new gambling establishment has actually numerous reputation video game, vintage table game, and you can alive dealer training Leer más »

Blueprint ranura raging rhino ᐈ 460+ tragamonedas, 10+ casinos bonos

Levante análisis desarrolla juegos con jugabilidad praxis y no ha transpirado sencilla para que nuestro usuario se ángulos a juguetear desplazándolo hacia el pelo divertirse. Además, los jugadores podrían configurar ángulos igual que los giros automáticos, suprimir una melodías, ajustar una puesta, entre demás. Blueprint Gaming hemos transformado sobre un superior de el fábrica de

Blueprint ranura raging rhino ᐈ 460+ tragamonedas, 10+ casinos bonos Leer más »

Choosing the best Gambling enterprises to have German People

Drawbacks. Zero cellular app. Come across in reality hundreds of Germany online casinos available to pages, not every one of which can have experienced the new regulator’s 7 sultans casino login Canada permit yet ,. This might end in some a daunting experience having participants who aren’t a little certain that your website they usually

Choosing the best Gambling enterprises to have German People Leer más »

How to decide on an informed Gambling enterprises for German Professionals

Cons. No cellular app. Select in reality a huge selection of Germany online casinos offered to pages, not every one of that may have experienced the latest regulator’s licence yet. This may bring about a touch of a daunting sense that have professionals who are not a bit certain that your website they often enjoys

How to decide on an informed Gambling enterprises for German Professionals Leer más »

The way to select an educated Gambling enterprises getting German Professionals

Downsides. No cellular app. See in fact hundreds of Germany casinos on the internet available to profiles, not every one of https://ivi-casino-uk.com/ that can have observed the newest regulator’s license yet ,. This could result in a bit of a daunting feel which have people who aren’t quite certain that your website they usually have

The way to select an educated Gambling enterprises getting German Professionals Leer más »

Choosing the best Gambling enterprises to have German Professionals

Cons. Zero cellular software. Get a hold of actually countless Germany casinos on the internet open to profiles, not every one of that will have experienced the brand new regulator’s licence but really. This could cause some a challenging experience having users who aren’t a bit certain that your website they usually keeps involved try

Choosing the best Gambling enterprises to have German Professionals Leer más »

Tournament honor pools and progressive-jackpot titles become, and crypto deposit incentives are available for Bitcoin pages

Sign-up and initiate gambling today! Finalizing into the regarding Reels of Delight Gambling establishment try designed to feel brief and that means you spend more big date with the reels much less time filling models. Use your email and you will code to locate directly into your bank account, pick given promos, and pick off

Tournament honor pools and progressive-jackpot titles become, and crypto deposit incentives are available for Bitcoin pages Leer más »

Contest honor swimming pools and you will modern-jackpot titles feel, and crypto put bonuses are around for Bitcoin pages

Sign-up and start playing now! Signing from inside the on Reels out-of Pleasure Gambling enterprise is actually created to getting small which means you save money go Jokery out with the reels and less go out filling up designs. Make use of email and you can password to acquire into your bank account, look for

Contest honor swimming pools and you will modern-jackpot titles feel, and crypto put bonuses are around for Bitcoin pages Leer más »