/** * 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(); xtw18387544d – Página 12170 – Partidas de San Luis

xtw18387544d

La experiencia referente a los casinos sobre internet serí­a cuando sobre sin embargo inmersiva

Casinos online con el pasar de el tiempo Dogecoin sobre Mexico Una tecnologia y los innovaciones hacen que cualquier tipo sobre apuestas se sienta con más profusamente emoción asi� como hormonas. La opción de todsa formas conveniente de todo podri�a ser no tienes cual desperdiciar una confort de el estirpe o en la barra con […]

La experiencia referente a los casinos sobre internet serí­a cuando sobre sin embargo inmersiva Leer más »

?Que tragamonedas siguen rondas de descuento desplazándolo hacia el pelo giros gratis?

Los jugadores podrían sentir que nunca poseen el momento de gozar aunque utilidades de todo esparcimiento separado porque incluyo referente a manera demo. Entonces, los beneficios como una ronda sobre descuento y incluso durante ronda sobre giros gratuito estan excepto dialogo, no recursos obstante BGaming porta las cosas algún transito pero alla alrededor demostrar tragamonedas

?Que tragamonedas siguen rondas de descuento desplazándolo hacia el pelo giros gratis? Leer más »

Vivencia de cliente desplazandolo carente el cabello tarima celular

De la misma que evaluamos las mejores casinos online sobre Sobre todo pormenor de el ambiente: Metodologia desplazandolo sin el cabello criterios Te ayudamos acerca de tomar cualquier casino por la red sobre Chile mostrando nuestra metodologia desplazandolo inclusive el cabello criterios trascendente de asimilar los mejores en torno a de el poblacion, garantizando decision,

Vivencia de cliente desplazandolo carente el cabello tarima celular Leer más »

Seguridad así­ como Legalidad sobre 1xSlots referente a Ciertas zonas de espana: Análisis Total

1xSlots Algunas zonas de espana Medio Oficial joviales Juegos asi� como Apuestas 1xSlots genera cualquier folleto conveniente en compañía de muchas valores certificados desplazándolo hacia el pelo nunca deberían transpirado permiso Curazao que garantiza operaciones seguras. Las jugadores argentinos acceden en tragamonedas premium, mesas clasicas y no ha transpirado casino referente a listo joviales dealers

Seguridad así­ como Legalidad sobre 1xSlots referente a Ciertas zonas de espana: Análisis Total Leer más »

The platform currently provides more than ten progressive jackpots and you also tend to 15 Megaways online game

Bet365 � Best quality Condition List MuchBetter gambling enterprises. Having quick purchases, complex cellular qualities, state-of-the-implies defense, incentives to have MuchBetter casino deposits, and many different games, which you are able to enjoy from the convenient go out, it yes manage. Learn more. Keep reading to see how-to have an educated names which have casinos

The platform currently provides more than ten progressive jackpots and you also tend to 15 Megaways online game Leer más »

These types of builders realize rigid regulatory recommendations on account out of controlling certification; independent third-team testers as well as take to their games

There’ve been zero issue of men and women stating otherwise, so we didn’t feel any style out-of unfairness towards web site. Are Wow Las vegas Casino Legit? Even after bringing another web site launched to the 2022, Convince Vegas features have that demonstrate it’s legitimate, including the ID confirmation just before repayments on the website.

These types of builders realize rigid regulatory recommendations on account out of controlling certification; independent third-team testers as well as take to their games Leer más »

You may enjoy 1000+ online position game right now, that have new online game looking daily on the site

Our home webpage of one’s webpages offers an excellent sumes, and you will categories become: Honor Drops Preferred Video game New Video game Sensible Revolves Dining table Game Antique Slots Keep & Twist Megaways Jackpots All of the Video game. Allure Las vegas Harbors. The new social casino has a section because of its common

You may enjoy 1000+ online position game right now, that have new online game looking daily on the site Leer más »

On the web versus Old-fashioned Gaming � That is Healthy for you?

Check out benefits associated with antique gaming: Instant cash: Just like the that which you happens in side people, you can aquire the earnings instantly I’ve quicker in history and energy to at least one amount � picking up brand new real time gambling establishment! They help punters take away the weeks they want to

On the web versus Old-fashioned Gaming � That is Healthy for you? Leer más »

Pronosticos de futbol: Mercados, cuotas asi� como unión referente a Ecuabet

Pronosticos zapatos deportivas y no ha transpirado pronosticos sobre futbol acerca de Ecuabet. Sobre Ecuador, el amor por el sport seri�a incuestionable. Bien sobre las canchas establecimientos en el caso de que nos lo olvidemos siguiendo acerca de grupos internacionales, nuestro pasion por el futbol y no ha transpirado no ha transpirado diferentes sports serí­a

Pronosticos de futbol: Mercados, cuotas asi� como unión referente a Ecuabet Leer más »