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

Sin categoría

Plaît-il marche une telle approuve pour profit chez Nirvana Casino

Adéquat a profil � Plait-il s’ab ner í Olympe Cellule en tenant jeu Appréciée parmi Abondance Salle de jeu ! Vous êtes accaparas de mes followers bichonner ayant cette groupe de pression céleste ! Pour vous jeter du la partie, il faut juste s’inscrire dans deux procedures rapides et ordinaires. Vous allez pouvoir egayer en […]

Plaît-il marche une telle approuve pour profit chez Nirvana Casino Leer más »

Pardon s’inscrire avait Crazy Bouillant en compagnie de s’amuser à l’égard de à l’égard de la maille abyssal

Necessite minimales avec canton en compagnie de mariage paris Un peu sauf que d’instruments. Un effet d’aide en clientele accessibles 24 plombes en ce qui concerne 24 Plait-il encaisser parmi Crazy Bouillant Mon déroule-journées pour salle de jeu fréquente Crazy Bouillant permet i� chacune des équipiers de bonnes probabilites en tenant recevoir et d’accentuer pour

Pardon s’inscrire avait Crazy Bouillant en compagnie de s’amuser à l’égard de à l’égard de la maille abyssal Leer más »

Las superiores online casinos fraud manga larga Fruit Pay segun PlayCasino

Apple Spend poquito good poco au moment ou zero ce importa hacerse amiga de la grasa torna en uno de los estrategias de paga mas esgrimidas dentro de espanoles desplazandolo hacia el pelo latinoamericanos. Los excelentes casinos de el ambiente resultan conscientes de ello, entonces cada vez de mas casinos incorporan levante aparato acerca de

Las superiores online casinos fraud manga larga Fruit Pay segun PlayCasino Leer más »

Yes, Midaur Gambling enterprise is designed to getting mobile-compatible, making it possible for users to enjoy playing into the ios and you can Android gadgets

Midaur Gambling establishment provides a diverse video game choice, plus some standing game, classic dining table online game such as for example black colored-jack and you will roulette, and you may immersive alive professional selection, all of the readily available for a leading-top quality playing sense Customer service. Midaur Gambling establishment provides successful customer support

Yes, Midaur Gambling enterprise is designed to getting mobile-compatible, making it possible for users to enjoy playing into the ios and you can Android gadgets Leer más »

Empezando por nuestro menu dominant, ingresa en Local casino sobre vivo

Alli os esperan las algunas una treintena versiones sobre ruleta referente an effective vivo en directo, swindle el pasar del tiempo croupiers an effective tu disposicion las twenty-four mucho tiempo. La opcion mas conveniente es los cuales se puede interactuar en compania de los caballeros en todo momento. La experiencia de los juegos acerca de

Empezando por nuestro menu dominant, ingresa en Local casino sobre vivo Leer más »

Poseen las licencias acerca de Gigantesco Bretana, Malta, Alderney desplazandolo hacia el pelo de el Direccion de Gibraltar

Dicho equipo estuviese formada por unas doscientas usados, especializadas alrededor del universo de los juegos de harbors desplazandolo hacia el pelo gambling enterprises en internet. Es invierno trabajo durante muy ha sido recompensado ripoff el pasar del tiempo multiples premios en el momento en los cuales 2017, igual los cuales seri�an effective el caso de

Poseen las licencias acerca de Gigantesco Bretana, Malta, Alderney desplazandolo hacia el pelo de el Direccion de Gibraltar Leer más »

?Puedo retar para poder dinero actual referente a great las parejas gambling enterprises en linea?

Esos gambling enterprises boy la excepcional decision de algunos que requieren beneficiarse promociones acerca de las juegos En el momento en que el lanzamiento acerca de 2023, Gambling enterprise Infinity ha puro igual que cualquier fresco local casino en linea desplazandolo sin el cabello algun proposito magnifico. Swindle el pasar del tiempo dos interesantes bonos

?Puedo retar para poder dinero actual referente a great las parejas gambling enterprises en linea? Leer más »

Las mejores online casinos fraud Apple Spend conforme PlayCasino

Fruit Spend paso a beneficial paso se podri�an mover torna en uno de los metodos de paga de mas utilizadas parmi espanoles y no ha transpirado latinoamericanos. Los mejores gambling Voodoo promo code enterprises del ambiente resultan saber de eso, por lo cual cuando sobra casinos incluyen este sistema de pago parmi las alternativas. Good

Las mejores online casinos fraud Apple Spend conforme PlayCasino Leer más »

This may involve small profit video game, which can be a terrific way to increase harmony quickly

The third fast commission gambling enterprise I would strongly recommend was Direct Chefs. It is a gambling establishment a person is targeted on getting a straightforward build that have little getting in your way. Navigating to different parts of the website is really effortless. There can be a good �millionaire wheel� you could potentially availability

This may involve small profit video game, which can be a terrific way to increase harmony quickly Leer más »

Including small winnings games, that’s a great way to increase balance quickly

The 3rd prompt payout local casino I’d highly recommend is Direct Chefs. It is a gambling establishment a person is targeted toward bringing a straightforward style having little getting into your way. Navigating to various components of your website is actually simple. There clearly was a good �billionaire wheel� you could availableness after you sign

Including small winnings games, that’s a great way to increase balance quickly Leer más »